ZIP Code 02540
ZIP Code Tabulation Area in Barnstable County, Massachusetts.
- Population
- 8,354
- Median household income
- $88,266
- Median home value
- $756,300
+0.1%’19–’23
+12.3%’19–’23
+26.2%’19–’23
ZIP Code 02540 is a ZIP Code Tabulation Area in Barnstable County, Massachusetts, home to about 8,354 residents. The median household income of $88,266 is below the Barnstable County median ($94,452).
From 2019 to 2023, ZIP Code 02540's population held roughly steady from 8,346 to 8,354, while its median gross rent rose 30.8% from $1,015 to $1,328.
The typical home was built around 1966. 16.2% of residents live below the poverty line.
Demographics
ACS 2019–2023- Population
- 8,354
- Median age
- 62.4 yrs
- Median household income
- $88,266
- Median home value
- $756,300
- Median gross rent
- $1,328
- Housing units
- 6,200
- Homeownership rate
- 65.7%
- Bachelor's degree or higher
- 58.7%
- Unemployment rate
- 5.1%
Trends
ACS 5-year · 2019–20238,3468,354
$78,603$88,266
$599,200$756,300
$1,015$1,328
| Year | Population | Median household income | Median home value | Median gross rent |
|---|---|---|---|---|
| 2019 | 8,346 | $78,603 | $599,200 | $1,015 |
| 2020 | 8,241 | $75,809 | $620,300 | $1,014 |
| 2021 | 8,888 | $81,343 | $625,400 | $1,071 |
| 2022 | 8,615 | $85,117 | $708,000 | $1,185 |
| 2023 | 8,354 | $88,266 | $756,300 | $1,328 |
Each year is a US Census Bureau ACS 5-year estimate ending that year.
Age distribution
Under 52.0%
5 to 179.5%
18 to 244.7%
25 to 348.8%
35 to 445.6%
45 to 548.0%
55 to 6418.3%
65 to 7420.4%
75 and over22.8%
| Count | Share | |
|---|---|---|
| Under 5 | 171 | 2.0% |
| 5 to 17 | 793 | 9.5% |
| 18 to 24 | 390 | 4.7% |
| 25 to 34 | 731 | 8.8% |
| 35 to 44 | 468 | 5.6% |
| 45 to 54 | 667 | 8.0% |
| 55 to 64 | 1,529 | 18.3% |
| 65 to 74 | 1,704 | 20.4% |
| 75 and over | 1,901 | 22.8% |
Race & ethnicity
| Count | Share | |
|---|---|---|
| White (non-Hispanic) | 7,040 | 84.3% |
| Black or African American | 96 | 1.1% |
| American Indian & Alaska Native | 114 | 1.4% |
| Asian | 222 | 2.7% |
| Native Hawaiian & Pacific Islander | 0 | 0.0% |
| Some other race | 72 | 0.9% |
| Two or more races | 437 | 5.2% |
| Hispanic or Latino (any race) | 373 | 4.5% |
Educational attainment (age 25+)
No high school diploma6.0%
High school graduate11.8%
Some college or associate's23.5%
Bachelor's degree27.5%
Graduate or professional degree31.2%
| Count | Share | |
|---|---|---|
| No high school diploma | 419 | 6.0% |
| High school graduate | 825 | 11.8% |
| Some college or associate's | 1,645 | 23.5% |
| Bachelor's degree | 1,927 | 27.5% |
| Graduate or professional degree | 2,184 | 31.2% |
Commute to work
- Mean travel time to work
- 18 min
Drove alone59.3%
Carpooled8.9%
Public transit2.2%
Walked3.6%
Bicycle2.8%
Worked from home22.5%
Other means0.7%
How workers get to work
| Count | Share | |
|---|---|---|
| Drove alone | 1,919 | 59.3% |
| Carpooled | 289 | 8.9% |
| Public transit | 70 | 2.2% |
| Walked | 118 | 3.6% |
| Bicycle | 91 | 2.8% |
| Worked from home | 728 | 22.5% |
| Other means | 22 | 0.7% |
Travel time
| Count | Share | |
|---|---|---|
| Under 15 min | 1,465 | 58.4% |
| 15 to 29 min | 567 | 22.6% |
| 30 to 44 min | 253 | 10.1% |
| 45 to 59 min | 68 | 2.7% |
| 60+ min | 156 | 6.2% |
Households
- Average household size
- 1.96
- Poverty rate
- 16.2% (1,315 of 8,112)
| Count | Share | |
|---|---|---|
| Family households | 2,370 | 57.6% |
| Nonfamily households | 1,743 | 42.4% |
Housing
- Median year structure built
- 1966
Occupancy
| Count | Share | |
|---|---|---|
| Occupied | 4,113 | 66.3% |
| Vacant | 2,087 | 33.7% |
Tenure (of occupied units)
| Count | Share | |
|---|---|---|
| Owner-occupied | 2,704 | 65.7% |
| Renter-occupied | 1,409 | 34.3% |
1-unit, detached64.5%
1-unit, attached8.8%
2 to 4 units12.7%
5 to 19 units3.4%
20 or more units10.6%
Mobile home & other0.0%
Units in structure
| Count | Share | |
|---|---|---|
| 1-unit, detached | 3,996 | 64.5% |
| 1-unit, attached | 544 | 8.8% |
| 2 to 4 units | 789 | 12.7% |
| 5 to 19 units | 211 | 3.4% |
| 20 or more units | 660 | 10.6% |
| Mobile home & other | 0 | 0.0% |
Geography
- ZCTA
- 02540
- Land area
- 11 sq mi
- Water area
- 1.9 sq mi
- Center point
- 41.5695, -70.6272
Counties this ZIP covers
1Compare with nearby ZIP codes
6National ZIP rankings
21- Largest by population
- Most densely populated
- Highest median household income
- Highest median home value
- Most affordable home values
- Highest median gross rent
- Cheapest median gross rent
- Oldest by median age
- Youngest by median age
- Most college-educated
- Highest poverty rate
- Lowest poverty rate
- Highest homeownership rate
- Lowest homeownership rate
- Longest commutes
- Shortest commutes
- Largest households
- Newest housing
- Oldest housing
- Fastest-growing (2019–2023)
- Fastest-shrinking (2019–2023)