Compare towns

Ayer vs Devens vs Hingham vs Shirley

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

What stands out worked out from the figures below

Ayer has grown the fastest since 2010 (+14.2%).
Devens has the shortest commute (28 min average).
Hingham has the most expensive homes ($1134k median).
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.

MeasureAyerDevensHinghamShirley
People
Population
8,645
1,723Lowest
24,283Highest
6,976
Growth since 20102010 → 2020 census
+14.2%Highest
MA: +7.4%
-7.8%Lowest
MA: +7.4%
+9.6%
MA: +7.4%
+3.1%
MA: +7.4%
Median age
39.2±2.8Lowest
about the MA average
48.6±4.3Highest
22% above MA
48.4±2.4
21% above MA
44.3±3.4
11% above MA
Devens and Hingham are within the Census margin of error here, so we can’t say which is really higher.
Kids under 18
20.3%±3.9
MA: 19.4%
5.5%±3.9Lowest
MA: 19.4%
23.4%±2.1Highest
MA: 19.4%
16.4%±4.2
MA: 19.4%
Hingham and Ayer are within the Census margin of error here, so we can’t say which is really higher.
Age 65+
14.5%±2.8
MA: 17.9%
14%±5Lowest
MA: 17.9%
26%±2.6Highest
MA: 17.9%
19.8%±5.1
MA: 17.9%
Hingham and Shirley are within the Census margin of error here, so we can’t say which is really higher.
Bachelor’s degree+adults 25+
42.3%
MA: 47.3%
21.9%Lowest
MA: 47.3%
76.2%Highest
MA: 47.3%
36.7%
MA: 47.3%
Enrolled in collegeshare of residents
4.5%±1.5
MA: 7.9%
5.2%±4.2
MA: 7.9%
2.9%±0.9Lowest
MA: 7.9%
5.7%±2.2Highest
MA: 7.9%
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
$101,875±$15kLowest
about the MA average
$189,250±$63kHighest
82% above MA
$178,390±$15k
72% above MA
$122,365±$16k
18% above MA
Devens and Hingham are within the Census margin of error here, so we can’t say which is really higher.
Home valuemedian, owner-occupied
$463,800±$29k
17% below MA
$556,800±$96k
about the MA average
$1,134,200±$47kHighest
102% above MA
$427,600±$36kLowest
24% below MA
Rentmedian gross, monthly
$1,415±$180Lowest
20% below MA
$1,500±$539
15% below MA
$2,465±$603Highest
40% above MA
$1,481±$421
16% below MA
Hingham and Devens are within the Census margin of error here, so we can’t say which is really higher.
Property taxmedian, yearly
$5,057Lowest
16% below MA
$5,556
7% below MA
$10,000+Highest
at least 67% above MA
$5,156
14% below MA
Renters paying 30%+of income on rent
45.1%±14.2Lowest
MA: 51.8%
85.4%±64.7Highest
MA: 51.8%
60.3%±12
MA: 51.8%
57.1%±21.8
MA: 51.8%
Devens and Hingham are within the Census margin of error here, so we can’t say which is really higher.
Below poverty line
10.7%
MA: 10%
25.3%Highest
MA: 10%
4.3%Lowest
MA: 10%
9.9%
MA: 10%
Housing
Homeownersof occupied homes
69.2%Lowest
MA: 62.5%
79.3%
MA: 62.5%
80.7%Highest
MA: 62.5%
77.4%
MA: 62.5%
Typical home builtmedian year
1977
13 yrs newer than MA
1950Lowest
14 yrs older than MA
1976
12 yrs newer than MA
1984Highest
20 yrs newer than MA
Getting to work
Average commuteone way
33 min
13% above MA
28 minLowest
4% below MA
36 min
24% above MA
40 minHighest
39% above MA
Work from home
21.6%±5.9
MA: 18.6%
28.5%±11.5
MA: 18.6%
33.1%±3.3Highest
MA: 18.6%
21%±7.8Lowest
MA: 18.6%
Hingham and Devens 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 #113 of 282 in MA — #14 of 282 in MA #239 of 282 in MA
School district Ayer Shirley School District — Hingham Ayer Shirley School District
High school in town Ayer Shirley Regional High School — Hingham High None in town
Students per teacherat that high school
11.5Lowest
—
12.9Highest
—
On TownTapestry
Old photos in History 12 photos → None yet None yet None yet

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.