Compare towns

Devens vs Hamilton vs Ayer

Cost, people, housing, commute and schools, side by side, each benchmarked against Massachusetts.

What stands out worked out from the figures below

Devens has the highest household income ($189k).
Hamilton has the most expensive homes ($720k median).
Ayer has grown the fastest since 2010 (+14.2%).

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.

MeasureDevensHamiltonAyer
People
Population
1,723Lowest
7,600
8,645Highest
Growth since 20102010 → 2020 census
-7.8%Lowest
MA: +7.4%
-2.6%
MA: +7.4%
+14.2%Highest
MA: +7.4%
Median age
48.6±4.3Highest
22% above MA
43.5±2.1
9% above MA
39.2±2.8Lowest
about the MA average
Devens and Hamilton are within the Census margin of error here, so we can’t say which is really higher.
Kids under 18
5.5%±3.9Lowest
MA: 19.4%
24%±3.5Highest
MA: 19.4%
20.3%±3.9
MA: 19.4%
Hamilton and Ayer are within the Census margin of error here, so we can’t say which is really higher.
Age 65+
14%±5Lowest
MA: 17.9%
21.9%±3.8Highest
MA: 17.9%
14.5%±2.8
MA: 17.9%
Bachelor’s degree+adults 25+
21.9%Lowest
MA: 47.3%
68.8%Highest
MA: 47.3%
42.3%
MA: 47.3%
Enrolled in collegeshare of residents
5.2%±4.2
MA: 7.9%
6.7%±1.6Highest
MA: 7.9%
4.5%±1.5Lowest
MA: 7.9%
Hamilton 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
82% above MA
$129,833±$14k
25% above MA
$101,875±$15kLowest
about the MA average
Devens and Hamilton are within the Census margin of error here, so we can’t say which is really higher.
Home valuemedian, owner-occupied
$556,800±$96k
about the MA average
$720,000±$36kHighest
28% above MA
$463,800±$29kLowest
17% below MA
Rentmedian gross, monthly
$1,500±$539
15% below MA
$1,794±$394Highest
about the MA average
$1,415±$180Lowest
20% below MA
Hamilton and Devens are within the Census margin of error here, so we can’t say which is really higher.
Property taxmedian, yearly
$5,556
7% below MA
$10,000+Highest
at least 67% above MA
$5,057Lowest
16% below MA
Renters paying 30%+of income on rent
85.4%±64.7Highest
MA: 51.8%
65.8%±23.6
MA: 51.8%
45.1%±14.2Lowest
MA: 51.8%
Devens and Hamilton are within the Census margin of error here, so we can’t say which is really higher.
Below poverty line
25.3%Highest
MA: 10%
7.8%Lowest
MA: 10%
10.7%
MA: 10%
Housing
Homeownersof occupied homes
79.3%
MA: 62.5%
84.7%Highest
MA: 62.5%
69.2%Lowest
MA: 62.5%
Typical home builtmedian year
1950Lowest
14 yrs older than MA
1958
6 yrs older than MA
1977Highest
13 yrs newer than MA
Getting to work
Average commuteone way
28 minLowest
4% below MA
32 min
11% above MA
33 minHighest
13% above MA
Work from home
28.5%±11.5Highest
MA: 18.6%
26.3%±5.1
MA: 18.6%
21.6%±5.9Lowest
MA: 18.6%
Devens and Hamilton 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 — #36 of 282 in MA #113 of 282 in MA
School district — Hamilton-Wenham Ayer Shirley School District
High school in town — Hamilton-Wenham Regional High Ayer Shirley Regional High School
Students per teacherat that high school —
11.8Highest
11.5Lowest
On TownTapestry
Old photos in History None yet None yet 12 photos →

MA 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.