Bacolor is a landlocked municipality in the coastal province of Pampanga.
The municipality has a land area of 71.70 square kilometers or 27.68 square miles which constitutes 3.58% of Pampanga's total area. Its population as determined by the 2020 Census was 48,066. This represented 1.97% of the total population of Pampanga province, or 0.39% of the overall population of the Central Luzon region. Based on these figures, the population density is computed at 670 inhabitants per square kilometer or 1,736 inhabitants per square mile.