Skip to content
Live demo
A 3D map of ZIP Code 21704’s census tracts, with each tract raised and lightened by its median household income.

ZIP Code 21704, Bartonsville, Maryland · population, demographics and census data

Home to 20,006 people, the 126th largest of Maryland’s 470 ZIP codes.

Population
20,006 ±1,195. Rank 126 of 470 in Maryland
Median household income
$161,063 ±$11,190. Maryland $103,678 · US $80,734
Median age
38.6 ±1.4. Maryland 39.4 · US 38.9

ACS 2020–2024 5-year estimates, U.S. Census Bureau

Taller, lighter tracts have higher household incomes

About ZIP Code 21704

ZIP Code 21704’s median household income is $161,063 (±$11,190), higher than both Maryland ($103,678) and the US ($80,734), and its median age is 38.6 (±1.4), according to the ACS 2020–2024 5-year estimates.

± is each figure’s margin of error, at 90% confidence, and † marks one too uncertain to lean on. Under each percentage in the tables is the number it counts. How the margins are worked out.

ZCTA 21704

Highlights

What stands out in ZIP Code 21704

The numbers where ZIP Code 21704 sits furthest from Maryland and the nation, or past a recognized policy benchmark.

Past a policy benchmark

  • +31 points

    High

    Rent growth ahead of income

    After inflation, rent grew 34% from 2010–2014 to 2020–2024, and household income 3%. The dots show rent growth.

  • 1.9%

    Tight market

    Vacant homes

    That’s lower than both Maryland (7.7%) and the US (10.1%). Below 5% vacancy is the usual sign of a tight housing market. It’s the 46th lowest of 346 Maryland ZIP codes.

Furthest from the national picture

  • $161,063

    2× the US

    Median household income

    That’s higher than both Maryland ($103,678) and the US ($80,734). It’s the 46th highest of 342 Maryland ZIP codes.

  • $2,536

    2× the US

    Median gross rent

    That’s higher than both Maryland ($1,705) and the US ($1,413). It’s the 20th highest of 310 Maryland ZIP codes.

  • 17.8%

    3× the US

    Asian, not Hispanic

    That’s higher than both Maryland (6.5%) and the US (5.9%). It’s the 18th highest of 349 Maryland ZIP codes.

  • 28.9%

    2× the US

    Work from home

    That’s higher than both Maryland (19.3%) and the US (15.1%). It’s the 32nd highest of 347 Maryland ZIP codes.

2010–2014 to 2020–2024

How ZIP Code 21704 changed in ten years

The ZIP code added 5,186 people. It got older, more foreign-born and better educated, and poverty held steady.

Population, change since 2010–14

+35.0% in the ZIP code, +5.4% in Maryland and +6.6% in the US.

Source: ACS 5-year, 2010–14 to 2020–24, table A00001.

Show data
Population, change since 2010–14, ZIP Code 21704. Source: ACS 5-year, 2010–14 to 2020–24, table A00001.
ZIP Code 21704MarylandUnited States
2010–140.0%0.0%0.0%
2011–15+4.3%+0.7%+0.8%
2012–16+6.4%+1.2%+1.4%
2013–17+8.5%+1.8%+2.2%
2014–18+11.5%+2.0%+2.8%
2015–19+13.9%+2.2%+3.4%
2016–20+11.2%+2.5%+4.0%
2017–21+17.2%+4.4%+5.0%
2018–22+24.6%+4.7%+5.4%
2019–23+32.4%+4.8%+5.8%
2020–24+35.0%+5.4%+6.6%
Embed

Median household income, in 2024 dollars

+2.7% in the ZIP code, +5.3% in Maryland and +13.7% in the US.

Source: ACS 5-year, 2010–14 to 2020–24, table A14006.

Show data
Median household income, in 2024 dollars, ZIP Code 21704. Source: ACS 5-year, 2010–14 to 2020–24, table A14006.
ZIP Code 21704MarylandUnited States
2010–14$156,874$98,461$71,018
2011–15$158,352$98,824$71,435
2012–16$162,499$99,550$72,401
2013–17$162,085$101,104$73,862
2014–18$171,545$102,390$75,407
2015–19$182,979$104,176$77,198
2016–20$180,673$105,631$78,856
2017–21$176,573$105,982$80,006
2018–22$174,107$105,535$80,548
2019–23$169,289$104,638$80,845
2020–24$161,063$103,678$80,734
Embed

Living in poverty

−0.0 points in the ZIP code, −0.5 points in Maryland and −3.1 points in the US.

Source: ACS 5-year, 2010–14 to 2020–24, table A13004.

Show data
Living in poverty, ZIP Code 21704. Source: ACS 5-year, 2010–14 to 2020–24, table A13004.
ZIP Code 21704MarylandUnited States
2010–143.0%10.0%15.6%
2011–153.9%10.0%15.5%
2012–163.8%9.9%15.1%
2013–174.6%9.7%14.6%
2014–184.4%9.4%14.1%
2015–194.3%9.2%13.4%
2016–203.7%9.0%12.8%
2017–212.9%9.2%12.6%
2018–223.3%9.3%12.5%
2019–233.2%9.3%12.4%
2020–242.9%9.4%12.5%
Embed

Bachelor’s degree or more

+4.4 points in the ZIP code, +6.2 points in Maryland and +6.4 points in the US.

Source: ACS 5-year, 2010–14 to 2020–24, table A12001.

