Guide · updated 2026-09-30

How population density is calculated

Short answer

Population density is residents divided by land area. With 340,110,988 residents on 3,533,469 square miles of land, the 50 states and DC average 96.3 people per square mile. The median county has only 45.0, because most land is thinly settled.

The formula, worked on Cook County

Take the Census Vintage 2024 population estimate and divide by the 2024 Gazetteer land area. Water is left out, so a county on a big lake is not made to look emptier than it is.

Cook County, IL residents  = 5,182,617
Cook County, IL land       = 944.92 sq mi
density = 5,182,617 ÷ 944.92 = 5,484.7 per sq mi
per sq km = 5,484.7 ÷ 2.589988 = 2,117.7

One square mile is 2.589988 square kilometers, the square of 1.609344 km per mile, so divide a per square mile figure by that to get people per square kilometer.

Why the national figure misleads

The national density of 96.3 describes almost no one. Counties with fewer than 100 people per square mile cover 83.6% of US land but hold only 16.3% of residents. Most people live in the dense counties that cover a sliver of the map.

One way to capture that is population-weighted density: the density of the county the average resident lives in. Weighting each county's density by its population gives 2,173 people per square mile, about 23 times the simple national figure. Counties are coarse units, so a tract-level version would be higher still.

Counties by density band

People per sq miCountiesShare of landShare of people
Under 17017.9%0.1%
1 to 1050728.2%1.2%
10 to 501,09627.0%7.2%
50 to 10056010.5%7.8%
100 to 50062912.2%27.5%
500 to 1,0001222.3%16.1%
1,000 to 5,0001421.8%34.0%
5,000 and up180.1%6.1%
Vintage 2024 population over 2024 Gazetteer land area, all county-equivalents.

The densest and sparsest counties

New York County, NY is the densest county-equivalent at 73,286 people per square mile. Yukon-Koyukuk, AK is the sparsest at 0.03. The full order is in the rankings of the most densely populated counties and the least densely populated counties.

Common density mistakes

  • Using total area instead of land area. Coastal and lake counties then look emptier than they are.
  • Averaging county densities to get a state density. Divide the state's total residents by its total land instead; an average of ratios weights a tiny county the same as a huge one.
  • Comparing a city's density with a county's. City limits and county lines enclose very different amounts of empty land.

State density vs the typical county

A state's density and its typical county's density can tell very different stories. In Nevada, the state as a whole has 29.7 people per square mile, but its median county has only 3.1, because most residents live in a few dense counties. That is the largest ratio between the two among states with more than one county.

Both numbers are correct. The state figure answers how crowded the state is overall. The median county answers what most of the state's map looks like. Use the one that matches the question, and say which one you used.

Converting to people per square kilometer

Most countries report density per square kilometer. Divide a per square mile figure by 2.589988. The US figure of 96.3 per square mile becomes 37.2 per square kilometer, and the median county's 45.0 becomes 17.4. Going the other way, multiply by 2.589988.

Density for your own area

Every county page shows its density with a national rank, and every state page lists its counties by density. For an area that does not follow county lines, the population within a radius tool counts residents of places inside a circle, and dividing by the circle's area gives a density for that circle.

Try it

Compare two counties

Population, land area, density, income, and national ranks for any two US counties, side by side.

MeasureSan Bernardino County, CA06071Maricopa County, AZ04013Ratio
Population2,214,281#15 of 3,1444,673,096#4 of 3,1440.47×
Land area20,068 sq mi#10 of 3,1449,202 sq mi#28 of 3,1442.18×
Density110.3 / sq mi#850 of 3,144507.8 / sq mi#278 of 3,1440.22×
Median household income$84,576#339 of 3,143$86,973#287 of 3,1430.97×

San Bernardino County, CA: national rank

Population

2,214,281

3144th1st

15th of 3,144 (US)

Land area

20,068 sq mi

3144th1st

10th of 3,144 (US)

Density

110.3 / sq mi

3144th1st

850th of 3,144 (US)

Median household income

$84,576

3143rd1st

339th of 3,143 (US)

Maricopa County, AZ: national rank

Population

4,673,096

3144th1st

4th of 3,144 (US)

Land area

9,202 sq mi

3144th1st

28th of 3,144 (US)

Density

507.8 / sq mi

3144th1st

278th of 3,144 (US)

Median household income

$86,973

3143rd1st

287th of 3,143 (US)

235 mi between internal pointsSan Bernardino County, CAMaricopa County, AZgraticule 1° · azimuthal equidistant

Questions people ask

What is the least densely populated county?

Yukon-Koyukuk, AK, at 0.03 people per square mile.

How do I convert people per square mile to per square kilometer?

Divide by 2.589988, the number of square kilometers in a square mile. For example, 100 people per square mile is about 38.6 people per square kilometer.

What is population-weighted density?

The density of the area the average resident lives in, found by weighting each county's density by its population. For US counties it is 2,173 people per square mile.

How do you calculate population density?

Divide the number of residents by the land area. Use square miles or square kilometers and say which.

What is the population density of the US?

96.3 people per square mile of land for the 50 states and DC, from Vintage 2024 estimates and 2024 Gazetteer land area.

What is the most densely populated county?

New York County, NY, at 73,286 people per square mile.

Sources and data as of

Data as of: Census Vintage 2024 population estimates, 2024 Gazetteer land area and internal points, SAIPE 2023 median household income.

  1. 01Census Vintage 2024 county population estimates
  2. 02Census 2024 Gazetteer, counties

How every number is computed: methodology. Spotted a wrong figure? Report an error.