21872 vs 21842 — Compare ZIP Codes
Side-by-side comparison. Blue = ZIP 21872, Orange = ZIP 21842.
Quick verdict: ZIP 21872 is wealthier, lower poverty rate, lower unemployment, more educated, higher work-from-home share. ZIP 21842 is higher home values, more diverse.
Quick Facts
ZIP 21872
Whaleyville CDP, MD
View full profile →- Population675
- Median Income$114,625
- Median Home Value$386k
- Median Rent—
- Median Age31.6 yrs
- Poverty Rate5.6%
ZIP 21842
Ocean City town, MD
View full profile →- Population11,121
- Median Income$75,372
- Median Home Value$416k
- Median Rent$1,081
- Median Age53.7 yrs
- Poverty Rate8.2%
Visual comparison (same scale)
Population
67511,121
Median Income
$114,625$75,372
Median Home Value
$386k$416k
Median Rent
—$1,081
Median Age
31.6 yrs53.7 yrs
Poverty Rate
5.6%8.2%
Demographics
ZIP 21872
Whaleyville CDP, MD
View full profile →- White %98.8%
- Black %1.2%
- Asian %0.0%
- Hispanic %0.0%
- Age 0–17 %25.6%
- Age 18–64 %63.3%
- Age 65+ %11.1%
- Bachelor's+ %45.6%
- Diversity Index2/100
ZIP 21842
Ocean City town, MD
View full profile →- White %87.7%
- Black %2.9%
- Asian %0.7%
- Hispanic %7.9%
- Age 0–17 %13.1%
- Age 18–64 %58.8%
- Age 65+ %28.1%
- Bachelor's+ %39.3%
- Diversity Index22/100
Visual comparison (same scale)
White %
98.8%87.7%
Black %
1.2%2.9%
Asian %
0.0%0.7%
Hispanic %
0.0%7.9%
Age 0–17 %
25.6%13.1%
Age 18–64 %
63.3%58.8%
Age 65+ %
11.1%28.1%
Bachelor's+ %
45.6%39.3%
Diversity Index
2/10022/100
Economy
ZIP 21872
Whaleyville CDP, MD
View full profile →- Median Income$114,625
- Unemployment %0.0%
- IRS Net Migration+40
- Work From Home %56.0%
ZIP 21842
Ocean City town, MD
View full profile →- Median Income$75,372
- Unemployment %7.3%
- IRS Net Migration+653
- Work From Home %12.6%
Visual comparison (same scale)
Median Income
$114,625$75,372
Unemployment %
0.0%7.3%
IRS Net Migration
+40+653
Work From Home %
56.0%12.6%
Housing
ZIP 21872
Whaleyville CDP, MD
View full profile →- Median Home Value$386k
- Median Rent—
- Owner Occupied %92.0%
- Broadband %97.3%
- Vacant %4.8%
- Median Year Built1998
ZIP 21842
Ocean City town, MD
View full profile →- Median Home Value$416k
- Median Rent$1,081
- Owner Occupied %73.6%
- Broadband %93.3%
- Vacant %82.3%
- Median Year Built1983
Visual comparison (same scale)
Median Home Value
$386k$416k
Median Rent
—$1,081
Owner Occupied %
92.0%73.6%
Broadband %
97.3%93.3%
Vacant %
4.8%82.3%
Median Year Built
19981983
Climate & Location
ZIP 21872
Whaleyville CDP, MD
View full profile →- Snow Days/Year0 days
- Elevation (ft)12 ft
- Nearest Airport11.9 miles (19.2 km)
- Distance to Coast6.0 miles (9.6 km)
ZIP 21842
Ocean City town, MD
View full profile →- Snow Days/Year0 days
- Elevation (ft)12 ft
- Nearest Airport3.1 miles (5.0 km)
- Distance to Coast0.4 miles (0.7 km)
Visual comparison (same scale)
Snow Days/Year
0 days0 days
Elevation (ft)
12 ft12 ft
Nearest Airport
11.9 miles (19.2 km)3.1 miles (5.0 km)
Distance to Coast
6.0 miles (9.6 km)0.4 miles (0.7 km)
Infrastructure
ZIP 21872
Whaleyville CDP, MD
View full profile →- Work From Home %56.0%
- Walkability (0–100)24
- Broadband %97.3%
ZIP 21842
Ocean City town, MD
View full profile →- Work From Home %12.6%
- Walkability (0–100)68
- Broadband %93.3%
Visual comparison (same scale)
Work From Home %
56.0%12.6%
Walkability (0–100)
2468
Broadband %
97.3%93.3%
Frequently Asked Questions
How do ZIP 21872 and 21842 compare?
ZIP 21872 is wealthier, lower poverty rate, lower unemployment, more educated, higher work-from-home share. ZIP 21842 is higher home values, more diverse.
What do the blue and orange colors mean?
Blue represents the first ZIP (21872), orange the second (21842). The same colors are used in the map markers and comparison bars.
Where does this data come from?
Data is from the U.S. Census Bureau and other federal sources. See our Methodology page for details.
How can I compare other ZIP codes?
From any ZIP page, use the "Compare with Another ZIP" tool, or go to /compare/XXXXX-vs-YYYYY (replace with two 5-digit ZIP codes).
Continue exploring