Show data
Bachelor’s degree or more, ZIP Code 21704. Source: ACS 5-year, 2010–14 to 2020–24, table A12001.
ZIP Code 21704MarylandUnited States
2010–1453.0%37.3%29.3%
2011–1555.8%37.9%29.8%
2012–1655.0%38.4%30.3%
2013–1754.2%39.0%30.9%
2014–1856.8%39.6%31.5%
2015–1957.5%40.2%32.1%
2016–2056.9%40.9%32.9%
2017–2158.9%41.6%33.7%
2018–2258.5%42.2%34.3%
2019–2358.1%42.7%35.0%
2020–2457.4%43.4%35.7%
Embed

Median gross rent, in 2024 dollars

+33.5% in the ZIP code, +5.4% in Maryland and +15.6% in the US.

Source: ACS 5-year, 2010–14 to 2020–24, table A18009.

Show data
Median gross rent, in 2024 dollars, ZIP Code 21704. Source: ACS 5-year, 2010–14 to 2020–24, table A18009.
ZIP Code 21704MarylandUnited States
2010–14$1,899$1,617$1,222
2011–15$1,933$1,630$1,230
2012–16$2,070$1,654$1,242
2013–17$2,432$1,680$1,258
2014–18$2,598$1,697$1,279
2015–19$2,454$1,710$1,305
2016–20$2,655$1,717$1,330
2017–21$2,454$1,721$1,348
2018–22$2,463$1,713$1,359
2019–23$2,465$1,711$1,388
2020–24$2,536$1,705$1,413
Embed

Median home value, in 2024 dollars

+18.2% in the ZIP code, +10.0% in Maryland and +42.6% in the US.

Source: ACS 5-year, 2010–14 to 2020–24, table A10036.

Show data
Median home value, in 2024 dollars, ZIP Code 21704. Source: ACS 5-year, 2010–14 to 2020–24, table A10036.
ZIP Code 21704MarylandUnited States
2010–14$517,873$381,765$233,308
2011–15$517,247$380,313$236,751
2012–16$540,892$380,051$241,720
2013–17$538,729$379,865$247,905
2014–18$569,308$382,082$256,264
2015–19$606,225$386,707$267,181
2016–20$620,226$394,799$278,810
2017–21$595,222$392,372$283,875
2018–22$595,087$407,836$302,152
2019–23$603,113$409,384$312,314
2020–24$612,000$419,900$332,700
Embed

ACS 5-year estimates. Each point is the five years ending then, and neighboring points share years. Dollar values are in 2024 dollars. The Census Bureau redraws ZIP Code Tabulation Areas for each census, last for 2020, so part of a change can be a new boundary rather than new people.

ZIP Code 21704 in 2010–2014 and 2020–2024
Indicator2010–20142020–2024ChangeMaryland’s change
Population14,82020,006+35.0%+5.4%
Median age36.738.6+1.9 years+1.3 years
65 and over8.8%10.9%+2.1 points+3.7 points
Born outside the US14.9%23.2%+8.3 points+2.4 points
Hispanic or Latino7.0%14.7%+7.7 points+3.7 points
Median household income$156,874$161,063+2.7%+5.3%
Living in poverty3.0%2.9%−0.0 points−0.5 points
Bachelor’s degree or more53.0%57.4%+4.4 points+6.2 points
Households that rent14.2%18.0%+3.8 points−0.5 points
Median gross rent$1,899$2,536+33.5%+5.4%
Median home value$517,873$612,000+18.2%+10.0%

5 census tracts

ZIP Code 21704, tract by tract

ZIP code averages hide a lot. These census tracts are the closest the census comes to neighborhoods.

A map of ZIP Code 21704’s 5 census tracts, shaded by median household income, lighter where incomes are higher.
Median household income, by census tract, American Community Survey 2020–2024 5-year estimates. Boundaries, roads and water: Social Explorer.

Where the ZIP code’s average misleads

Each tick is one census tract, and the dark line marks the ZIP code. Hover over a tick or tap it to see the tract.

Poverty

1 of 5 tracts is at least 1.5 times the ZIP code’s overall 4.6%, and 0 are at two-thirds of it or less.

Highest: Tract 7510.03, 15.9%.

Renters paying 30% or more of income

1 of 5 tracts is at least 1.5 times the ZIP code’s overall 41.7%, and 1 is at two-thirds of it or less.

Highest: Tract 7519.04, 75.4%. Lowest: Tract 7522.06, 12.1%.

Adults with a bachelor’s degree

0 of 5 tracts are at least 1.5 times the ZIP code’s overall 55.9%, and 1 is at two-thirds of it or less.

Lowest: Tract 7510.03, 35.8%.

Median household income

0 of 5 tracts are at least 1.5 times the typical tract’s $168,398, and 1 is at two-thirds of it or less.

Lowest: Tract 7510.03, $74,400.

American Community Survey 2020–2024 5-year estimates, by census tract. Income is capped at $250,000+ by the Census Bureau.

People

Who lives in ZIP Code 21704

Its median age of 38.6 is about the same as both Maryland (39.4) and the US (38.9). 23.2% of residents were born outside the US, and 31.2% speak a language other than English at home.

Age

Source: ACS 2020–2024 5-year, table A01001.

