Ocean City, MD GIS Map
Ocean City is a city in Worcester County, Maryland, with a population of about 6,862. The map below shows its location, boundary and surrounding roads, with federal GIS layers you can turn on for the area.
- County
- Worcester County
- Population
- 6,862
- Elevation
- 4 ft
- Coordinates
- 38.3365, -75.0849
- ZIP codes (2)
- 21842, 21843
- Land area
- 4.4 sq mi
- Time zone
- America/New York
About Ocean City, MD
Ocean City, officially the Town of Ocean City, is an Atlantic resort city in Worcester County, Maryland, along the East Coast of the United States. The population was 6,844 in the 2020 U.S. census, although during summer weekends the city hosts between 320,000 and 345,000 vacationers, and up to eight million visitors annually. During the summer, Ocean City becomes the second most populated municipality in Maryland, after Baltimore. It is part of the Salisbury metropolitan area as defined by the United States Census Bureau.
Source: Wikipedia (CC BY-SA 4.0)
Cities Near Ocean City
GIS Data for Ocean City, MD
The Ocean City map loads live federal GIS layers in your browser, so you can check flood zones, terrain, land cover and district boundaries for any address in Ocean City without a separate GIS login. Everything below is drawn from public U.S. government data.
Layers you can turn on
FEMA flood zones
National Flood Hazard Layer — flood insurance rate map zones.
Elevation contours and hillshade
USGS 3DEP terrain, so you can read slope and relief.
Land cover
NLCD land cover classes — forest, developed, wetland, water.
School districts
Census TIGER unified and elementary school district boundaries.
ZIP code and county boundaries
Census TIGER ZCTA and county boundary lines.
Map tools
Measure distance and area
Draw a line or polygon to get length in miles or area in acres.
Sketch and annotate
Add points, lines and shapes on top of the map.
Inspect any point
Click the map to read coordinates, elevation and the layers under your cursor.
Download the map
Save the current view as a PNG image.
Ocean City Demographics
Source: U.S. Census Bureau, American Community Survey 2020-2024 5-year estimates.
Population
6,903
Households
3,828
Median household income
$77,750
Median age
55.6 years
Median home value
$429,000
Median gross rent
$1,353/mo
Owner-occupied homes
74.2%
Bachelor's degree or higher
41.7%
Below poverty level
10.9%
Land area
4.4 sq mi
Population density
1,560 / sq mi
County
ZIP codes in Ocean City
Ocean City Population Growth
Source: U.S. Census Bureau, 2010 Census and Population Estimates Program (Vintage 2024: April 2020 estimates base and July 1, 2024 estimate).
2010 Census
7,102
April 2020 (estimates base)
6,853
July 2024 estimate
6,884
Change 2010-2020
-3.5%
Change 2020-2024
+0.5%
Photos of Ocean City
Hover over a photo to see it larger. Tap on mobile.
Photos from Wikimedia Commons, taken in or near Ocean City. Credits and licenses are shown in the larger view.
Soils of Ocean City
General soil map unit at the city center: Westbrook-Hooksan
Soil Properties
- Drainage class
- Very poorly drained
- Hydrologic soil group
- D (very slow infiltration, high runoff)
- Available water storage (0–150 cm)
- 24.1 cm
- Typical slope
- 3%
- Flooding frequency
- None
- Min. annual water table depth
- 0 cm
Soil Components
- Hooksan43%
Entisols · Typic Quartzipsamments
- Westbrook40%
Histosols · Terric Sulfihemists
- Ipswich7%
Histosols · Typic Sulfihemists
- Elkton4%
Ultisols · Typic Endoaquults
- Udorthents3%
Entisols
- Urban land3%
Source: USDA NRCS U.S. General Soil Map (STATSGO2). General soil map data (1:250,000 scale) is not suitable for site-specific decisions.
Climate of Ocean City
30-year averages (1991–2020) from the Ocean City Muni Ap, Md weather station, elevation 12 ft, 2.9 miles from the city center.
Warmest month
Jul · avg high 84°F
Coldest month
Jan · avg low 28°F
Annual precipitation
42.6 in
Average Monthly Temperatures (°F)
| Month | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Avg high °F | 45 | 47 | 52 | 62 | 70 | 79 | 84 | 83 | 77 | 68 | 58 | 50 |
| Avg low °F | 28 | 29 | 35 | 44 | 53 | 63 | 68 | 67 | 61 | 49 | 39 | 32 |
| Precip. in | 3.39 | 2.95 | 3.86 | 3.00 | 3.76 | 3.32 | 3.77 | 3.83 | 3.93 | 4.04 | 3.18 | 3.60 |
Source: NOAA NCEI U.S. Climate Normals, 1991–2020. Conditions at the station may differ from other parts of the city.
Natural Hazard Risk in Ocean City
FEMA National Risk Index ratings for Worcester County, compared with all U.S. counties.
Overall risk
Score 68.2 of 100
Expected annual loss
Buildings, population & agriculture
Social vulnerability
Susceptibility to hazard impacts
Community resilience
Ability to prepare & recover
Risk by Hazard
- HurricaneRelatively Moderate
- Coastal FloodingRelatively High
- Winter WeatherRelatively Moderate
- Cold WaveRelatively Moderate
- WildfireRelatively Low
- DroughtRelatively Moderate
- Ice StormRelatively Low
- Heat WaveRelatively Low
- Inland FloodingRelatively Low
- EarthquakeVery Low
- LightningRelatively Low
- Strong WindRelatively Low
- TornadoVery Low
- LandslideVery Low
- HailVery Low
Source: FEMA National Risk Index (December 2025 release). County-level ratings are relative to other U.S. counties and are not a property-specific assessment.
Ocean City FAQ
What county is Ocean City in?
+
Ocean City, Maryland is located in Worcester County.
What is the population of Ocean City?
+
Ocean City has a population of about 6,862, making it the number 39 of the 40 Maryland cities listed on GIS Map.
What is the elevation of Ocean City?
+
The elevation of Ocean City is approximately 4 feet (1 meters) above sea level at the city center.
What ZIP codes are in Ocean City?
+
ZIP codes for Ocean City include 21842, 21843.
What time zone is Ocean City in?
+
Ocean City is in the Eastern Time zone (America/New York).
How far is Ocean City from Annapolis?
+
Ocean City is about 88 miles from Annapolis, the capital of Maryland, in a straight line.
How far is Ocean City from Baltimore?
+
Ocean City is about 105 miles from Baltimore, the largest city in Maryland listed on GIS Map, in a straight line.
What cities are near Ocean City?
+
Cities near Ocean City include Bethany Beach, DE (14 miles); Dewey Beach, DE (24 miles); Rehoboth Beach, DE (27 miles); Salisbury, MD (28 miles); Georgetown, DE (29 miles).
Local notes for Ocean City, MD
Questions and local knowledge from people who know the area. Every note is read before it appears here.