CitytisticsShortlist

Morgan Hill, PA vs Ocean City, MD

Morgan Hill

Pennsylvania

vs

Ocean City

Maryland

Across 33 directional measures we can compare, Morgan Hill leads on 16 and Ocean City on 17. Counting measures is not an overall verdict: their importance depends on your priorities. Median rent is 3% higher in Morgan Hill, and so is median household income.

Median gross rent
$1,395$1,353
Morgan Hill is 3% higher
Median household income
$89,184$77,750
Morgan Hill is 15% higher
Median home value
$315,500$429,000
Morgan Hill is 26% lower

The Citytistics read

  • Between the 2020 and 2024 surveys, pay outran rent by 4.0 points a year in Morgan Hill, and pay outran rent by 2.2 points a year in Ocean City.

How these are calculated

PennsylvaniaMarylandOcean City, MDMorgan Hill, PAMorgan HillOcean CityMorgan HillOcean City

Which fits you?

Both start on the Citytistics Index (CTX). Move the sliders to weigh what matters to you and the score becomes your own mix.

Your weights

Top 1 of 1 matching places. Places in the top 1% show their national rank.

#PlaceCTXAffordabilityEconomyEducationSafetyCommuteAmenitiesGrowth
01Ocean City, MDComposite 58.8 / 100
74
324168n/a839370

CTX is the Citytistics Index: better than that share of the places we rate. It tops out at 99, so the top 1% show their national rank (#1 is best). Change any weight to rank on your own mix. How the CTX is built

Every measure

The dots show where each place sits among the 6,645 places we track. The bar is the median. A small dot after a value marks the better one.

MeasureMorgan HillOcean CityAmong all places
Cost of living
Median gross rent1$1,395$1,353
Rent to income118.8%20.9%
Property tax rate12.4%0.9%
Home price to income13.5x5.5x
Prices vs US average2100.0n/a
Fair market rent, 2 bedrooms3$1,839$1,184
HUD area median income4$104,400$111,100
Housing
Property tax paid (median)1$7,547$3,997
Median home value1$315,500$429,000
Home prices, 1-year change56.2%2.6%
Home prices, 5-year change558.8%62.4%
Homeownership188.8%74.2%
Renters paying 30%+10.0%61.7%
Owner costs with a mortgage1$2,363$2,053
Vacant homes15.3%87.2%
Median year built120051982
Jobs and income
Median household income1$89,184$77,750
Income per person1$85,514$72,487
Unemployment14.6%5.7%
Average annual pay6$62,976$47,233
Pay growth, 1 year64.4%3.0%
Jobs6122,79526,246
Poverty rate18.8%10.9%
Mean commute127 min20 min
Works from home138.2%17.4%
Commutes by transit10.0%n/a
People
Population11,3486,903
Population change since 20207n/a-0.1%
Median age155.055.6
Bachelor's or higher149.3%41.7%
High school or higher197.9%95.0%
Household size12.01.8
Born abroad131.7%10.1%
No health insurance14.4%9.1%
Homes with broadband1100.0%95.1%
Moving
Moved here in the past year16.1%10.8%
Moved from another state12.4%5.0%
Net movers per 1,000 people84.05.0
Income of households moving in8$69,109$88,802
Income of households moving out8$72,962$74,978
Local life
Restaurants and bars per 10k922.272.6
Shops per 10k926.071.3
Arts, recreation and fitness per 10k93.812.3
Doctors' offices and clinics per 10k915.021.6
Child care centers per 10k92.91.7
Parks per 10k100.037.7
Playgrounds per 10k100.020.3
Grocery stores per 10k100.07.2
Restaurants, cafes and bars per 10k107.4299.9
Libraries per 10k100.02.9
Named paths and bike trails100.09.0
Transit stops per sq mi100.06.1
Nearest National Park Service site11n/a23.1
National Park Service sites within 60 miles11n/a2
National Register listings126535
Founded or incorporated13n/a1875
Schools
Public schools146014
Public school students1438,3167,002
Students per teacher1413.412.4
Climate
July average high1585°F87°F
January average low1519°F29°F
Average temperature1551°F57°F
Annual precipitation1549.2 in45.7 in
Hazards and air
Natural hazard risk1690.068.2
Hurricane risk1687.192.0
Tornado risk1680.916.1
Wildfire risk1628.665.9
Heat wave risk1694.156.5
Median air quality index1738n/a
Good air days1772.1%n/a

Data bundle checked 2026-11-14; individual source vintages vary. Rent needed at the 30% line: Morgan Hill $55,800, Ocean City $54,120 a year.

Sources and methods

The small numbers beside each measure point here. Links go to the publisher.

  1. American Community Survey 5-year estimates · US Census Bureau · 2020 to 2024 estimatesTables B01002, B01003, B05002, B07003, B08013, B08301, B15003, B17001, B19013, B19301, B23025, B25002, B25003, B25010, B25035, B25064, B25070, B25077, B25088, B25103, B28002, S2701
  2. Regional Price Parities · US Bureau of Economic Analysis · Latest release, retrieved 2026-11-14
  3. Fair Market Rents · US Department of Housing and Urban Development · Fiscal year 2027
  4. Income Limits · US Department of Housing and Urban Development · Fiscal year 2026
  5. House Price Index · Federal Housing Finance Agency · Latest release, retrieved 2026-11-14
  6. Quarterly Census of Employment and Wages · US Bureau of Labor Statistics · 2025 annual averages
  7. Population Estimates · US Census Bureau · Vintage 2025
  8. SOI Tax Stats, county-to-county migration · Internal Revenue Service · Tax years 2022 to 2023Counts tax returns and the people on them; flows under 20 returns are suppressed.
  9. County Business Patterns · US Census Bureau · 2023 data
  10. OpenStreetMap · © OpenStreetMap contributors, available under the Open Database License (ODbL) · Map data as of 2026-11
  11. National Park Service sites · Wikidata (CC0), units operated by the National Park Service · Retrieved 2026-11
  12. National Register of Historic Places · National Park Service · Listings through 2026-05-22
  13. Wikidata · Wikimedia Foundation (CC0) · Retrieved 2026-11
  14. Common Core of Data · National Center for Education Statistics · 2024 release
  15. 1991-2020 climate normals · NOAA National Centers for Environmental Information · Series updated 2026-11-05Averages for 1991 to 2020 computed from NOAA's county climate series (nClimDiv).nClimDiv county series
  16. National Risk Index · Federal Emergency Management Agency · Latest release, retrieved 2026-11-14NRI data and maps
  17. Air Quality System, annual AQI by county · US Environmental Protection Agency · 2025 dataAirData download files

Derived by Citytistics from the tables above: rent to income (B25064, B19013); property tax rate (B25103, B25077); home price to income (B25077, B19013).

Survey figures are estimates with margins of error. Formulas and definitions: methodology.

Keep comparing

Other places people weigh against these two, and each one in full.