Show data
Age, ZIP Code 21704. Source: ACS 2020–2024 5-year, table A01001.
ZIP Code 21704MarylandUnited States
Under 18
32.7% ±2.2%
, number 6,534 ±593
22.2% ±0.1%
, number 1,376,500 ±6,234
22.0% ±<0.1%
, number 73,517,834 ±38,890
18 to 24
5.2% ±1.2%
, number 1,045 ±239
8.5% ±0.1%
, number 528,176 ±4,590
9.1% ±<0.1%
, number 30,597,362 ±37,780
25 to 34
6.8% ±1.2%
, number 1,362 ±260
13.2% ±<0.1%
, number 816,944 ±913
13.7% ±<0.1%
, number 45,806,540 ±10,200
35 to 44
19.4% ±1.7%
, number 3,885 ±408
13.6% ±0.1%
, number 843,268 ±6,048
13.2% ±<0.1%
, number 44,237,292 ±43,510
45 to 54
15.3% ±1.6%
, number 3,064 ±361
12.6% ±<0.1%
, number 779,854 ±872
12.2% ±<0.1%
, number 40,743,799 ±8,564
55 to 64
9.7% ±1.2%
, number 1,944 ±275
13.3% ±0.1%
, number 827,528 ±5,878
12.7% ±<0.1%
, number 42,386,044 ±41,500
65 to 74
6.8% ±1.0%
, number 1,370 ±223
9.9% ±0.1%
, number 611,969 ±4,603
10.2% ±<0.1%
, number 34,092,907 ±38,800
75 and over
4.0% ±0.9%
, number 802 ±178
6.8% ±0.1%
, number 421,772 ±4,224
7.0% ±<0.1%
, number 23,540,721 ±31,560
Embed

Race and ethnicity

Source: ACS 2020–2024 5-year, table A04001.

Show data
Race and ethnicity, ZIP Code 21704. Source: ACS 2020–2024 5-year, table A04001.
ZIP Code 21704MarylandUnited States
White, not Hispanic
50.2% ±3.0%
, number 10,041 ±849
46.6% ±0.1%
, number 2,890,956 ±3,348
57.4% ±<0.1%
, number 192,214,378 ±30,950
Hispanic or Latino
14.7% ±3.4%
, number 2,945 ±712
12.5%
, number 774,946
19.3% ±<0.1%
, number 64,759,370 ±1,547
Black, not Hispanic
11.3% ±2.6%
, number 2,257 ±547
28.9% ±0.1%
, number 1,796,433 ±5,732
11.9% ±<0.1%
, number 39,896,127 ±46,710
Asian, not Hispanic
17.8% ±2.6%
, number 3,561 ±567
6.5% ±<0.1%
, number 406,030 ±2,996
5.9% ±<0.1%
, number 19,678,814 ±22,770
Other or multiracial
6.0% ±1.7%
, number 1,202 ±347
5.4% ±0.1%
, number 337,646 ±7,378
5.5% ±<0.1%
, number 18,373,810 ±69,180
Embed

Language spoken at home

Source: ACS 2020–2024 5-year, table C16001.

Show data
Language spoken at home, ZIP Code 21704. Source: ACS 2020–2024 5-year, table C16001.
ZIP Code 21704MarylandUnited States
English only
68.8% ±3.8%
, number 12,891 ±1,056
78.9% ±0.2%
, number 4,617,626 ±11,120
77.7% ±0.1%
, number 245,767,039 ±221,000
Spanish
8.9% ±2.5%
, number 1,675 ±486
9.6% ±0.1%
, number 562,050 ±5,291
13.6% ±<0.1%
, number 42,869,908 ±143,800
Other Indo-European
10.9% ±3.6%
, number 2,037 ±692
4.7% ±0.1%
, number 276,389 ±6,795
3.9% ±<0.1%
, number 12,249,474 ±54,760
Asian and Pacific Island
7.8% ±2.1%
, number 1,465 ±404
3.9% ±0.1%
, number 225,214 ±5,746
3.6% ±<0.1%
, number 11,320,253 ±40,030
Arabic and other
3.6% ±1.7%
, number 670 ±320
2.9% ±0.1%
, number 168,354 ±6,134
1.2% ±<0.1%
, number 3,935,874 ±33,550
Embed

Marital status

Source: ACS 2020–2024 5-year, table A11001.

Show data
Marital status, ZIP Code 21704. Source: ACS 2020–2024 5-year, table A11001.
ZIP Code 21704MarylandUnited States
Now married
62.4% ±5.1%
, number 9,127 ±474
46.8% ±0.2%
, number 2,373,865 ±10,140
47.8% ±0.1%
, number 131,199,078 ±272,700
Never married
24.4% ±2.5%
, number 3,578 ±435
36.2% ±0.2%
, number 1,838,595 ±8,362
34.4% ±0.1%
, number 94,480,845 ±211,900
Divorced
8.2% ±1.5%
, number 1,193 ±235
9.7% ±0.1%
, number 491,701 ±5,743
10.6% ±<0.1%
, number 29,074,059 ±73,390
Widowed
3.7% ±1.0%
, number 544 ±149
5.5% ±0.1%
, number 278,780 ±3,883
5.6% ±<0.1%
, number 15,250,943 ±26,710
Separated
1.3% ±0.6%
, number 195 ±95
1.8% ±0.1%
, number 89,916 ±2,887
1.7% ±<0.1%
, number 4,592,038 ±29,170
Embed

Where people lived a year ago

Source: ACS 2020–2024 5-year, table A08001.

