Bordering states

New York vs Pennsylvania

Short answer

New York has 19,867,248 residents, 52% more than Pennsylvania's 13,078,751. New York is the larger by land, 1.05 times the size of Pennsylvania.
NY
19,867,248
PA
13,078,751

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.

New York

Tompkins County: 222.5 per sq miYates County: 72.1 per sq miSuffolk County: 1,686.1 per sq miBroome County: 278.3 per sq miCortland County: 92.1 per sq miFulton County: 105.1 per sq miUlster County: 162.8 per sq miRockland County: 2,004.4 per sq miEssex County: 20.5 per sq miWestchester County: 2,336.1 per sq miNiagara County: 401.2 per sq miDutchess County: 377.0 per sq miSeneca County: 100.9 per sq miOnondaga County: 603.6 per sq miTioga County: 91.7 per sq miErie County: 911.6 per sq miWayne County: 150.3 per sq miDelaware County: 30.6 per sq miGreene County: 72.5 per sq miSchenectady County: 792.8 per sq miAllegany County: 45.9 per sq miRensselaer County: 246.4 per sq miMonroe County: 1,145.0 per sq miWarren County: 75.3 per sq miLivingston County: 97.5 per sq miMadison County: 102.4 per sq miJefferson County: 89.2 per sq miSullivan County: 83.1 per sq miLewis County: 20.8 per sq miOswego County: 124.3 per sq miPutnam County: 427.4 per sq miNew York County: 73,286.1 per sq miColumbia County: 95.0 per sq miSt. Lawrence County: 39.6 per sq miSchuyler County: 52.1 per sq miFranklin County: 28.9 per sq miSteuben County: 66.2 per sq miCayuga County: 107.8 per sq miOneida County: 188.3 per sq miChemung County: 199.1 per sq miHerkimer County: 42.2 per sq miSchoharie County: 48.5 per sq miCattaraugus County: 57.7 per sq miChautauqua County: 117.0 per sq miChenango County: 51.2 per sq miHamilton County: 3.0 per sq miOrange County: 507.1 per sq miWashington County: 72.0 per sq miOntario County: 175.5 per sq miBronx County: 32,828.9 per sq miWyoming County: 66.8 per sq miClinton County: 75.0 per sq miOrleans County: 101.4 per sq miMontgomery County: 123.2 per sq miNassau County: 4,893.6 per sq miKings County: 37,728.9 per sq miGenesee County: 116.8 per sq miOtsego County: 60.4 per sq miAlbany County: 611.9 per sq miQueens County: 21,310.2 per sq miRichmond County: 8,661.5 per sq miSaratoga County: 296.8 per sq mi

Pennsylvania

Adams County: 208.1 per sq miPotter County: 14.8 per sq miSullivan County: 13.2 per sq miBucks County: 1,075.6 per sq miCarbon County: 172.4 per sq miMcKean County: 40.3 per sq miMontour County: 139.0 per sq miFulton County: 33.0 per sq miColumbia County: 136.6 per sq miCameron County: 11.0 per sq miElk County: 36.4 per sq miBradford County: 52.0 per sq miBedford County: 47.1 per sq miYork County: 521.1 per sq miMonroe County: 273.7 per sq miForest County: 15.4 per sq miBerks County: 512.7 per sq miCambria County: 189.1 per sq miFranklin County: 206.3 per sq miSnyder County: 120.5 per sq miSomerset County: 67.1 per sq miClarion County: 61.3 per sq miIndiana County: 100.3 per sq miLackawanna County: 472.6 per sq miWyoming County: 64.9 per sq miLawrence County: 235.7 per sq miMercer County: 160.8 per sq miLehigh County: 1,116.7 per sq miNorthampton County: 873.4 per sq miCumberland County: 505.1 per sq miFayette County: 156.7 per sq miJefferson County: 66.5 per sq miCentre County: 144.3 per sq miLebanon County: 401.6 per sq miUnion County: 133.4 per sq miClinton County: 42.6 per sq miChester County: 747.1 per sq miMontgomery County: 1,820.5 per sq miWayne County: 70.8 per sq miPike County: 114.5 per sq miSusquehanna County: 46.3 per sq miAllegheny County: 1,687.5 per sq miClearfield County: 68.2 per sq miButler County: 252.5 per sq miBeaver County: 380.8 per sq miCrawford County: 81.1 per sq miWashington County: 245.5 per sq miVenango County: 73.4 per sq miWarren County: 42.3 per sq miBlair County: 229.1 per sq miHuntingdon County: 49.6 per sq miLancaster County: 596.8 per sq miLuzerne County: 372.4 per sq miWestmoreland County: 341.5 per sq miJuniata County: 59.8 per sq miArmstrong County: 97.5 per sq miTioga County: 35.9 per sq miDelaware County: 3,182.0 per sq miNorthumberland County: 196.7 per sq miMifflin County: 111.8 per sq miLycoming County: 92.1 per sq miPerry County: 84.9 per sq miPhiladelphia County: 11,717.7 per sq miSchuylkill County: 185.6 per sq miDauphin County: 558.3 per sq miGreene County: 59.0 per sq miErie County: 335.1 per sq mi
People per sq mi
  1. < 58
  2. < 97
  3. < 186
  4. < 507
  5. ≥ 507
