02540 can be classified socioeconomically as Middle Class class compared to other ZIP Codes in Massachusetts based on Median Household Income and Average Adjusted Gross Income. The majority race/ethnicity residing in 02540 is White. The majority race/ethnicity attending public schools in 02540 is White. The current unemployment level in 02540 is 4.6%.
| Population | 8,615 |
| Population Growth Rate | 7.16% |
| Population Density | 707 People per Square Mile |
| Total Households | 4,125 |
| Percentage High Income Households | 9.2% |
| Median Household Income (2021) | $81,343 |
| Average Adjusted Gross Income (2021) | $560,000 |
| Current Unemployment Rate (May 2026) | 4.6% |
| Sales Tax Rate (2025) | 6.2% |
| Majority Race/Ethnicity | White - 92.57% |
| Public School Majority Race/Ethnicity | White - 78.48% |
02540 Race/Ethnicity Breakdown
| Race/Ethnicity | Total | Percentage |
|---|
| White | 8,026 | 92.57% |
| Black | 121 | 1.4% |
| Hispanic | 223 | 2.57% |
| Asian | 185 | 2.13% |
| Native American | 115 | 1.33% |
| Hawaiian/Pac. Islander | 0 | 0% |
02540 Public School Race/Ethnicity Breakdown
| Race/Ethnicity | Total | Percentage |
|---|
| White | 1,743 | 84.53% |
| Black | 103 | 5% |
| Hispanic | 152 | 7.37% |
| Asian | 44 | 2.13% |
| Native American | 19 | 0.92% |
| Hawaiian/Pac. Islander | 1 | 0.05% |
02540 Educational Attainment Levels
| Highest Education Level | Total | Percentage |
|---|
| Less Than 1 Year of College | 195 | 2.97% |
| Bachelor Degree | 1,726 | 26.33% |
| High School Diploma | 1,269 | 19.36% |
| No High School Diploma | 124 | 1.89% |
| GED or Alternate | 92 | 1.4% |
| 1 or More Years of College | 699 | 10.66% |
| Associates Degree | 495 | 7.55% |
| Masters Degree | 1,161 | 17.71% |
| Professional Degree | 425 | 6.48% |
| Doctorate Degree | 370 | 5.64% |