Show data
Where people lived a year ago, ZIP Code 21704. Source: ACS 2020–2024 5-year, table A08001.
ZIP Code 21704MarylandUnited States
Same home
91.0% ±3.3%
, number 17,885 ±1,244
88.7% ±0.2%
, number 5,443,612 ±11,300
87.7% ±0.1%
, number 290,692,803 ±173,800
Same county
3.5% ±1.5%
, number 681 ±292
5.2% ±0.1%
, number 321,641 ±8,362
6.3% ±<0.1%
, number 20,792,831 ±117,600
Another county in the state
4.0% ±1.7%
, number 778 ±339
2.8% ±0.1%
, number 172,731 ±5,429
3.1% ±<0.1%
, number 10,316,864 ±51,200
Another state
1.3% ±0.9%
, number 248 ±182
2.6% ±0.1%
, number 158,125 ±4,686
2.3% ±<0.1%
, number 7,577,400 ±40,570
Another country
0.3% ±0.4%
, number 66 ±78
0.7% ±<0.1%
, number 43,092 ±2,409
0.6% ±<0.1%
, number 2,060,087 ±23,560
Embed

Top countries of birth, among those born abroad

Source: ACS 2020–2024 5-year, table A07001.

Show data
Top countries of birth, among those born abroad, ZIP Code 21704. Source: ACS 2020–2024 5-year, table A07001.
ZIP Code 21704
India21.8%
, number 1,011
China, Excluding Hong Kong and Taiwan6.3%
, number 293
Korea5.3%
, number 246
Pakistan5.2%
, number 243
Ghana4.0%
, number 184
El Salvador3.3%
, number 155
Embed
All the numbers
People: ZIP Code 21704 compared with Maryland and the United States
IndicatorZIP Code 21704MarylandUSRank in Maryland*Table
Population
20,006 ±1,195
6,206,011
334,922,499
126thA00001
People per square mile
751 ±45
639
95
167thA00002
Land area (square miles)
27
–
–
–A00002
Median age
38.6 ±1.4
39.4 ±0.1
38.9 ±0.1
231stA01004
Under 18
32.7% ±2.2%
, number 6,534 ±593
22.2% ±0.1%
, number 1,376,500 ±6,234
22.0% ±<0.1%
, number 73,517,834 ±38,890
3rdB02002
65 and over
10.9% ±1.3%
, number 2,172 ±286
16.7% ±0.1%
, number 1,033,741 ±6,247
17.2% ±<0.1%
, number 57,633,628 ±50,010
321stB02002
Born outside the US
23.2% ±2.5%
, number 4,632 ±571
16.6% ±0.2%
, number 1,030,670 ±10,430
14.1% ±<0.1%
, number 47,349,078 ±143,600
51stA06001
Speak a language other than English at home
31.2% ±3.8%
, number 5,847 ±990
21.1% ±0.2%
, number 1,232,007 ±12,030
22.3% ±0.1%
, number 70,375,509 ±162,500
47thC16001
Veterans (adults)
6.7% ±1.5%
, number 888 ±201
6.8% ±0.1%
, number 327,493 ±4,654
6.2% ±<0.1%
, number 16,185,883 ±45,250
198thA16002
Living with a disability
6.4% ±1.2%
, number 1,246 ±245
11.6% ±0.1%
, number 710,452 ±6,555
13.3% ±<0.1%
, number 43,869,797 ±68,920
330thB18101
Women 15–50 who had a baby in the past year
5.0% ±2.7%
, number 226 ±124
5.1% ±0.1%
, number 74,365 ±1,886
5.1% ±<0.1%
, number 4,009,203 ±20,900
149thB13002
Lived in the same home a year ago
91.0% ±3.3%
, number 17,885 ±1,244
88.7% ±0.2%
, number 5,443,612 ±11,300
87.7% ±0.1%
, number 290,692,803 ±173,800
157thA08001
White, not Hispanic
50.2% ±3.0%
, number 10,041 ±849
46.6% ±0.1%
, number 2,890,956 ±3,348
57.4% ±<0.1%
, number 192,214,378 ±30,950
237thA04001
Hispanic or Latino
14.7% ±3.4%
, number 2,945 ±712
12.5%
, number 774,946
19.3% ±<0.1%
, number 64,759,370 ±1,547
67thA04001
Black, not Hispanic
11.3% ±2.6%
, number 2,257 ±547
28.9% ±0.1%
, number 1,796,433 ±5,732
11.9% ±<0.1%
, number 39,896,127 ±46,710
183rdA04001
Asian, not Hispanic
17.8% ±2.6%
, number 3,561 ±567
6.5% ±<0.1%
, number 406,030 ±2,996
5.9% ±<0.1%
, number 19,678,814 ±22,770
18thA04001

*1 is the highest. Population is ranked among all ZIP codes, and the rest among those of 1,000 people or more, whose figures can be ranked. Ranks use 5-year estimates, the only ones covering every ZIP code, so they can differ slightly from the figures here.

Income and work

Higher incomes than the US

The median household income is $161,063, higher than both Maryland ($103,678) and the US ($80,734).

Household income

Source: ACS 2020–2024 5-year, table A14001.

