US Census Data

ZIP 01031 vs ZIP 01040

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

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

ZIP 01040 has the higher population (37,949 vs 1,715 in ZIP 01031). ZIP 01031 has the higher median household income ($58,125 vs $51,892 in ZIP 01040). ZIP 01040 has the higher median home value ($255,300 vs $237,700 in ZIP 01031).

Population, income & housing

ZIP 01031ZIP 01040
Population1,71537,949
Median age35.9 yrs39.1 yrs
Median household income$58,125$51,892
Median home value$237,700$255,300
Median gross rent$1,164$1,016
Housing units73417,057
Homeownership rate52.2%41.6%
Bachelor's degree or higher22.0%24.3%
Unemployment rate2.2%6.9%

Trends (ACS 5-year, 2019–2023)

ZIP 01031ZIP 01040
Population1,135 → 1,715 (+51.1%)40,241 → 37,949 (-5.7%)
Median household income$38,173 → $58,125 (+52.3%)$40,769 → $51,892 (+27.3%)
Median home value$198,500 → $237,700 (+19.7%)$195,800 → $255,300 (+30.4%)
Median gross rent$901 → $1,164 (+29.2%)$838 → $1,016 (+21.2%)

ZIP 01031

Population
1,1351,715
Median household income
$38,173$58,125
Median home value
$198,500$237,700
Median gross rent
$901$1,164

ZIP 01040

Population
40,24137,949
Median household income
$40,769$51,892
Median home value
$195,800$255,300
Median gross rent
$838$1,016

Age & race/ethnicity

Age distribution (share)

ZIP 01031ZIP 01040
Under 52.3%6.2%
5 to 1724.7%15.2%
18 to 248.3%8.2%
25 to 349.4%15.4%
35 to 4415.7%12.8%
45 to 5414.7%11.6%
55 to 6411.2%12.0%
65 to 747.8%10.0%
75 and over5.8%8.6%

Race & ethnicity (share)

ZIP 01031ZIP 01040
White (non-Hispanic)87.6%43.5%
Black or African American0.0%2.5%
American Indian & Alaska Native0.0%0.0%
Asian0.0%0.6%
Native Hawaiian & Pacific Islander0.0%0.0%
Some other race0.0%0.1%
Two or more races3.5%1.7%
Hispanic or Latino8.9%51.6%

Educational attainment (age 25+)

Share of adults 25+

ZIP 01031ZIP 01040
No high school diploma7.8%20.7%
High school graduate37.2%30.4%
Some college or associate's33.1%24.5%
Bachelor's degree10.9%15.5%
Graduate or professional degree11.1%8.9%

Commute to work

How workers get to work (share)

ZIP 01031ZIP 01040
Drove alone69.3%76.6%
Carpooled24.5%8.4%
Public transit0.0%2.7%
Walked0.0%2.4%
Bicycle0.0%0.1%
Worked from home6.3%9.1%
Other means0.0%0.6%

Housing

Units in structure (share)

ZIP 01031ZIP 01040
1-unit, detached48.0%33.0%
1-unit, attached1.6%6.8%
2 to 4 units40.1%22.4%
5 to 19 units10.4%25.2%
20 or more units0.0%12.5%
Mobile home & other0.0%0.1%

Poverty & households

ZIP 01031ZIP 01040
Poverty rate11.2%23.7%
Average household size2.462.36
Mean commute (minutes)2919
Median year structure built19381948

Full profiles

2
ZIP 01031 vs ZIP 01040: Compare Population & Demographics | US Census Data