Also See Ocean City, MD: ZIP Codes & Maps
The Town of Ocean City had a population of 6,778 as of July 1, 2025.
The primary coordinate point for Ocean City is located at latitude 38.3365 and longitude -75.0849 in Worcester County. The formal boundaries for the Town of Ocean City encompass a land area of 4.41 sq. miles and a water area of 4.97 sq. miles. Worcester County is in the Eastern time zone (GMT -5).
The Town of Ocean City has a C1 Census Class Code which indicates an active incorporated place that does not serve as a county subdivision equivalent. It also has a Functional Status Code of "A" which identifies an active government providing primary general-purpose functions.
The Town of Ocean City is located within District 7, Ocean City, a minor civil division (MCD) of Worcester County.
POPULATION | |
|---|---|
| Total Population | 6,778 (100%) |
| Population in Households | 6,734 (99.4%) |
| Population in Families | 4,110 (60.6%) |
| Population in Group Quarters1 | 44 ( 0.6%) |
| Population Density | 1,532 |
| Diversity Index2 | 32 |
INCOME | |
| Median Household Income | $62,351 |
| Average Household Income | $91,795 |
| % of Income for Mortgage4 | 49% |
| Per Capita Income | $52,001 |
| Wealth Index5 | 85 |
| Socioeconomic Status Index6 | Moderate (52.4) |
HOUSING | |
|---|---|
| Total HU (Housing Units) | 30,036 (100%) |
| Owner Occupied HU | 2,636 ( 8.8%) |
| Renter Occupied HU | 1,203 ( 4.0%) |
| Vacant Housing Units | 26,197 (87.2%) |
| Median Home Value | $490,210 |
| Average Home Value | $564,760 |
| Housing Affordability Index3 | 50 |
HOUSEHOLDS | |
| Total Households | 3,839 |
| Average Household Size | 1.75 |
| Family Households | 1,635 |
| Average Family Size | 3.00 |
GROWTH RATE / YEAR |
2020-2025 | 2025-2030 |
|---|---|---|
| Population | -0.18% | -0.30% |
| Households | 0.09% | -0.18% |
| Families | -0.46% | |
| Median Household Income | 0.95% | |
| Per Capita Income | 0.66% | |
| Owner Occupied HU | 0.21% |
The table below compares Ocean City to the other 536 incorporated cities, towns and CDPs in Maryland by rank and percentile using July 1, 2025 data. The location Ranked # 1 has the highest value. A location that ranks higher than 75% of its peers would be in the 75th percentile of the peer group.
| Variable Description | Rank | Percentile |
|---|---|---|
| Total Population | # 174 | 68th |
| Population Density | # 244 | 55th |
| Median Household Income | # 469 | 13th |
| Housing Affordability Index | # 74 | 14th |
| Per Capita Income | # 212 | 61st |
| Diversity Index | # 394 | 27th |
Additional comparisons and rankings can be made with a VERY EASY TO USE Maryland Census Data Comparison Tool.
Also See: Nearby Hotels | Driving Directions