Show data
Household income, ZIP Code 21704. Source: ACS 2020–2024 5-year, table A14001.
ZIP Code 21704MarylandUnited States
Under $25,000
2.9% ±1.5%
, number 181 ±93
11.2% ±0.2%
, number 264,367 ±4,310
14.6% ±<0.1%
, number 18,908,588 ±41,540
$25,000 to $49,999
4.3% ±1.7%
, number 265 ±106
12.4% ±0.2%
, number 292,526 ±4,574
16.7% ±<0.1%
, number 21,624,902 ±39,130
$50,000 to $74,999
8.7% ±2.6%
, number 534 ±161
12.8% ±0.2%
, number 303,384 ±4,427
15.5% ±<0.1%
, number 20,031,683 ±36,850
$75,000 to $99,999
9.3% ±3.1%
, number 573 ±196
11.9% ±0.2%
, number 281,948 ±4,311
12.6% ±<0.1%
, number 16,319,799 ±42,700
$100,000 to $149,999
19.1% ±3.7%
, number 1,174 ±236
18.9% ±0.2%
, number 445,778 ±5,287
17.5% ±<0.1%
, number 22,670,921 ±58,280
$150,000 to $199,999
16.2% ±3.5%
, number 994 ±223
12.5% ±0.2%
, number 295,150 ±4,357
9.6% ±<0.1%
, number 12,405,370 ±57,560
$200,000 or more
39.4% ±3.9%
, number 2,415 ±279
20.3% ±0.2%
, number 479,775 ±5,298
13.4% ±0.1%
, number 17,266,233 ±82,370
Embed

What residents do for work

Source: ACS 2020–2024 5-year, table A17004.

Show data
What residents do for work, ZIP Code 21704. Source: ACS 2020–2024 5-year, table A17004.
ZIP Code 21704MarylandUnited States
Professional and business services
22.5% ±2.8%
, number 2,186 ±313
16.5% ±0.2%
, number 520,298 ±5,898
12.6% ±<0.1%
, number 20,282,450 ±59,650
Education and health care
21.5% ±2.9%
, number 2,089 ±314
23.9% ±0.2%
, number 753,666 ±7,286
23.5% ±0.1%
, number 37,913,663 ±133,200
Public administration
11.1% ±2.6%
, number 1,080 ±265
11.1% ±0.2%
, number 349,287 ±5,405
4.7% ±<0.1%
, number 7,624,243 ±43,950
Retail trade
8.8% ±2.4%
, number 858 ±236
8.9% ±0.2%
, number 281,480 ±4,884
10.8% ±<0.1%
, number 17,456,908 ±41,100
Manufacturing
7.0% ±1.9%
, number 680 ±195
4.8% ±0.1%
, number 149,942 ±3,085
9.9% ±<0.1%
, number 15,940,000 ±38,890
Arts, food and lodging
6.4% ±2.0%
, number 624 ±199
7.5% ±0.1%
, number 235,925 ±3,533
8.7% ±<0.1%
, number 13,952,453 ±52,980
Construction
5.7% ±2.4%
, number 557 ±238
7.3% ±0.1%
, number 229,276 ±4,049
6.9% ±<0.1%
, number 11,167,040 ±57,000
Finance, insurance and real estate
5.4% ±1.7%
, number 525 ±165
5.8% ±0.1%
, number 181,692 ±3,803
6.7% ±<0.1%
, number 10,783,159 ±41,000
Embed

Where workers come from and go

ZIP Code 21704 has 14,873 jobs and 10,166 employed residents. 14,246 people commute in to work and 9,539 commute out, while 627 both live and work here. The most commuters come from 21703.

Jobs in the ZIP code14,873
Employed residents10,166

Most commuters come from

  • 21703: 1,244
  • 21702: 1,010
  • 21701: 919

Most residents commute to

  • 20850: 833
  • 21701: 796
  • 20878: 466
Source: LEHD LODES 2023.
Show data
Who works here, and who commutes, ZIP Code 21704. Source: LEHD LODES 2023.
ZIP Code 21704
Live and work here627
Work here, live elsewhere14,246
Live here, work elsewhere9,539
Embed
All the numbers
Income and work: ZIP Code 21704 compared with Maryland and the United States
IndicatorZIP Code 21704MarylandUSRank in Maryland*Table
Median household income
$161,063 ±$11,190
$103,678 ±$597
$80,734 ±$166
46thA14006
Income per person
$59,928 ±$3,964
$52,979 ±$282
$44,673 ±$122
105thA14024
Income inequality (Gini index)
0.362 ±0.026
0.456 ±0.002
0.483
291stA14028
Living in poverty
2.9%† (too uncertain to lean on) ±2.1%
, number 581 ±411
9.4% ±0.2%
, number 574,017 ±10,970
12.5% ±0.1%
, number 40,735,661 ±275,900
299thA13004
Unemployment rate
3.3% ±1.5%
, number 333 ±154
4.9% ±0.1%
, number 162,200 ±3,720
5.2% ±<0.1%
, number 8,902,365 ±38,980
228thA17005
No health insurance
3.2% ±1.2%
, number 620 ±230
6.3% ±0.1%
, number 382,503 ±6,820
8.4% ±<0.1%
, number 27,734,911 ±158,900
226thA20001

*1 is the highest. Population is ranked among all ZIP codes, and the rest among those of 1,000 people or more, whose figures can be ranked. Ranks use 5-year estimates, the only ones covering every ZIP code, so they can differ slightly from the figures here.

Education

More college degrees than the US

57.4% of adults 25 and over have a bachelor’s degree or more, higher than both Maryland (43.4%) and the US (35.7%).

Highest level of education

