Counties in Maryland by population density

Baltimore city had the highest population density of 24 counties in 2021, at 2,749.8 inhabitants per km². Garrett County had the lowest, at 17.1 inhabitants per km². The median was 126.8 inhabitants per km² and the figure for Maryland was 245.6 inhabitants per km². Source: the U.S. Census Bureau.

Highest2,749.8Baltimore city
Lowest17.1Garrett County
Median126.824 counties
Maryland245.6History

All counties, 2021

CSVChart (SVG)

Baltimore cityBaltimore city: 2,749.8 inhabitants per km²2,749.8Montgomery CountyMontgomery County: 826.7 inhabitants per km²826.7Prince George's CountyPrince George's County: 765.3 inhabitants per km²765.3Anne Arundel CountyAnne Arundel County: 554.6 inhabitants per km²554.6Baltimore CountyBaltimore County: 548.5 inhabitants per km²548.5Howard CountyHoward County: 515.8 inhabitants per km²515.8Harford CountyHarford County: 232.5 inhabitants per km²232.5Calvert CountyCalvert County: 170.7 inhabitants per km²170.7Frederick CountyFrederick County: 163.9 inhabitants per km²163.9Carroll CountyCarroll County: 150.3 inhabitants per km²150.3Charles CountyCharles County: 142.4 inhabitants per km²142.4Washington CountyWashington County: 130.2 inhabitants per km²130.2St. Mary's CountySt. Mary's County: 123.4 inhabitants per km²123.4Cecil CountyCecil County: 116.1 inhabitants per km²116.1Wicomico CountyWicomico County: 107.3 inhabitants per km²107.3Allegany CountyAllegany County: 61.8 inhabitants per km²61.8Talbot CountyTalbot County: 54.2 inhabitants per km²54.2Queen Anne's CountyQueen Anne's County: 52.9 inhabitants per km²52.9Worcester CountyWorcester County: 44 inhabitants per km²44Caroline CountyCaroline County: 40.4 inhabitants per km²40.4Somerset CountySomerset County: 29.1 inhabitants per km²29.1Kent CountyKent County: 26.8 inhabitants per km²26.8Dorchester CountyDorchester County: 23.3 inhabitants per km²23.3Garrett CountyGarrett County: 17.1 inhabitants per km²17.1
inhabitants per km². Source: Invokely calculation with data from U.S. Census Bureau. Retrieved 2026-10-09.

Full ranking

RankCounties2021
inhabitants per km²
Change on 2020
1Baltimore city2,749.8-1.2%
2Montgomery County826.7-0.5%
3Prince George's County765.3-0.9%
4Anne Arundel County554.6+0.4%
5Baltimore County548.5-0.4%
6Howard County515.8+0.7%
7Harford County232.5+0.8%
8Calvert County170.7+1.5%
9Frederick County163.9+2.8%
10Carroll County150.3+0.7%
11Charles County142.4+1.3%
12Washington County130.2-0.2%
13St. Mary's County123.4+0.5%
14Cecil County116.1+0.3%
15Wicomico County107.3+0.5%
16Allegany County61.8-0.6%
17Talbot County54.2+0.6%
18Queen Anne's County52.9+1.8%
19Worcester County44+1.6%
20Caroline County40.4+0.5%
21Somerset County29.1-1.9%
22Kent County26.8+0.5%
23Dorchester County23.3+0.2%
24Garrett County17.1-0.2%

Other periods

About this ranking

Resident population divided by land area in km². World Bank figures use mid-year population and land area excluding inland water.

United States: Census Bureau population estimates for 1 July divided by land area (water excluded) from the latest Census Gazetteer files. US tables often give people per square mile; multiply persons per km² by 2.59 to compare.

Every value in the ranking comes from the same publisher and the same period, so the counties are compared on one definition. Equal values share a rank.

How to cite

U.S. Census Bureau. Population Estimates Program resident population on 1 July divided by land area from the latest Census Gazetteer files, persons per km². https://www2.census.gov/programs-surveys/popest/datasets/2020-2025/. Retrieved 2026-10-09.

Use this data in your AI agent

Invokely serves this figure to AI assistants through MCP and to code through a REST API, with the source and citation attached. Ask your assistant:

Rank Counties in Maryland by population density using official data, and cite the source.
rank_places {"indicator":"population_density","level":"province","within":"Maryland","limit":10}
GET https://invokely.ai/api/v1/rank?indicator=population_density&level=province&within=Maryland&limit=10

Connect Claude, ChatGPT or Cursor in one step. The trial answers 25 calls a day without an account.

Questions

Which county has the highest population density?

Baltimore city, with 2,749.8 inhabitants per km² in 2021, according to the U.S. Census Bureau.

Which county has the lowest population density?

Garrett County, with 17.1 inhabitants per km² in 2021.

Where does this ranking come from?

Every value comes from one source and one period, so the places are comparable: U.S. Census Bureau, Population Estimates Program resident population on 1 July divided by land area from the latest Census Gazetteer files, persons per km². Retrieved 2026-10-09.

Population density: other rankings

Counties in Maryland: more rankings