Compare towns
Devens vs Hampton vs Ayer vs Shirley
Cost, people, housing, commute and schools, side by side, each benchmarked against the U.S..
What stands out worked out from the figures below
Devens has the highest household income ($189k).
Hampton has the oldest population (median age 55.8).
Ayer has grown the fastest since 2010 (+14.2%).
Shirley has the most affordable homes ($428k median).
What matters to you?
Pick a few. We’ll pull those rows to the top and mark which town comes out ahead on each. There’s no overall score: what matters is up to you.
| Measure | Devens | Hampton | Ayer | Shirley |
|---|---|---|---|---|
| Your priorities | ||||
| People | ||||
| Population | 1,723Lowest |
16,426Highest |
8,645 |
6,976 |
| Growth since 20102010 → 2020 census | -7.8%Lowest U.S.: +7.4% |
+5.1% U.S.: +7.4% |
+14.2%Highest U.S.: +7.4% |
+3.1% U.S.: +7.4% |
| Median age | 48.6±4.3 25% above U.S. |
55.8±2.1Highest 43% above U.S. |
39.2±2.8Lowest about the U.S. average |
44.3±3.4 14% above U.S. |
| Kids under 18 | 5.5%±3.9Lowest U.S.: 22% |
11.6%±2.3 U.S.: 22% |
20.3%±3.9Highest U.S.: 22% |
16.4%±4.2 U.S.: 22% |
| Ayer and Shirley are within the Census margin of error here, so we can’t say which is really higher. | ||||
| Age 65+ | 14%±5Lowest U.S.: 17.2% |
30.9%±2.8Highest U.S.: 17.2% |
14.5%±2.8 U.S.: 17.2% |
19.8%±5.1 U.S.: 17.2% |
| Bachelor’s degree+adults 25+ | 21.9%Lowest U.S.: 35.7% |
42.8%Highest U.S.: 35.7% |
42.3% U.S.: 35.7% |
36.7% U.S.: 35.7% |
| Enrolled in collegeshare of residents | 5.2%±4.2 U.S.: 6.4% |
3.1%±1.1Lowest U.S.: 6.4% |
4.5%±1.5 U.S.: 6.4% |
5.7%±2.2Highest U.S.: 6.4% |
| Shirley and Devens are within the Census margin of error here, so we can’t say which is really higher. | ||||
| Cost of living | ||||
| Household incomemedian | $189,250±$63kHighest 134% above U.S. |
$95,233±$9kLowest 18% above U.S. |
$101,875±$15k 26% above U.S. |
$122,365±$16k 52% above U.S. |
| Devens and Shirley are within the Census margin of error here, so we can’t say which is really higher. | ||||
| Home valuemedian, owner-occupied | $556,800±$96kHighest 67% above U.S. |
$550,200±$39k 65% above U.S. |
$463,800±$29k 39% above U.S. |
$427,600±$36kLowest 29% above U.S. |
| Devens and Hampton are within the Census margin of error here, so we can’t say which is really higher. | ||||
| Rentmedian gross, monthly | $1,500±$539 6% above U.S. |
$1,628±$94Highest 15% above U.S. |
$1,415±$180Lowest about the U.S. average |
$1,481±$421 5% above U.S. |
| Hampton and Devens are within the Census margin of error here, so we can’t say which is really higher. | ||||
| Property taxmedian, yearly | $5,556 78% above U.S. |
$6,813Highest 118% above U.S. |
$5,057Lowest 62% above U.S. |
$5,156 65% above U.S. |
| Renters paying 30%+of income on rent | 85.4%±64.7Highest U.S.: 51.1% |
56.8%±10.4 U.S.: 51.1% |
45.1%±14.2Lowest U.S.: 51.1% |
57.1%±21.8 U.S.: 51.1% |
| Devens and Shirley are within the Census margin of error here, so we can’t say which is really higher. | ||||
| Below poverty line | 25.3%Highest U.S.: 12.5% |
5.6%Lowest U.S.: 12.5% |
10.7% U.S.: 12.5% |
9.9% U.S.: 12.5% |
| Housing | ||||
| Homeownersof occupied homes | 79.3%Highest U.S.: 65.2% |
73.8% U.S.: 65.2% |
69.2%Lowest U.S.: 65.2% |
77.4% U.S.: 65.2% |
| Typical home builtmedian year | 1950Lowest 30 yrs older than U.S. |
1978 2 yrs older than U.S. |
1977 3 yrs older than U.S. |
1984Highest 4 yrs newer than U.S. |
| Getting to work | ||||
| Average commuteone way | 28 min 5% above U.S. |
26 minLowest about the U.S. average |
33 min 25% above U.S. |
40 minHighest 53% above U.S. |
| Work from home | 28.5%±11.5Highest U.S.: 15.1% |
21.7%±3.3 U.S.: 15.1% |
21.6%±5.9 U.S.: 15.1% |
21%±7.8Lowest U.S.: 15.1% |
| Devens and Hampton are within the Census margin of error here, so we can’t say which is really higher. | ||||
| Schools | ||||
| Public school scoresrank in state, math + reading | — | #31 of 120 in NH | #113 of 282 in MA | #239 of 282 in MA |
| School district | — | Hampton School District · Winnacunnet Cooperative School District | Ayer Shirley School District | Ayer Shirley School District |
| High school in town | — | Winnacunnet High School | Ayer Shirley Regional High School | None in town |
| Students per teacherat that high school | — | 10.1Lowest |
11.5Highest |
— |
| On TownTapestry | ||||
| Old photos in History | None yet | None yet | 12 photos → | None yet |
U.S. average · Sources: U.S. Census Bureau, American Community Survey 5-year estimates 2020–2024; 2010 & 2020 decennial census; NCES Common Core of Data. “±” is the Census margin of error. Property tax is top-coded by the Census at $10,000+. School rank compares math and reading proficiency against the state average.