no data

Residents, 2024

  1. 01New York19,867,248
  2. 02Pennsylvania13,078,751

Land, square miles

  1. 01New York47,123
  2. 02Pennsylvania44,742

People per square mile

  1. 01New York421.6
  2. 02Pennsylvania292.3

Median county household income

  1. 01New York$68,571
  2. 02Pennsylvania$62,918

Side by side

MeasureNew YorkPennsylvania
Residents, 202419,867,24813,078,751
Rank by population4th5th
Land, sq mi47,12344,742
People per sq mi421.6292.3
County-equivalents6267
Median county residents85,93682,953
Median county income$68,571$62,918
Most populous countyKings CountyPhiladelphia County
Largest county by landSt. Lawrence CountyLycoming County
CapitalAlbanyHarrisburg
Daylight at capital, June 2115 h 19 min15 h 03 min
Census divisionMiddle AtlanticMiddle Atlantic
Census Vintage 2024 population, 2024 Gazetteer land area, SAIPE 2023 income. Daylight computed with SunCalc.

Population and density

New York has 19,867,248 residents, 52% more than Pennsylvania's 13,078,751. New York ranks 4th and Pennsylvania 5th of the 50 states and DC. New York is the more crowded, with 421.6 people per square mile against 292.3, 44% more.

Land area

New York has 47,123 square miles of land, 5% more than Pennsylvania's 44,742. The largest county-equivalent in New York is St. Lawrence County at 2,680 square miles; in Pennsylvania it is Lycoming County at 1,229.

Counties

Pennsylvania is divided into 67 county-equivalents and New York into 62, so an average Pennsylvania county covers 668 square miles against 760. The typical county in New York has 85,936 residents, against 82,953 in Pennsylvania. The most populous are Kings County (2,617,631) and Philadelphia County (1,573,916).

16 county names appear on both sides of the border: Clinton, Columbia, Delaware, Erie, Franklin, Fulton, Greene, Jefferson, Monroe, Montgomery, Sullivan, Tioga, Warren, Washington, Wayne, Wyoming. Use the FIPS code, not the name, when joining data across the two states.

Household income

The median county in New York has a household income of $68,571, 9% above Pennsylvania's $62,918. The highest county incomes are Nassau County ($140,466) in New York and Chester County ($120,925) in Pennsylvania, from SAIPE 2023.

Capitals and daylight

Albany and Harrisburg are 231 miles apart in a straight line; from Albany the initial bearing is 225°, SW. On June 21, 2026, Albany gets 15 h 19 min of daylight and Harrisburg 15 h 03 min; on December 21 the figures are 9 h 03 min and 9 h 18 min. Month by month tables are on the Albany and Harrisburg daylight pages.

Where they sit

Both are in the Census Middle Atlantic division of the Northeast region. By county internal points, New York spans 2 UTM zones and Pennsylvania 2.

Questions people ask

Which is bigger, New York or Pennsylvania?

New York, with 47,123 square miles of land against 44,742, 1.05 times as large.

Which has more people, New York or Pennsylvania?

New York has 19,867,248 residents, 52% more than Pennsylvania's 13,078,751.

How far is Albany from Harrisburg?

231 miles in a straight line, heading SW (225°) from Albany.

Do New York and Pennsylvania have counties with the same name?

Yes, 16: Clinton, Columbia, Delaware, Erie, Franklin, Fulton, Greene, Jefferson, Monroe, Montgomery, Sullivan, Tioga, Warren, Washington, Wayne, Wyoming.

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.