Source: ACS 2020–2024 5-year, table A12001.

Show data
Highest level of education, ZIP Code 21704. Source: ACS 2020–2024 5-year, table A12001.
ZIP Code 21704MarylandUnited States
Less than high school
4.6% ±1.3%
, number 574 ±162
8.9% ±0.1%
, number 380,692 ±5,624
10.4% ±<0.1%
, number 23,992,410 ±82,490
High school only
18.0% ±3.1%
, number 2,237 ±410
23.4% ±0.3%
, number 1,008,111 ±10,890
26.0% ±0.1%
, number 60,094,716 ±262,500
Some college
20.0% ±2.5%
, number 2,483 ±345
24.3% ±0.2%
, number 1,043,756 ±9,983
27.9% ±0.1%
, number 64,356,961 ±143,900
Bachelor’s degree
29.0% ±4.1%
, number 3,603 ±553
22.7% ±0.2%
, number 975,248 ±9,194
21.6% ±0.1%
, number 49,868,171 ±191,400
Graduate degree
28.4% ±2.9%
, number 3,530 ±416
20.8% ±0.2%
, number 893,528 ±8,501
14.1% ±0.1%
, number 32,495,045 ±159,600
Embed
All the numbers
Education: ZIP Code 21704 compared with Maryland and the United States
IndicatorZIP Code 21704MarylandUSRank in Maryland*Table
Bachelor’s degree or more
57.4% ±4.4%
, number 7,133 ±692
43.4% ±0.3%
, number 1,868,776 ±12,520
35.7% ±0.1%
, number 82,363,216 ±249,200
59thA12001
High school graduate or more
95.4% ±4.1%
, number 11,853 ±875
91.1% ±0.4%
, number 3,920,643 ±19,360
89.6% ±0.2%
, number 206,814,893 ±389,500
101stA12001

*1 is the highest. Population is ranked among all ZIP codes, and the rest among those of 1,000 people or more, whose figures can be ranked. Ranks use 5-year estimates, the only ones covering every ZIP code, so they can differ slightly from the figures here.

Housing

Home values outran incomes

18.0% of households rent, lower than both Maryland (32.4%) and the US (34.8%). The median home is worth $612,000 and the median rent is $2,536. After inflation, home values rose 18% from 2010–2014 to 2020–2024, while household income rose 3%.

Housing costs and income, 2010–2014 to 2020–2024, after inflation

Source: ACS 5-year, table A10036, A18009, A14006.

Show data
Housing costs and income, 2010–2014 to 2020–2024, after inflation, ZIP Code 21704. Source: ACS 5-year, table A10036, A18009, A14006.
ZIP Code 21704MarylandUnited States
Median home value+18.2%+10.0%+42.6%
Median rent+33.5%+5.4%+15.6%
Median household income+2.7%+5.3%+13.7%
Embed

Types of homes

Source: ACS 2020–2024 5-year, table A10032.

Show data
Types of homes, ZIP Code 21704. Source: ACS 2020–2024 5-year, table A10032.
ZIP Code 21704MarylandUnited States
Single-family, detached
54.5% ±3.8%
, number 3,412 ±311
51.2% ±0.2%
, number 1,310,576 ±5,602
61.3% ±0.1%
, number 88,075,458 ±149,800
Single-family, attached
34.5% ±4.3%
, number 2,156 ±298
21.3% ±0.2%
, number 545,305 ±4,510
6.2% ±<0.1%
, number 8,955,086 ±33,580
2 to 4 units
1.7% ±1.5%
, number 107 ±95
3.6% ±0.1%
, number 92,100 ±2,777
7.7% ±<0.1%
, number 11,031,346 ±42,810
5 to 19 units
3.6% ±1.6%
, number 223 ±100
12.4% ±0.2%
, number 318,663 ±4,585
8.8% ±<0.1%
, number 12,625,154 ±51,990
20 or more units
5.4% ±2.1%
, number 339 ±133
10.2% ±0.2%
, number 260,547 ±3,882
10.3% ±<0.1%
, number 14,859,547 ±31,000
Mobile homes and other
0.3% ±0.6%
, number 20 ±38
1.3% ±0.1%
, number 33,593 ±1,554
5.7% ±<0.1%
, number 8,228,764 ±48,580
Embed

When homes were built

Source: ACS 2020–2024 5-year, table A10055.

