US5.com

20838 vs 20871 — Compare ZIP Codes

Side-by-side comparison. Blue = ZIP 20838, Orange = ZIP 20871.

Quick verdict: ZIP 20838 is wealthier, higher home values, lower poverty rate, lower unemployment, higher work-from-home share. ZIP 20871 is more diverse, more educated.

Quick Facts

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%
ZIP 20871
Clarksburg CDP, MD
View full profile →
  • Population28,329
  • Median Income$177,120
  • Median Home Value$629k
  • Median Rent$2,134
  • Median Age37.9 yrs
  • Poverty Rate4.5%
Visual comparison (same scale)
Population
40928,329
Median Income
$223,571$177,120
Median Home Value
$807k$629k
Median Rent
$2,134
Median Age
34.4 yrs37.9 yrs
Poverty Rate
0.7%4.5%

Demographics

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
ZIP 20871
Clarksburg CDP, MD
View full profile →
  • White %32.4%
  • Black %15.0%
  • Asian %38.2%
  • Hispanic %12.5%
  • Age 0–17 %30.0%
  • Age 18–64 %61.3%
  • Age 65+ %8.8%
  • Bachelor's+ %67.6%
  • Diversity Index71/100
Visual comparison (same scale)
White %
91.9%32.4%
Black %
0.2%15.0%
Asian %
0.2%38.2%
Hispanic %
13.7%12.5%
Age 0–17 %
34.0%30.0%
Age 18–64 %
52.3%61.3%
Age 65+ %
13.7%8.8%
Bachelor's+ %
59.8%67.6%
Diversity Index
14/10071/100

Economy

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
ZIP 20871
Clarksburg CDP, MD
View full profile →
  • Median Income$177,120
  • Unemployment %4.3%
  • IRS Net Migration+1,664
  • Work From Home %26.6%
  • Mean Commute (min)
Visual comparison (same scale)
Median Income
$223,571$177,120
Unemployment %
1.1%4.3%
IRS Net Migration
+24+1,664
Work From Home %
41.1%26.6%
Mean Commute (min)
113 min

Housing

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
ZIP 20871
Clarksburg CDP, MD
View full profile →
  • Median Home Value$629k
  • Median Rent$2,134
  • Owner Occupied %87.1%
  • Broadband %98.5%
  • Vacant %1.7%
  • Median Year Built2009
Visual comparison (same scale)
Median Home Value
$807k$629k
Median Rent
$2,134
Owner Occupied %
98.0%87.1%
Broadband %
95.1%98.5%
Vacant %
4.7%1.7%
Median Year Built
19732009

Climate & Location

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)
ZIP 20871
Clarksburg CDP, MD
View full profile →
  • Snow Days/Year0 days
  • Elevation (ft)700 ft
  • Nearest Airport23.8 miles (38.3 km)
  • Distance to Coast25.7 miles (41.3 km)
Visual comparison (same scale)
Snow Days/Year
0 days0 days
Elevation (ft)
700 ft700 ft
Nearest Airport
19.2 miles (30.9 km)23.8 miles (38.3 km)
Distance to Coast
25.9 miles (41.6 km)25.7 miles (41.3 km)

Infrastructure

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%
ZIP 20871
Clarksburg CDP, MD
View full profile →
  • Mean Commute (min)
  • Work From Home %26.6%
  • Walkability (0–100)29
  • Broadband %98.5%
Visual comparison (same scale)
Mean Commute (min)
113 min
Work From Home %
41.1%26.6%
Walkability (0–100)
3029
Broadband %
95.1%98.5%

Frequently Asked Questions

How do ZIP 20838 and 20871 compare?
ZIP 20838 is wealthier, higher home values, lower poverty rate, lower unemployment, higher work-from-home share. ZIP 20871 is more diverse, more educated.
What do the blue and orange colors mean?
Blue represents the first ZIP (20838), orange the second (20871). 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