Compare towns
Hampden vs Ogunquit vs Stratham vs Gray
Cost, people, housing, commute and schools, side by side, each benchmarked against the U.S..
What stands out worked out from the figures below
Hampden has the most affordable homes ($301k median).
Ogunquit has grown the fastest since 2010 (+76.8%).
Stratham has the highest household income ($152k).
Gray has the most renters (17.6% 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.
| Measure | Hampden | Ogunquit | Stratham | Gray |
|---|---|---|---|---|
| Your priorities | ||||
| People | ||||
| Population | 7,896 |
1,379Lowest |
7,754 |
8,429Highest |
| Growth since 20102010 → 2020 census | +6.2% U.S.: +7.4% |
+76.8%Highest U.S.: +7.4% |
+5.7%Lowest U.S.: +7.4% |
+6.5% U.S.: +7.4% |
| Median age | 41±2.9Lowest 5% above U.S. |
62.8±4.8Highest 61% above U.S. |
41.6±4.9 7% above U.S. |
43.4±4.5 12% above U.S. |
| Kids under 18 | 25.8%±5.7Highest U.S.: 22% |
5.7%±3.2Lowest U.S.: 22% |
23.5%±5.3 U.S.: 22% |
19%±4 U.S.: 22% |
| Hampden and Stratham are within the Census margin of error here, so we can’t say which is really higher. | ||||
| Age 65+ | 17.2%±3.6Lowest U.S.: 17.2% |
43.6%±10.1Highest U.S.: 17.2% |
20.6%±3.6 U.S.: 17.2% |
19.3%±4 U.S.: 17.2% |
| Bachelor’s degree+adults 25+ | 45.9% U.S.: 35.7% |
63.5% U.S.: 35.7% |
69.9%Highest U.S.: 35.7% |
44.8%Lowest U.S.: 35.7% |
| Enrolled in collegeshare of residents | 5.3%±2.3 U.S.: 6.4% |
4.2%±2.8 U.S.: 6.4% |
3.9%±1.7Lowest U.S.: 6.4% |
5.4%±2.2Highest U.S.: 6.4% |
| Gray and Hampden are within the Census margin of error here, so we can’t say which is really higher. | ||||
| Cost of living | ||||
| Household incomemedian | $111,959±$13k 39% above U.S. |
$114,259±$56k 42% above U.S. |
$151,998±$20kHighest 88% above U.S. |
$95,236±$8kLowest 18% above U.S. |
| Stratham and Ogunquit are within the Census margin of error here, so we can’t say which is really higher. | ||||
| Home valuemedian, owner-occupied | $301,300±$38kLowest 9% below U.S. |
$875,700±$79kHighest 163% above U.S. |
$655,400±$36k 97% above U.S. |
$363,700±$20k 9% above U.S. |
| Rentmedian gross, monthly | $1,286±$317Lowest 9% below U.S. |
— | $2,511±$377Highest 78% above U.S. |
$1,371±$89 about the U.S. average |
| Property taxmedian, yearly | $3,694 18% above U.S. |
$4,473 43% above U.S. |
$9,781Highest 214% above U.S. |
$3,683Lowest 18% above U.S. |
| Renters paying 30%+of income on rent | 22.2%±15.1 U.S.: 51.1% |
0%±61.1Lowest U.S.: 51.1% |
64%±38.2Highest U.S.: 51.1% |
56.4%±24 U.S.: 51.1% |
| Stratham and Gray are within the Census margin of error here, so we can’t say which is really higher. | ||||
| Below poverty line | 7.5%Highest U.S.: 12.5% |
3.2% U.S.: 12.5% |
2.4%Lowest U.S.: 12.5% |
3.5% U.S.: 12.5% |
| Housing | ||||
| Homeownersof occupied homes | 85.7% U.S.: 65.2% |
94.3%Highest U.S.: 65.2% |
92.6% U.S.: 65.2% |
82.4%Lowest U.S.: 65.2% |
| Typical home builtmedian year | 1982 2 yrs newer than U.S. |
1978Lowest 2 yrs older than U.S. |
1986Highest 6 yrs newer than U.S. |
1983 3 yrs newer than U.S. |
| Getting to work | ||||
| Average commuteone way | 23 minLowest 14% below U.S. |
26 min about the U.S. average |
27 min about the U.S. average |
29 minHighest 8% above U.S. |
| Work from home | 21.3%±5.5 U.S.: 15.1% |
43.3%±12.4Highest U.S.: 15.1% |
25.3%±6.6 U.S.: 15.1% |
12.3%±3.5Lowest U.S.: 15.1% |
| Ogunquit and Stratham 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 | #6 of 133 in ME | — | #43 of 120 in NH | #10 of 133 in ME |
| School district | RSU 22 | — | Exeter Region Cooperative School District · Stratham School District | RSU 15/MSAD 15 · Fiddlehead School of Arts and Sciences |
| High school in town | Hampden Academy | — | None in town | Gray-New Gloucester High School |
| Students per teacherat that high school | 14.8Highest |
— | — | 12.5Lowest |
| On TownTapestry | ||||
| Old photos in History | None yet | None yet | None yet | 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.


