Ocean City, MD 21842 ZIP Code Profile


Camera Icon Photos of the local Ocean City, MD area

ZIP Code 21842: Basic Data & USPS Preferred City Name

Preferred Name, USPS
Ocean City, MD 21842

Not Acceptable, USPS
North Ocean City, MD 21842
West Ocean City, MD 21842

  • ZIP Code Type: STANDARD
  • Businesses Addresses: 1,600
  • Single Family Addresses: 9,756
  • Multi-Family Addresses: 3,686
  • County: Worcester County
  • Centroid: Latitude 38.388, Longitude -75.107
  • Time Zone: Eastern Time Zone (UTC -5 hours)
  • Observes DST: Yes

Neighborhood Data

Address Based Hyperlocal Data Input an address and get data & demographics for the pertinent census block group (CBG), a searchable map and a customized directory. The CBG is the smallest geographical unit used by the Census Bureau for reporting certain data.


21842 ZIP Code Map

Search the map for:

Ocean City, MD 21842 Data & Demographics (As of July 1, 2017)


Total Population 10,681
Daytime Population: Workers 17,300
Daytime Population: Residents 4,851
Total Daytime Population (TDP) 22,151
Ratio TDP/Total Population1 2.07
Population in Households 10,646
Population in Familes 7,134
Population in Group Qrtrs 35
Population Density2 492
Diversity Index3 25


Median Household Income $60,108
Average Household Income $83,248
Per Capita Income $41,117


Total Housing Units 32,975 (100%)
Owner Occupied HU 3,653 (11.1%)
Renter Occupied HU 1,607 ( 4.9%)
Vacant Housing Units 27,715 (84.0%)
Median Home Value $338,158
Average Home Value $405,927


Total Households 5,260
Average Household Size 2.02
Family Households 2,723
Average Family Size 3
  1. If the ratio of the TDP to Total Population is greater than 1, the location gains population during the day when commuting workers are present. If the ratio is less than 1, the location is more of a bedroom community where people commute to another place for work.
  2. Population Density = Total Population per square mile.
  3. The Diversity Index is a scale of 0 to 100 that represents the likelihood that two persons, chosen at random from the same area, belong to different race or ethnic groups. If an area's entire population belongs to one race AND one ethnic group, then the area has zero diversity. An area's diversity index increases to 100 when the population is evenly divided into two or more race/ethnic groups.


2010-2017 2017-2022
Population -0.36% -0.36%
Households -0.45% -0.41%
Families -0.58% -0.51%
Median Household Income   1.63%
Per Capita Income   2.43%

Ocean City, MD 21842 - Peer Comparisons by Rank and Percentile

The table below compares 21842 to the other 456 ZIP Codes in Maryland by rank and percentile using July 1, 2017 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 # 181 61st
Population Density # 207 55th
Diversity Index # 342 25th
Median Household Income # 321 30th
Per Capita Income # 167 64th

Additional comparisons and rankings can be made with a VERY EASY TO USE Maryland Census Data Comparison Tool.

Maryland Research Tools

Maryland Census Data Comparison Tool

Compare Maryland Census Data
Highest or Lowest: