Cambridge, Massachusetts vs Portsmouth, New Hampshire
Two towns in different states side by side, from the US Census Bureau records their own pages show. Both are in the Boston-Cambridge-Newton, MA-NH Metro Area metro area.
Cambridge, MA
Middlesex CountyPopulation 122,588 (2025 estimate)
Portsmouth, NH
Rockingham CountyPopulation 23,028 (2025 estimate)
Key differences
- Cambridge has the higher median household income: $130,748, against $106,219 in Portsmouth.
- Homes are worth more in Cambridge: a median value of $1,092,100, against $688,500 in Portsmouth.
- A median home costs 8.4 times the median household income in Cambridge and 6.5 times in Portsmouth; the lower the figure, the more affordable.
- Cambridge is the larger town, with 122,588 residents to 23,028.
Sources: American Community Survey 5-year data profile 2020–2024, place level, state 25 (ACS tables DP05, DP02, DP03, DP04 on data.census.gov (opens DP05)), retrieved November 24, 2026; American Community Survey 5-year data profile 2020–2024, place level, state 33 (ACS tables DP05, DP02, DP03, DP04 on data.census.gov (opens DP05)), retrieved November 24, 2026.
Side by side
ACS 2020-2024| Measure | Cambridge | Portsmouth |
|---|---|---|
| Population · 2025 estimate | 122,588 | 23,028 |
| Median household income · 2020–2024 | $130,748 | $106,219 |
| Median age · 2020–2024 | 30.4 | 42.9 |
| Median home value · 2020–2024 | $1,092,100 | $688,500 |
| Bachelor’s degree or higher · 2020–2024 | 80.8% | 64.0% |
| Foreign-born residents · 2020–2024 | 29.7% | 9.6% |
| Owner-occupied homes · 2020–2024 | 33.5% | 51.9% |
| Mean commute to work · 2020–2024 | 25.8 minutes | 22.2 minutes |
Sources: American Community Survey 5-year data profile 2020–2024, place level, state 25 (ACS tables DP05, DP02, DP03, DP04 on data.census.gov (opens DP05)), retrieved November 24, 2026; American Community Survey 5-year data profile 2020–2024, place level, state 33 (ACS tables DP05, DP02, DP03, DP04 on data.census.gov (opens DP05)), retrieved November 24, 2026.