US Census Data

ZIP 17331 vs ZIP 17340

A side-by-side comparison of ZIP Code 17331 and ZIP Code 17340: population, income, housing, and more.

ZIP 17331 and ZIP 17340 are ZIP Code areas in Pennsylvania. This page compares them across population, income, housing, education, commuting, and how each has changed since 2019.

ZIP 17331 has the higher population (55,374 vs 11,403 in ZIP 17340). ZIP 17340 has the higher median household income ($84,858 vs $76,661 in ZIP 17331). ZIP 17340 has the higher median home value ($276,700 vs $228,700 in ZIP 17331).

Population, income & housing

ZIP 17331ZIP 17340
Population55,37411,403
Median age41.8 yrs40.8 yrs
Median household income$76,661$84,858
Median home value$228,700$276,700
Median gross rent$1,127$1,179
Housing units23,5284,489
Homeownership rate76.4%79.6%
Bachelor's degree or higher22.5%19.0%
Unemployment rate4.7%1.4%

Trends (ACS 5-year, 2019–2023)

ZIP 17331ZIP 17340
Population51,893 → 55,374 (+6.7%)11,083 → 11,403 (+2.9%)
Median household income$64,122 → $76,661 (+19.6%)$72,656 → $84,858 (+16.8%)
Median home value$181,700 → $228,700 (+25.9%)$217,800 → $276,700 (+27.0%)
Median gross rent$932 → $1,127 (+20.9%)$907 → $1,179 (+30.0%)

ZIP 17331

Population
51,89355,374
Median household income
$64,122$76,661
Median home value
$181,700$228,700
Median gross rent
$932$1,127

ZIP 17340

Population
11,08311,403
Median household income
$72,656$84,858
Median home value
$217,800$276,700
Median gross rent
$907$1,179

Age & race/ethnicity

Age distribution (share)

ZIP 17331ZIP 17340
Under 56.2%4.2%
5 to 1715.6%17.6%
18 to 247.2%8.1%
25 to 3413.2%12.8%
35 to 4411.2%11.2%
45 to 5413.5%11.9%
55 to 6413.6%16.2%
65 to 7410.5%10.7%
75 and over9.1%7.3%

Race & ethnicity (share)

ZIP 17331ZIP 17340
White (non-Hispanic)85.9%91.6%
Black or African American2.6%1.6%
American Indian & Alaska Native0.1%0.0%
Asian1.2%0.2%
Native Hawaiian & Pacific Islander0.1%0.0%
Some other race0.1%0.0%
Two or more races3.2%1.7%
Hispanic or Latino6.8%4.9%

Educational attainment (age 25+)

Share of adults 25+

ZIP 17331ZIP 17340
No high school diploma10.0%8.2%
High school graduate40.9%46.3%
Some college or associate's26.7%26.6%
Bachelor's degree14.4%12.5%
Graduate or professional degree8.1%6.4%

Commute to work

How workers get to work (share)

ZIP 17331ZIP 17340
Drove alone81.4%73.5%
Carpooled7.3%8.4%
Public transit0.0%0.3%
Walked1.5%1.7%
Bicycle0.3%0.3%
Worked from home8.4%15.4%
Other means1.0%0.3%

Housing

Units in structure (share)

ZIP 17331ZIP 17340
1-unit, detached64.1%75.3%
1-unit, attached19.5%11.5%
2 to 4 units7.5%7.3%
5 to 19 units3.9%4.3%
20 or more units2.5%0.8%
Mobile home & other2.5%1.0%

Poverty & households

ZIP 17331ZIP 17340
Poverty rate8.7%10.4%
Average household size2.462.63
Mean commute (minutes)2832
Median year structure built19771976

Full profiles

2