Counties in Maryland by population density

Baltimore city had the highest population density of 24 counties in 2022, at 2,721.1 inhabitants per km². Garrett County had the lowest, at 17 inhabitants per km². The median was 127 inhabitants per km² and the figure for Maryland was 245.8 inhabitants per km². Source: the U.S. Census Bureau.

Highest2,721.1Baltimore city
Median12724 counties
Maryland245.8History

All counties, 2022

CSVChart (SVG)

Baltimore cityBaltimore city: 2,721.1 inhabitants per km²2,721.1Montgomery CountyMontgomery County: 828.8 inhabitants per km²828.8Prince George's CountyPrince George's County: 761.9 inhabitants per km²761.9Anne Arundel CountyAnne Arundel County: 556.7 inhabitants per km²556.7Baltimore CountyBaltimore County: 547 inhabitants per km²547Howard CountyHoward County: 516.8 inhabitants per km²516.8Harford CountyHarford County: 233 inhabitants per km²233Calvert CountyCalvert County: 171.4 inhabitants per km²171.4Frederick CountyFrederick County: 168.3 inhabitants per km²168.3Carroll CountyCarroll County: 151.4 inhabitants per km²151.4Charles CountyCharles County: 143.6 inhabitants per km²143.6Washington CountyWashington County: 130.3 inhabitants per km²130.3St. Mary's CountySt. Mary's County: 123.7 inhabitants per km²123.7Cecil CountyCecil County: 117 inhabitants per km²117Wicomico CountyWicomico County: 108.4 inhabitants per km²108.4Allegany CountyAllegany County: 61.3 inhabitants per km²61.3Talbot CountyTalbot County: 54.5 inhabitants per km²54.5Queen Anne's CountyQueen Anne's County: 53.8 inhabitants per km²53.8Worcester CountyWorcester County: 44.5 inhabitants per km²44.5Caroline CountyCaroline County: 40.5 inhabitants per km²40.5Somerset CountySomerset County: 29.1 inhabitants per km²29.1Kent CountyKent County: 27 inhabitants per km²27Dorchester CountyDorchester County: 23.3 inhabitants per km²23.3Garrett CountyGarrett County: 17 inhabitants per km²17
inhabitants per km². Source: Invokely calculation with data from U.S. Census Bureau. Retrieved 2026-10-09.

Full ranking

RankCounties2022
inhabitants per km²
Change on 2021
1Baltimore city2,721.1-1%
2Montgomery County828.8+0.3%
3Prince George's County761.9-0.5%
4Anne Arundel County556.7+0.4%
5Baltimore County547-0.3%
6Howard County516.8+0.2%
7Harford County233+0.2%
8Calvert County171.4+0.4%
9Frederick County168.3+2.6%
10Carroll County151.4+0.7%
11Charles County143.6+0.8%
12Washington County130.3+0.1%
13St. Mary's County123.7+0.2%
14Cecil County117+0.8%
15Wicomico County108.4+1%
16Allegany County61.3-0.8%
17Talbot County54.5+0.5%
18Queen Anne's County53.8+1.7%
19Worcester County44.5+1.1%
20Caroline County40.5+0.3%
21Somerset County29.10%
22Kent County27+0.6%
23Dorchester County23.30%
24Garrett County17-0.6%

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,721.1 inhabitants per km² in 2022, according to the U.S. Census Bureau.

Which county has the lowest population density?

Garrett County, with 17 inhabitants per km² in 2022.

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