Population density is calculated as the number of people per unit area. The relative population densities of states can vary significantly based on factors like urbanization, agricultural potential, topography, and historical development.