Show data
When homes were built, ZIP Code 21704. Source: ACS 2020–2024 5-year, table A10055.
ZIP Code 21704MarylandUnited States
2010 or later
40.0% ±5.1%
, number 2,455 ±345
9.7% ±0.2%
, number 228,234 ±3,580
11.6% ±<0.1%
, number 14,996,534 ±51,640
2000 to 2009
35.3% ±4.5%
, number 2,169 ±302
11.7% ±0.2%
, number 275,484 ±4,333
13.8% ±<0.1%
, number 17,865,859 ±70,250
1980 to 1999
10.5% ±2.6%
, number 642 ±166
28.2% ±0.3%
, number 666,679 ±6,427
25.3% ±<0.1%
, number 32,758,140 ±75,080
1960 to 1979
6.9% ±1.8%
, number 421 ±114
25.0% ±0.3%
, number 590,908 ±6,412
23.9% ±<0.1%
, number 30,938,809 ±78,560
Before 1960
7.3% ±2.4%
, number 449 ±151
25.5% ±0.3%
, number 601,623 ±6,517
25.3% ±<0.1%
, number 32,668,154 ±83,060
Embed
All the numbers
Housing: ZIP Code 21704 compared with Maryland and the United States
IndicatorZIP Code 21704MarylandUSRank in Maryland*Table
Housing units
6,257 ±364
–
–
–A10001
Households
6,136 ±360
–
–
–A10008
People per household
3.21 ±0.13
2.57 ±0.01
2.53 ±0.01
21stA10003
Households that rent
18.0% ±3.1%
, number 1,106 ±200
32.4% ±0.3%
, number 765,363 ±6,619
34.8% ±0.1%
, number 45,017,354 ±163,600
191stA10060
Vacant homes
1.9%† (too uncertain to lean on) ±1.8%
, number 121 ±113
7.7% ±0.2%
, number 197,856 ±3,980
10.1% ±0.1%
, number 14,547,859 ±200,400
301stA10047, A10060
Median gross rent
$2,536 ±$150
$1,705 ±$8
$1,413 ±$2
20thA18009
Median home value
$612,000 ±$20,770
$419,900 ±$1,385
$332,700 ±$236
51stA10036
Renters paying 30% or more of income
33.8% ±10.0%
, number 374 ±130
48.7% ±0.7%
, number 372,433 ±6,216
47.6% ±0.2%
, number 21,422,415 ±63,960
268thA18002
Owners paying 30% or more of income
19.7% ±4.9%
, number 991 ±255
22.8% ±0.3%
, number 363,735 ±5,046
22.5% ±0.1%
, number 18,961,895 ±39,930
222ndA10040
Homes built before 1960
7.3% ±2.4%
, number 449 ±151
25.5% ±0.3%
, number 601,623 ±6,517
25.3% ±<0.1%
, number 32,668,154 ±83,060
289thA10055

*1 is the highest. Population is ranked among all ZIP codes, and the rest among those of 1,000 people or more, whose figures can be ranked. Ranks use 5-year estimates, the only ones covering every ZIP code, so they can differ slightly from the figures here.

Getting around

How people get around

63.1% of workers drive alone and 28.9% work from home. 50.1% of those who travel to work spend 30 minutes or more getting there, and 5.0% of households have no vehicle.

How people get to work

Source: ACS 2020–2024 5-year, table A09005.

Show data
How people get to work, ZIP Code 21704. Source: ACS 2020–2024 5-year, table A09005.
ZIP Code 21704MarylandUnited States
Drive alone
63.1% ±4.3%
, number 6,121 ±582
64.7% ±0.3%
, number 2,024,501 ±9,944
68.8% ±0.1%
, number 109,447,738 ±95,800
Carpool
4.8% ±1.3%
, number 470 ±132
7.7% ±0.1%
, number 241,457 ±3,595
8.5% ±<0.1%
, number 13,569,614 ±52,500
Public transit
1.1% ±0.9%
, number 102 ±91
4.7% ±0.1%
, number 146,225 ±3,803
3.5% ±<0.1%
, number 5,573,279 ±22,170
Walk
1.5% ±0.9%
, number 147 ±92
2.0% ±0.1%
, number 63,417 ±2,622
2.4% ±<0.1%
, number 3,772,609 ±17,080
Work from home
28.9% ±3.8%
, number 2,808 ±409
19.3% ±0.2%
, number 604,400 ±7,547
15.1% ±<0.1%
, number 24,042,489 ±82,860
Other
0.5% ±0.5%
, number 52 ±47
1.5% ±0.1%
, number 47,685 ±2,172
1.7% ±<0.1%
, number 2,708,365 ±17,940
Embed

Time spent getting to work

Source: ACS 2020–2024 5-year, table B09001.

Show data
Time spent getting to work, ZIP Code 21704. Source: ACS 2020–2024 5-year, table B09001.
ZIP Code 21704MarylandUnited States
Under 10 minutes
7.8% ±2.5%
, number 540 ±176
8.2% ±0.1%
, number 206,477 ±3,804
12.7% ±<0.1%
, number 17,153,542 ±40,730
10 to 19 minutes
23.6% ±4.4%
, number 1,626 ±332
22.9% ±0.3%
, number 577,728 ±7,052
28.7% ±<0.1%
, number 38,741,521 ±54,980
20 to 29 minutes
18.5% ±3.4%
, number 1,272 ±260
20.2% ±0.2%
, number 509,531 ±6,561
21.3% ±<0.1%
, number 28,723,420 ±52,330
30 to 39 minutes
10.8% ±2.4%
, number 747 ±178
19.1% ±0.2%
, number 480,913 ±6,304
16.9% ±<0.1%
, number 22,853,044 ±46,230
40 to 59 minutes
22.6% ±4.3%
, number 1,560 ±325
17.0% ±0.2%
, number 428,339 ±5,240
11.9% ±<0.1%
, number 16,024,037 ±44,090
60 minutes or more
16.6% ±3.3%
, number 1,147 ±246
12.7% ±0.2%
, number 320,297 ±5,326
8.6% ±<0.1%
, number 11,576,041 ±36,550
Embed

Vehicles per household

Source: ACS 2020–2024 5-year, table A10030.

