20842 vs 20838 — Compare ZIP Codes
Side-by-side comparison. Blue = ZIP 20842, Orange = ZIP 20838.
Quick verdict: ZIP 20842 is more diverse. ZIP 20838 is wealthier, higher home values, lower poverty rate, lower unemployment, more educated, higher work-from-home share.
Quick Facts
ZIP 20842
MD
View full profile →- Population2,093
- Median Income$166,389
- Median Home Value$709k
- Median Rent$1,325
- Median Age47.3 yrs
- Poverty Rate1.3%
ZIP 20838
Barnesville town, MD
View full profile →- Population409
- Median Income$223,571
- Median Home Value$807k
- Median Rent—
- Median Age34.4 yrs
- Poverty Rate0.7%
Visual comparison (same scale)
Population
2,093409
Median Income
$166,389$223,571
Median Home Value
$709k$807k
Median Rent
$1,325—
Median Age
47.3 yrs34.4 yrs
Poverty Rate
1.3%0.7%
Demographics
ZIP 20842
MD
View full profile →- White %67.5%
- Black %11.4%
- Asian %1.5%
- Hispanic %14.1%
- Age 0–17 %21.4%
- Age 18–64 %62.2%
- Age 65+ %16.4%
- Bachelor's+ %51.3%
- Diversity Index51/100
ZIP 20838
Barnesville town, MD
View full profile →- White %91.9%
- Black %0.2%
- Asian %0.2%
- Hispanic %13.7%
- Age 0–17 %34.0%
- Age 18–64 %52.3%
- Age 65+ %13.7%
- Bachelor's+ %59.8%
- Diversity Index14/100
Visual comparison (same scale)
White %
67.5%91.9%
Black %
11.4%0.2%
Asian %
1.5%0.2%
Hispanic %
14.1%13.7%
Age 0–17 %
21.4%34.0%
Age 18–64 %
62.2%52.3%
Age 65+ %
16.4%13.7%
Bachelor's+ %
51.3%59.8%
Diversity Index
51/10014/100
Economy
ZIP 20842
MD
View full profile →- Median Income$166,389
- Unemployment %1.6%
- IRS Net Migration+123
- Work From Home %28.0%
- Mean Commute (min)—
ZIP 20838
Barnesville town, MD
View full profile →- Median Income$223,571
- Unemployment %1.1%
- IRS Net Migration+24
- Work From Home %41.1%
- Mean Commute (min)113 min
Visual comparison (same scale)
Median Income
$166,389$223,571
Unemployment %
1.6%1.1%
IRS Net Migration
+123+24
Work From Home %
28.0%41.1%
Mean Commute (min)
—113 min
Housing
ZIP 20842
MD
View full profile →- Median Home Value$709k
- Median Rent$1,325
- Owner Occupied %78.5%
- Broadband %87.1%
- Vacant %7.4%
- Median Year Built1963
ZIP 20838
Barnesville town, MD
View full profile →- Median Home Value$807k
- Median Rent—
- Owner Occupied %98.0%
- Broadband %95.1%
- Vacant %4.7%
- Median Year Built1973
Visual comparison (same scale)
Median Home Value
$709k$807k
Median Rent
$1,325—
Owner Occupied %
78.5%98.0%
Broadband %
87.1%95.1%
Vacant %
7.4%4.7%
Median Year Built
19631973
Climate & Location
ZIP 20842
MD
View full profile →- Snow Days/Year0 days
- Elevation (ft)700 ft
- Nearest Airport17.8 miles (28.6 km)
- Distance to Coast25.7 miles (41.4 km)
ZIP 20838
Barnesville town, MD
View full profile →- Snow Days/Year0 days
- Elevation (ft)700 ft
- Nearest Airport19.2 miles (30.9 km)
- Distance to Coast25.9 miles (41.6 km)
Visual comparison (same scale)
Snow Days/Year
0 days0 days
Elevation (ft)
700 ft700 ft
Nearest Airport
17.8 miles (28.6 km)19.2 miles (30.9 km)
Distance to Coast
25.7 miles (41.4 km)25.9 miles (41.6 km)
Infrastructure
ZIP 20842
MD
View full profile →- Mean Commute (min)—
- Work From Home %28.0%
- Walkability (0–100)32
- Broadband %87.1%
ZIP 20838
Barnesville town, MD
View full profile →- Mean Commute (min)113 min
- Work From Home %41.1%
- Walkability (0–100)30
- Broadband %95.1%
Visual comparison (same scale)
Mean Commute (min)
—113 min
Work From Home %
28.0%41.1%
Walkability (0–100)
3230
Broadband %
87.1%95.1%
Frequently Asked Questions
How do ZIP 20842 and 20838 compare?
ZIP 20842 is more diverse. ZIP 20838 is wealthier, higher home values, lower poverty rate, lower unemployment, more educated, higher work-from-home share.
What do the blue and orange colors mean?
Blue represents the first ZIP (20842), orange the second (20838). 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