02171 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  02171 is White.  The majority race/ethnicity attending public schools in  02171 is Asian.  The current unemployment level in 02171 is 4.8%.  
| Population | 19,882 | 
| Population Growth Rate | 11.62% | 
| Population Density | 7,305 People per Square Mile | 
| Total Households | 7,627 | 
| Percentage High Income Households | 5.1% | 
| Median Household Income (2021) | $90,558 | 
| Average Adjusted Gross Income (2021) | $500,310 | 
| Current Unemployment Rate (September 2025) | 4.8% | 
| Sales Tax Rate (2025) | 6.2% | 
| Majority Race/Ethnicty | White - 55.57% | 
| Public School Majority Race/Ethnicty | Asian - 54.46% | 
   02171 Race/Ethnicty Breakdown
   
   
   | Race/Ethnicty | Total | Percentage | 
   | White | 10,995 | 55.57% | 
   | Black | 682 | 3.45% | 
   | Hispanic | 800 | 4.04% | 
   | Asian | 7,255 | 36.67% | 
   | Native American | 53 | 0.27% | 
   | Hawaiian/Pac. Islander | 0 | 0% | 
   
 
 
   02171 Public School Race/Ethnicty Breakdown
   
   
   | Race/Ethnicty | Total | Percentage | 
   | White | 1,007 | 34.82% | 
   | Black | 112 | 3.87% | 
   | Hispanic | 139 | 4.81% | 
   | Asian | 1,625 | 56.19% | 
   | Native American | 5 | 0.17% | 
   | Hawaiian/Pac. Islander | 4 | 0.14% | 
   
 
 
   02171 Educational Attainment Levels
   
   
   | Highest Education Level Attained | Total | Percentage | 
   | Less Than 1 Year of College | 741 | 5.96% | 
   | Bachelor Degree | 3,511 | 28.22% | 
   | High School Diploma | 2,904 | 23.34% | 
   | No High School Diploma | 429 | 3.45% | 
   | GED or Alternate | 196 | 1.58% | 
   | 1 or More Years of College | 1,435 | 11.54% | 
   | Associates Degree | 1,050 | 8.44% | 
   | Masters Degree | 1,476 | 11.86% | 
   | Professional Degree | 489 | 3.93% | 
   | Doctorate Degree | 209 | 1.68% |