Skip to content
ZipNumbers

Allegany County · Maryland

ZIP code 21540

Population, income, housing costs and the sales tax rate charged on purchases inside ZIP 21540 — Census 2019-2023 ACS 5-year, no modelled estimates.
Population
93

ZCTA residents

Median income
$73,125

Household, past 12 months

Median home
$50,000

Owner-occupied value

Sales tax
6%

Maryland state rate

Quick answer

ZIP 21540 sits in Allegany County, Maryland and is home to 93 people. Median household income is $73,125, the median home is worth $50,000 and median gross rent is $638. 81.1% of households own their home, and purchases are taxed at 6% (Maryland state rate).

County
Allegany County

FIPS 24001

State
Maryland (MD)

477 ZIPs covered

Area codes
Not published

No NANPA match for this ZIP

Metro area
Outside covered metros

Rate jurisdiction used for tax

The numbers for 21540

American Community Survey 2019-2023 ACS 5-year estimates for this ZCTA.

Population
93ZIP 21540 residents
Median household income
$73,125Past 12 months, inflation adjusted
Median home value
$50,000Owner-occupied units
Median gross rent
$638Rent plus utilities, monthly
Median age
44.3 yrsAll residents
Homeownership rate
81.1%Owner-occupied households

Sales tax in 21540

What a purchase inside this ZIP costs at checkout.

Rate applied
6%State base rate only
Tax on $100
$6Rounded to the dollar
Tax on $1,000
$60Before any exemptions

Maryland levies 6% statewide with no local add-ons. Check the county page for the local component before you quote a price.

Affordability in this ZIP

Derived from the Census medians above — indicative, not an offer.

Rent burden
10%Median rent ÷ median income
Price-to-income
0.7×Home value ÷ household income
Est. mortgage
$259/mo20% down, 30-yr at 6.75%
Poverty rate
5.4%Residents below poverty line

A rent burden above 30% is the federal threshold for cost-burdened households, and a price-to-income multiple above 4× is generally considered a stretched housing market. The mortgage figure is principal and interest only — taxes, insurance and HOA dues are extra.

How 21540 compares

ZIP 21540 against the median ZIP in Allegany County and across Maryland.

MeasureZIP 21540County medianState medianvs state
Median household income$73,125$59,551$104,338-30%
Median home value$50,000$148,300$401,000-88%
Median gross rent$638$810$1,600-60%
Population937324,995-98%

Medians are computed across the 13 ZIP areas in Allegany County and the 477 ZIP areas in Maryland.

Statewide rank

Where this ZIP places among all 477 Maryland ZIP areas.

Income

richer than 18% of 428 state ZIPs

#349
Home value

above 0% of 425 state ZIPs

#425
Population

larger than 5% of 477 state ZIPs

#452

Comparable ZIP codes

Maryland ZIP areas with almost the same household income.

ZIPCountyIncomeHome valueRent
20747Prince George's County$72,931$325,400$1,635
21524Allegany County$73,661$140,700$1,046
21673Talbot County$72,500$351,400$1,360
21651Kent County$71,983$259,500$1,245
21561Garrett County$71,964$288,800
21610Kent County$74,375$219,000$1,063

Nearby ZIP codes

Other ZIP codes filed under Allegany County.

ZIP 21540 questions

Common questions about this ZIP code.

Where is ZIP code 21540?
ZIP 21540 lies mostly in Allegany County, Maryland. County assignment follows the largest share of land area, so a ZIP straddling a county line is filed under its dominant county.
What sales tax do I pay in 21540?
Maryland charges 6% statewide.
Is 21540 expensive to live in?
Median rent runs $638 a month, about 10% of median household income, and the median home is worth $50,000-88% against the typical Maryland ZIP.
Is a ZCTA the same as a postal ZIP code?
Not exactly. The Census builds ZIP Code Tabulation Areas from the ZIP codes of addresses inside each census block, so a ZCTA can differ slightly from the USPS delivery route of the same number, and PO-box-only ZIPs have no ZCTA at all.

Related pages for this area.

Sources & transparency

Every figure on this page is a published estimate for ZIP Code Tabulation Area 21540, except the affordability ratios and mortgage estimate, which we derive from those medians and label as estimates.

Last reviewed December 2024. Figures are published for reference and can change; verify with the source agency before filing or contracting. How we build and check this data.