Show data
Vehicles per household, ZIP Code 21704. Source: ACS 2020–2024 5-year, table A10030.
ZIP Code 21704MarylandUnited States
None
5.0% ±2.2%
, number 305 ±134
8.8% ±0.2%
, number 207,618 ±3,784
8.4% ±<0.1%
, number 10,793,323 ±36,450
One
22.6% ±4.1%
, number 1,385 ±267
33.5% ±0.3%
, number 791,417 ±7,203
33.1% ±0.1%
, number 42,801,892 ±122,600
Two
45.6% ±4.5%
, number 2,797 ±319
35.8% ±0.3%
, number 846,669 ±7,764
36.6% ±0.1%
, number 47,334,152 ±191,100
Three or more
26.9% ±4.3%
, number 1,649 ±280
21.9% ±0.2%
, number 517,224 ±5,905
21.9% ±0.1%
, number 28,298,129 ±85,940
Embed
All the numbers
Getting around: ZIP Code 21704 compared with Maryland and the United States
IndicatorZIP Code 21704MarylandUSRank in Maryland*Table
Drive to work alone
63.1% ±4.3%
, number 6,121 ±582
64.7% ±0.3%
, number 2,024,501 ±9,944
68.8% ±0.1%
, number 109,447,738 ±95,800
249thA09005
Take public transit
1.1%† (too uncertain to lean on) ±0.9%
, number 102 ±91
4.7% ±0.1%
, number 146,225 ±3,803
3.5% ±<0.1%
, number 5,573,279 ±22,170
181stA09005
Work from home
28.9% ±3.8%
, number 2,808 ±409
19.3% ±0.2%
, number 604,400 ±7,547
15.1% ±<0.1%
, number 24,042,489 ±82,860
32ndA09005
Commute 30 minutes or more
50.1% ±4.8%
, number 3,454 ±445
48.7% ±0.3%
, number 1,229,549 ±9,776
37.4% ±<0.1%
, number 50,453,122 ±73,600
176thB09001
Households with no vehicle
5.0% ±2.0%
, number 305 ±126
8.8% ±0.2%
, number 207,618 ±3,915
8.4% ±<0.1%
, number 10,793,323 ±27,220
156thA10030

*1 is the highest. Population is ranked among all ZIP codes, and the rest among those of 1,000 people or more, whose figures can be ranked. Ranks use 5-year estimates, the only ones covering every ZIP code, so they can differ slightly from the figures here.

Places

In and around ZIP Code 21704

Population, from the latest estimates available. Figures cover the whole of each place.

Places nearby

Its county

ZIP codes like this one

ZIP codes at least a third this size, with the closest income, education, age, housing and origins.

Turn ZIP Code 21704 into your planning report.

Social Explorer Studio builds an editable profile of any place, with tables and charts beside the county and state, and exports to Word, PDF and Excel.

Questions about ZIP Code 21704

What is the population of ZIP Code 21704?

20,006 people (±1,195), according to the ACS 2020–2024 5-year estimates. That’s the 126th largest of 470 ZIP codes in Maryland.

Is ZIP Code 21704 the same as the post office’s ZIP code?

Nearly. The Census Bureau draws ZIP Code Tabulation Areas from census blocks to match the Postal Service’s ZIP codes as closely as it can, since ZIP codes are mail routes rather than areas. These figures are for ZCTA 21704, which is centered in Bartonsville, and its edges can differ slightly from the mail route’s.

What county is ZIP Code 21704 in?

ZIP Code 21704 is in Frederick County.

What is the median household income in ZIP Code 21704?

$161,063 (±$11,190), according to the ACS 2020–2024 5-year estimates, higher than both Maryland ($103,678) and the US ($80,734).

What is the median age in ZIP Code 21704?

38.6 years (±1.4), according to the ACS 2020–2024 5-year estimates, about the same as both Maryland (39.4) and the US (38.9).

How much does housing cost in ZIP Code 21704?

ZIP Code 21704’s median home value is $612,000 (±$20,770) and its median gross rent is $2,536 (±$150) a month, according to the ACS 2020–2024 5-year estimates. 33.8% (±10.0%) of its renters pay 30% or more of their income on rent.

Where do people who work in ZIP Code 21704 live?

627 of its 14,873 jobs are held by people who live here. Of those who commute in, the most come from 21703, 21702, 21701.

Where does this census data come from?

The U.S. Census Bureau’s American Community Survey, through Social Explorer’s tables: the latest 1-year estimates where they exist, for the most recent numbers, and 5-year estimates otherwise. Each table lists its code, so you can find it again.

Is this data free to use?

Yes. You can read it, cite it, download the CSV and embed the charts, with no account. To map other variables, compare your own areas or build a report, see Social Explorer’s plans in a live demo.

Sources and how to cite

American Community Survey 2020–2024 5-year estimates, U.S. Census Bureau, from Social Explorer’s tables A00001, A00002, A01004, A04001, A06001, A08001, A09005, A10001, A10003, A10008, A10030, A10036, A10040, A10047, A10055, A10060, A12001, A13004, A14006, A14024, A14028, A16002, A17005, A18002, A18009, A20001, B02002, B09001, B13002, B18101, C16001. Maps by census tract use 2020–2024 5-year estimates, since the 1-year survey doesn’t cover tracts. Commuting: LEHD LODES 2023. These are estimates from a sample, each with its margin of error. Data retrieved November 14, 2026. How these profiles are made.

U.S. Census Bureau, American Community Survey 2020–2024 5-year estimates, via Social Explorer. “ZIP Code 21704.” https://www.socialexplorer.com/places/zip/21704. Accessed November 14, 2026.