US Census Data

ZIP 21838 vs ZIP 21840

A side-by-side comparison of ZIP Code 21838 and ZIP Code 21840: population, income, housing, and more.

ZIP 21838 and ZIP 21840 are ZIP Code areas in Maryland. This page compares them across population, income, housing, education, commuting, and how each has changed since 2019.

ZIP 21838 has the higher population (1,975 vs 573 in ZIP 21840). ZIP 21840 has the higher median household income ($120,324 vs $85,577 in ZIP 21838). Since 2019, ZIP 21840's population has grown faster (+30.8% vs +19.2%).

Population, income & housing

ZIP 21838ZIP 21840
Population1,975573
Median age46.2 yrs48.5 yrs
Median household income$85,577$120,324
Median home value$179,200
Median gross rent$1,516
Housing units928404
Homeownership rate92.8%78.2%
Bachelor's degree or higher19.6%17.6%
Unemployment rate6.0%19.7%

Trends (ACS 5-year, 2019–2023)

ZIP 21838ZIP 21840
Population1,657 → 1,975 (+19.2%)438 → 573 (+30.8%)
Median household income$70,550 → $85,577 (+21.3%)$66,304 → $120,324 (+81.5%)
Median home value$136,400 → $179,200 (+31.4%)$153,500 → $161,500 (+5.2%)
Median gross rent$1,028 → $1,516 (+47.5%)

ZIP 21838

Population
1,6571,975
Median household income
$70,550$85,577
Median home value
$136,400$179,200
Median gross rent
$1,028$1,516

ZIP 21840

Population
438573
Median household income
$66,304$120,324
Median home value
$153,500$161,500

Age & race/ethnicity

Age distribution (share)

ZIP 21838ZIP 21840
Under 57.3%10.1%
5 to 1713.5%17.6%
18 to 2411.4%0.0%
25 to 346.9%7.3%
35 to 4410.3%7.2%
45 to 5419.6%14.0%
55 to 6413.3%14.7%
65 to 7414.5%11.7%
75 and over3.1%17.5%

Race & ethnicity (share)

ZIP 21838ZIP 21840
White (non-Hispanic)86.0%74.0%
Black or African American4.6%0.0%
American Indian & Alaska Native0.2%0.0%
Asian0.0%0.0%
Native Hawaiian & Pacific Islander0.0%0.0%
Some other race0.0%0.0%
Two or more races6.8%26.0%
Hispanic or Latino2.4%0.0%

Educational attainment (age 25+)

Share of adults 25+

ZIP 21838ZIP 21840
No high school diploma10.0%0.0%
High school graduate43.4%51.0%
Some college or associate's27.0%31.4%
Bachelor's degree16.0%14.0%
Graduate or professional degree3.6%3.6%

Commute to work

How workers get to work (share)

ZIP 21838ZIP 21840
Drove alone84.2%100.0%
Carpooled7.1%0.0%
Public transit0.0%0.0%
Walked0.0%0.0%
Bicycle0.0%0.0%
Worked from home8.7%0.0%
Other means0.0%0.0%

Housing

Units in structure (share)

ZIP 21838ZIP 21840
1-unit, detached90.8%100.0%
1-unit, attached0.0%0.0%
2 to 4 units0.0%0.0%
5 to 19 units1.7%0.0%
20 or more units0.0%0.0%
Mobile home & other7.4%0.0%

Poverty & households

ZIP 21838ZIP 21840
Poverty rate4.4%0.0%
Average household size2.722.97
Mean commute (minutes)24
Median year structure built19771962

Full profiles

2