Bordering states

Maryland vs Virginia

Short answer

Virginia has 8,811,195 residents, 41% more than Maryland's 6,263,220. Virginia is the larger by land, 4.07 times the size of Maryland.
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.

Virginia

Martinsville city: 1,262.2 per sq miNorton city: 465.0 per sq miCharlottesville city: 4,367.5 per sq miWinchester city: 3,025.0 per sq miBristol city: 1,267.8 per sq miManassas Park city: 5,482.2 per sq miFluvanna County: 100.1 per sq miClarke County: 88.6 per sq miLunenburg County: 27.9 per sq miColonial Heights city: 2,483.2 per sq miFranklin city: 1,011.2 per sq miLexington city: 3,120.8 per sq miPetersburg city: 1,499.0 per sq miSuffolk city: 258.3 per sq miEmporia city: 814.8 per sq miMiddlesex County: 84.0 per sq miFairfax city: 4,221.2 per sq miFredericksburg city: 2,870.0 per sq miFloyd County: 41.1 per sq miRadford city: 1,784.4 per sq miWaynesboro city: 1,569.7 per sq miHopewell city: 2,219.3 per sq miStaunton city: 1,323.3 per sq miBuena Vista city: 1,021.9 per sq miCovington city: 1,035.3 per sq miPoquoson city: 836.8 per sq miMadison County: 44.4 per sq miFalls Church city: 7,333.7 per sq miFranklin County: 80.6 per sq miMecklenburg County: 49.3 per sq miSmyth County: 64.5 per sq miPittsylvania County: 61.3 per sq miFrederick County: 237.5 per sq miRussell County: 53.7 per sq miNottoway County: 49.7 per sq miScott County: 39.9 per sq miMathews County: 100.1 per sq miStafford County: 629.1 per sq miGoochland County: 100.0 per sq miHenrico County: 1,449.3 per sq miCaroline County: 63.5 per sq miPrince George County: 164.3 per sq miPrince William County: 1,482.4 per sq miCumberland County: 33.8 per sq miEssex County: 41.5 per sq miFairfax County: 2,969.0 per sq miHenry County: 129.2 per sq miCarroll County: 61.6 per sq miGrayson County: 34.6 per sq miLouisa County: 85.1 per sq miJames City County: 581.8 per sq miAlbemarle County: 162.8 per sq miLynchburg city: 1,641.5 per sq miKing William County: 70.2 per sq miCharles City County: 35.9 per sq miNorthumberland County: 64.8 per sq miAlexandria city: 10,649.4 per sq miSalem city: 1,784.3 per sq miGalax city: 817.8 per sq miIsle of Wight County: 129.7 per sq miNewport News city: 2,653.0 per sq miTazewell County: 74.9 per sq miAmherst County: 66.8 per sq miManassas city: 4,432.5 per sq miBuckingham County: 29.5 per sq miShenandoah County: 89.4 per sq miRichmond city: 3,898.8 per sq miAlleghany County: 32.8 per sq miCulpeper County: 148.0 per sq miWarren County: 197.9 per sq miNorthampton County: 56.7 per sq miSouthampton County: 29.9 per sq miPortsmouth city: 2,897.4 per sq miRockingham County: 103.2 per sq miOrange County: 114.5 per sq miSussex County: 21.9 per sq miBland County: 17.3 per sq miChesapeake city: 753.4 per sq miHarrisonburg city: 2,950.6 per sq miPowhatan County: 124.5 per sq miVirginia Beach city: 1,858.5 per sq miDinwiddie County: 56.7 per sq miCampbell County: 110.0 per sq miGloucester County: 184.4 per sq miGreene County: 139.4 per sq miPage County: 76.4 per sq miHalifax County: 40.9 per sq miHanover County: 246.6 per sq miBuchanan County: 37.1 per sq miHighland County: 5.7 per sq miSurry County: 23.6 per sq miWestmoreland County: 83.9 per sq miWythe County: 60.8 per sq miGreensville County: 37.7 per sq miRoanoke city: 2,302.7 per sq miLoudoun County: 859.7 per sq miSpotsylvania County: 378.2 per sq miBrunswick County: 27.8 per sq miKing George County: 160.4 per sq miBedford County: 108.1 per sq miPatrick County: 35.8 per sq miLancaster County: 83.0 per sq miNelson County: 31.4 per sq miMontgomery County: 255.9 per sq miAmelia County: 38.6 per sq miYork County: 682.0 per sq miNorfolk city: 4,337.6 per sq miWilliamsburg city: 1,793.1 per sq miBath County: 7.7 per sq miAccomack County: 74.4 per sq miWashington County: 96.4 per sq miPulaski County: 105.0 per sq miRockbridge County: 37.5 per sq miRoanoke County: 388.5 per sq miWise County: 86.7 per sq miFauquier County: 117.1 per sq miCraig County: 14.7 per sq miCharlotte County: 23.7 per sq miRichmond County: 48.1 per sq miLee County: 50.0 per sq miChesterfield County: 920.4 per sq miDanville city: 981.1 per sq miKing and Queen County: 21.4 per sq miPrince Edward County: 63.7 per sq miHampton city: 2,673.8 per sq miAppomattox County: 50.7 per sq miBotetourt County: 63.1 per sq miArlington County: 9,223.3 per sq miRappahannock County: 28.1 per sq miNew Kent County: 129.6 per sq miAugusta County: 81.3 per sq miGiles County: 46.3 per sq miDickenson County: 40.6 per sq mi
People per sq mi
  1. < 48
  2. < 89
  3. < 258
  4. < 1,449
  5. ≥ 1,449
no data

Residents, 2024

  1. 01Maryland6,263,220
  2. 02Virginia8,811,195

Land, square miles

  1. 01Maryland9,711
  2. 02Virginia39,481

People per square mile

  1. 01Maryland645.0
  2. 02Virginia223.2

Median county household income

  1. 01Maryland$87,200
  2. 02Virginia$64,903

Side by side

MeasureMarylandVirginia
Residents, 20246,263,2208,811,195
Rank by population18th12th
Land, sq mi9,71139,481
People per sq mi645.0223.2
County-equivalents24133
Median county residents111,39927,800
Median county income$87,200$64,903
Most populous countyMontgomery CountyFairfax County
Largest county by landFrederick CountyPittsylvania County
CapitalAnnapolisRichmond
Daylight at capital, June 2114 h 54 min14 h 46 min
Census divisionSouth AtlanticSouth Atlantic
Census Vintage 2024 population, 2024 Gazetteer land area, SAIPE 2023 income. Daylight computed with SunCalc.

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.

  1. 01Census Vintage 2024 county population estimates
  2. 02Census 2024 Gazetteer, counties
  3. 03Census SAIPE 2023 state and county estimates
  4. 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.