Bordering states
Maryland vs Virginia
Short answer
- MD
- 6,263,220
- VA
- 8,811,195
The two states, county by county
Both maps share one density scale, so the same shade means the same number of people per square mile on either side of the border. Darker counties are denser. Select a county to open its page.
Maryland
Virginia
- < 48
- < 89
- < 258
- < 1,449
- ≥ 1,449
Side by side
| Measure | Maryland | Virginia |
|---|---|---|
| Residents, 2024 | 6,263,220 | 8,811,195 |
| Rank by population | 18th | 12th |
| Land, sq mi | 9,711 | 39,481 |
| People per sq mi | 645.0 | 223.2 |
| County-equivalents | 24 | 133 |
| Median county residents | 111,399 | 27,800 |
| Median county income | $87,200 | $64,903 |
| Most populous county | Montgomery County | Fairfax County |
| Largest county by land | Frederick County | Pittsylvania County |
| Capital | Annapolis | Richmond |
| Daylight at capital, June 21 | 14 h 54 min | 14 h 46 min |
| Census division | South Atlantic | South Atlantic |
Population and density
Virginia has 8,811,195 residents, 41% more than Maryland's 6,263,220. Maryland ranks 18th and Virginia 12th of the 50 states and DC. Maryland is the more crowded, with 645.0 people per square mile against 223.2, 2.9 times.
Land area
Virginia has 39,481 square miles of land, 4.1 times Maryland's 9,711. The largest county-equivalent in Maryland is Frederick County at 661 square miles; in Virginia it is Pittsylvania County at 969.
Counties
Virginia is divided into 133 county-equivalents and Maryland into 24, so an average Virginia county covers 297 square miles against 405. The typical county in Maryland has 111,399 residents, against 27,800 in Virginia. The most populous are Montgomery County (1,082,273) and Fairfax County (1,160,925).
5 county names appear on both sides of the border: Caroline, Carroll, Frederick, Montgomery, Washington. Use the FIPS code, not the name, when joining data across the two states.
Household income
The median county in Maryland has a household income of $87,200, 34% above Virginia's $64,903. The highest county incomes are Howard County ($140,113) in Maryland and Loudoun County ($173,655) in Virginia, from SAIPE 2023.
Capitals and daylight
Annapolis and Richmond are 112 miles apart in a straight line; from Annapolis the initial bearing is 208°, SSW. On June 21, 2026, Annapolis gets 14 h 54 min of daylight and Richmond 14 h 46 min; on December 21 the figures are 9 h 26 min and 9 h 34 min. Month by month tables are on the Annapolis and Richmond daylight pages.
Where they sit
Both are in the Census South Atlantic division of the South region. By county internal points, Maryland spans 2 UTM zones and Virginia 2.
Questions people ask
Which is bigger, Maryland or Virginia?
Virginia, with 39,481 square miles of land against 9,711, 4.07 times as large.
Which has more people, Maryland or Virginia?
Virginia has 8,811,195 residents, 41% more than Maryland's 6,263,220.
How far is Annapolis from Richmond?
112 miles in a straight line, heading SSW (208°) from Annapolis.
Do Maryland and Virginia have counties with the same name?
Yes, 5: Caroline, Carroll, Frederick, Montgomery, Washington.
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.
- 01Census Vintage 2024 county population estimates
- 02Census 2024 Gazetteer, counties
- 03Census SAIPE 2023 state and county estimates
- 04Census Bureau regions and divisions of the United States (last verified 2026-09-30)
How every number is computed: methodology. Spotted a wrong figure? Report an error.