US Census Data

ZIP 18031 vs ZIP 18040

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

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

ZIP 18040 has the higher population (17,183 vs 12,031 in ZIP 18031). ZIP 18040 has the higher median household income ($108,994 vs $107,807 in ZIP 18031). ZIP 18031 has the higher median home value ($358,900 vs $347,800 in ZIP 18040).

Population, income & housing

ZIP 18031ZIP 18040
Population12,03117,183
Median age39.5 yrs45.6 yrs
Median household income$107,807$108,994
Median home value$358,900$347,800
Median gross rent$1,886$1,410
Housing units4,5696,945
Homeownership rate75.9%90.7%
Bachelor's degree or higher50.3%41.3%
Unemployment rate3.2%4.0%

Trends (ACS 5-year, 2019–2023)

ZIP 18031ZIP 18040
Population10,622 → 12,031 (+13.3%)16,586 → 17,183 (+3.6%)
Median household income$92,663 → $107,807 (+16.3%)$95,467 → $108,994 (+14.2%)
Median home value$310,800 → $358,900 (+15.5%)$268,400 → $347,800 (+29.6%)
Median gross rent$1,543 → $1,886 (+22.2%)$1,132 → $1,410 (+24.6%)

ZIP 18031

Population
10,62212,031
Median household income
$92,663$107,807
Median home value
$310,800$358,900
Median gross rent
$1,543$1,886

ZIP 18040

Population
16,58617,183
Median household income
$95,467$108,994
Median home value
$268,400$347,800
Median gross rent
$1,132$1,410

Age & race/ethnicity

Age distribution (share)

ZIP 18031ZIP 18040
Under 55.4%5.2%
5 to 1721.3%13.4%
18 to 244.8%8.2%
25 to 3411.2%12.0%
35 to 4417.2%10.7%
45 to 5413.5%14.3%
55 to 6413.5%15.7%
65 to 747.9%13.3%
75 and over5.2%7.4%

Race & ethnicity (share)

ZIP 18031ZIP 18040
White (non-Hispanic)60.9%74.7%
Black or African American4.9%6.8%
American Indian & Alaska Native0.0%0.0%
Asian12.5%7.8%
Native Hawaiian & Pacific Islander0.0%0.0%
Some other race0.1%0.0%
Two or more races3.0%1.8%
Hispanic or Latino18.7%8.9%

Educational attainment (age 25+)

Share of adults 25+

ZIP 18031ZIP 18040
No high school diploma2.4%5.8%
High school graduate23.4%28.8%
Some college or associate's24.0%24.1%
Bachelor's degree30.3%26.7%
Graduate or professional degree20.0%14.7%

Commute to work

How workers get to work (share)

ZIP 18031ZIP 18040
Drove alone70.9%74.2%
Carpooled1.5%10.1%
Public transit0.6%0.2%
Walked0.6%0.0%
Bicycle0.0%0.0%
Worked from home24.1%14.6%
Other means2.3%0.9%

Housing

Units in structure (share)

ZIP 18031ZIP 18040
1-unit, detached44.7%68.1%
1-unit, attached33.1%22.3%
2 to 4 units0.0%1.7%
5 to 19 units8.6%2.5%
20 or more units4.6%1.8%
Mobile home & other9.0%3.7%

Poverty & households

ZIP 18031ZIP 18040
Poverty rate4.3%4.4%
Average household size2.882.58
Mean commute (minutes)2531
Median year structure built20021998

Full profiles

2
ZIP 18031 vs ZIP 18040: Compare Population & Demographics | US Census Data