Compare towns

Barnstable Town vs Danvers vs Gloucester

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

What stands out worked out from the figures below

Barnstable Town has grown the fastest since 2010 (+8.2%).
Danvers has the most people working from home (19.3%).
Gloucester has the most renters (36.1% rent).

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.

MeasureBarnstable TownDanversGloucester
People
Population
49,568Highest
28,098Lowest
30,075
Growth since 20102010 → 2020 census
+8.2%Highest
MA: +7.4%
+6%
MA: +7.4%
+3.3%Lowest
MA: +7.4%
Median age
49.1±1.9
23% above MA
45.3±3Lowest
13% above MA
50.2±2.3Highest
26% above MA
Gloucester and Barnstable Town are within the Census margin of error here, so we can’t say which is really higher.
Kids under 18
17.2%±1.6Highest
MA: 19.4%
17.2%±2Highest
MA: 19.4%
15.1%±1.6Lowest
MA: 19.4%
Age 65+
26.8%±1.8
MA: 17.9%
22.6%±2.2Lowest
MA: 17.9%
27.9%±2.3Highest
MA: 17.9%
Gloucester and Barnstable Town are within the Census margin of error here, so we can’t say which is really higher.
Bachelor’s degree+adults 25+
42.1%
MA: 47.3%
48.4%Highest
MA: 47.3%
40.3%Lowest
MA: 47.3%
Enrolled in collegeshare of residents
5.5%±1Highest
MA: 7.9%
4%±1.3
MA: 7.9%
3.2%±0.7Lowest
MA: 7.9%
Barnstable Town and Danvers are within the Census margin of error here, so we can’t say which is really higher.
Cost of living
Household incomemedian
$91,982±$6k
12% below MA
$125,395±$10kHighest
21% above MA
$83,883±$6kLowest
19% below MA
Home valuemedian, owner-occupied
$602,500±$14k
7% above MA
$644,200±$23kHighest
15% above MA
$600,600±$18kLowest
7% above MA
Rentmedian gross, monthly
$1,917±$127
9% above MA
$2,076±$192Highest
18% above MA
$1,411±$94Lowest
20% below MA
Danvers and Barnstable Town are within the Census margin of error here, so we can’t say which is really higher.
Property taxmedian, yearly
$3,975Lowest
34% below MA
$6,654Highest
11% above MA
$6,152
about the MA average
Renters paying 30%+of income on rent
64.6%±8.6Highest
MA: 51.8%
48.8%±8.6Lowest
MA: 51.8%
55.1%±7.1
MA: 51.8%
Barnstable Town and Gloucester are within the Census margin of error here, so we can’t say which is really higher.
Below poverty line
7.4%
MA: 10%
4.8%Lowest
MA: 10%
9.6%Highest
MA: 10%
Housing
Homeownersof occupied homes
75.7%Highest
MA: 62.5%
69.2%
MA: 62.5%
63.9%Lowest
MA: 62.5%
Typical home builtmedian year
1978Highest
14 yrs newer than MA
1963
1 yr older than MA
1946Lowest
18 yrs older than MA
Getting to work
Average commuteone way
25 min
15% below MA
28 minHighest
about the MA average
24 minLowest
18% below MA
Work from home
12.3%±2.6Lowest
MA: 18.6%
19.3%±3.6Highest
MA: 18.6%
12.7%±2.3
MA: 18.6%
Schools
Public school scoresrank in state, math + reading #189 of 282 in MA #91 of 282 in MA #164 of 282 in MA
School district Barnstable Essex North Shore Agricultural and Technical School District · Danvers Gloucester
High school in town Barnstable High Essex North Shore Agricultural and Technical School Gloucester High
Students per teacherat that high school
10.6
12.8Highest
10.0Lowest
On TownTapestry
Old photos in History 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.