ZIP 02538 vs ZIP 02540
A side-by-side comparison of ZIP Code 02538 and ZIP Code 02540: population, income, housing, and more.
ZIP 02538 and ZIP 02540 are ZIP Code areas in Massachusetts. This page compares them across population, income, housing, education, commuting, and how each has changed since 2019.
ZIP 02540 has the higher population (8,354 vs 4,556 in ZIP 02538). ZIP 02538 has the higher median household income ($110,882 vs $88,266 in ZIP 02540). ZIP 02540 has the higher median home value ($756,300 vs $347,300 in ZIP 02538).
Population, income & housing
| ZIP 02538 | ZIP 02540 | |
|---|---|---|
| Population | 4,556 | 8,354 |
| Median age | 40.1 yrs | 62.4 yrs |
| Median household income | $110,882 | $88,266 |
| Median home value | $347,300 | $756,300 |
| Median gross rent | $1,548 | $1,328 |
| Housing units | 1,825 | 6,200 |
| Homeownership rate | 75.2% | 65.7% |
| Bachelor's degree or higher | 22.4% | 58.7% |
| Unemployment rate | 3.0% | 5.1% |
Trends (ACS 5-year, 2019–2023)
| ZIP 02538 | ZIP 02540 | |
|---|---|---|
| Population | 4,128 → 4,556 (+10.4%) | 8,346 → 8,354 (+0.1%) |
| Median household income | $69,327 → $110,882 (+59.9%) | $78,603 → $88,266 (+12.3%) |
| Median home value | $263,300 → $347,300 (+31.9%) | $599,200 → $756,300 (+26.2%) |
| Median gross rent | $1,293 → $1,548 (+19.7%) | $1,015 → $1,328 (+30.8%) |
ZIP 02538
4,1284,556
$69,327$110,882
$263,300$347,300
$1,293$1,548
ZIP 02540
8,3468,354
$78,603$88,266
$599,200$756,300
$1,015$1,328
Age & race/ethnicity
Age distribution (share)
| ZIP 02538 | ZIP 02540 | |
|---|---|---|
| Under 5 | 4.9% | 2.0% |
| 5 to 17 | 12.4% | 9.5% |
| 18 to 24 | 7.7% | 4.7% |
| 25 to 34 | 17.1% | 8.8% |
| 35 to 44 | 11.6% | 5.6% |
| 45 to 54 | 13.4% | 8.0% |
| 55 to 64 | 15.1% | 18.3% |
| 65 to 74 | 9.0% | 20.4% |
| 75 and over | 8.8% | 22.8% |
Race & ethnicity (share)
| ZIP 02538 | ZIP 02540 | |
|---|---|---|
| White (non-Hispanic) | 91.8% | 84.3% |
| Black or African American | 0.0% | 1.1% |
| American Indian & Alaska Native | 0.4% | 1.4% |
| Asian | 1.1% | 2.7% |
| Native Hawaiian & Pacific Islander | 0.0% | 0.0% |
| Some other race | 1.2% | 0.9% |
| Two or more races | 5.5% | 5.2% |
| Hispanic or Latino | 0.0% | 4.5% |
Educational attainment (age 25+)
Share of adults 25+
| ZIP 02538 | ZIP 02540 | |
|---|---|---|
| No high school diploma | 4.2% | 6.0% |
| High school graduate | 33.9% | 11.8% |
| Some college or associate's | 39.4% | 23.5% |
| Bachelor's degree | 16.0% | 27.5% |
| Graduate or professional degree | 6.4% | 31.2% |
Commute to work
How workers get to work (share)
| ZIP 02538 | ZIP 02540 | |
|---|---|---|
| Drove alone | 80.8% | 59.3% |
| Carpooled | 10.4% | 8.9% |
| Public transit | 0.0% | 2.2% |
| Walked | 0.0% | 3.6% |
| Bicycle | 0.0% | 2.8% |
| Worked from home | 7.2% | 22.5% |
| Other means | 1.6% | 0.7% |
Housing
Units in structure (share)
| ZIP 02538 | ZIP 02540 | |
|---|---|---|
| 1-unit, detached | 81.2% | 64.5% |
| 1-unit, attached | 3.9% | 8.8% |
| 2 to 4 units | 0.0% | 12.7% |
| 5 to 19 units | 5.0% | 3.4% |
| 20 or more units | 0.0% | 10.6% |
| Mobile home & other | 9.9% | 0.0% |
Poverty & households
| ZIP 02538 | ZIP 02540 | |
|---|---|---|
| Poverty rate | 5.1% | 16.2% |
| Average household size | 2.63 | 1.96 |
| Mean commute (minutes) | 33 | 18 |
| Median year structure built | 1968 | 1966 |