Compare towns

Ayer vs Hampton vs Groton vs Harvard

Cost, people, housing, commute and schools, side by side, each benchmarked against the U.S..

What stands out worked out from the figures below

Ayer has grown the fastest since 2010 (+14.2%).
Hampton has the oldest population (median age 55.8).
Groton has the most kids (28.3% under 18).
Harvard has the most people working from home (44.8%).

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.

MeasureAyerHamptonGrotonHarvard
People
Population
8,645
16,426Highest
11,390
6,927Lowest
Growth since 20102010 → 2020 census
+14.2%Highest
U.S.: +7.4%
+5.1%Lowest
U.S.: +7.4%
+6.3%
U.S.: +7.4%
+5.1%Lowest
U.S.: +7.4%
Median age
39.2±2.8Lowest
about the U.S. average
55.8±2.1Highest
43% above U.S.
41.4±2.7
6% above U.S.
44.1±4.7
13% above U.S.
Kids under 18
20.3%±3.9
U.S.: 22%
11.6%±2.3Lowest
U.S.: 22%
28.3%±4.9Highest
U.S.: 22%
21.1%±4.5
U.S.: 22%
Groton and Harvard are within the Census margin of error here, so we can’t say which is really higher.
Age 65+
14.5%±2.8Lowest
U.S.: 17.2%
30.9%±2.8Highest
U.S.: 17.2%
17.3%±2.8
U.S.: 17.2%
16.3%±2.8
U.S.: 17.2%
Bachelor’s degree+adults 25+
42.3%Lowest
U.S.: 35.7%
42.8%
U.S.: 35.7%
70.1%Highest
U.S.: 35.7%
62%
U.S.: 35.7%
Enrolled in collegeshare of residents
4.5%±1.5
U.S.: 6.4%
3.1%±1.1Lowest
U.S.: 6.4%
5.6%±1.9Highest
U.S.: 6.4%
3.8%±1.5
U.S.: 6.4%
Groton and Ayer are within the Census margin of error here, so we can’t say which is really higher.
Cost of living
Household incomemedian
$101,875±$15k
26% above U.S.
$95,233±$9kLowest
18% above U.S.
$192,958±$27k
139% above U.S.
$213,996±$24kHighest
165% above U.S.
Harvard and Groton are within the Census margin of error here, so we can’t say which is really higher.
Home valuemedian, owner-occupied
$463,800±$29kLowest
39% above U.S.
$550,200±$39k
65% above U.S.
$743,400±$46k
123% above U.S.
$833,600±$54kHighest
151% above U.S.
Harvard and Groton are within the Census margin of error here, so we can’t say which is really higher.
Rentmedian gross, monthly
$1,415±$180
about the U.S. average
$1,628±$94Highest
15% above U.S.
$1,458±$335
3% above U.S.
$1,321±$424Lowest
7% below U.S.
Hampton and Groton are within the Census margin of error here, so we can’t say which is really higher.
Property taxmedian, yearly
$5,057Lowest
62% above U.S.
$6,813
118% above U.S.
$10,000+Highest
at least 221% above U.S.
$10,000+Highest
at least 221% above U.S.
Renters paying 30%+of income on rent
45.1%±14.2
U.S.: 51.1%
56.8%±10.4
U.S.: 51.1%
43.8%±17Lowest
U.S.: 51.1%
72.5%±51.5Highest
U.S.: 51.1%
Harvard and Hampton are within the Census margin of error here, so we can’t say which is really higher.
Below poverty line
10.7%Highest
U.S.: 12.5%
5.6%
U.S.: 12.5%
3.8%Lowest
U.S.: 12.5%
4.5%
U.S.: 12.5%
Housing
Homeownersof occupied homes
69.2%Lowest
U.S.: 65.2%
73.8%
U.S.: 65.2%
88.8%
U.S.: 65.2%
89.4%Highest
U.S.: 65.2%
Typical home builtmedian year
1977
3 yrs older than U.S.
1978
2 yrs older than U.S.
1988Highest
8 yrs newer than U.S.
1975Lowest
5 yrs older than U.S.
Getting to work
Average commuteone way
33 minHighest
25% above U.S.
26 minLowest
about the U.S. average
32 min
22% above U.S.
32 min
20% above U.S.
Work from home
21.6%±5.9Lowest
U.S.: 15.1%
21.7%±3.3
U.S.: 15.1%
27.5%±5.8
U.S.: 15.1%
44.8%±6.1Highest
U.S.: 15.1%
Schools
Public school scoresrank in state, math + reading #113 of 282 in MA #31 of 120 in NH #39 of 282 in MA #12 of 282 in MA
School district Ayer Shirley School District Hampton School District · Winnacunnet Cooperative School District Groton-Dunstable Harvard
High school in town Ayer Shirley Regional High School Winnacunnet High School Groton Dunstable Regional The Bromfield High School
Students per teacherat that high school
11.5
10.1Lowest
13.7Highest
11.0
On TownTapestry
Old photos in History 12 photos → None yet None yet 12 photos →

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.