53033 FipsDecoder
36003 County FIPS Code

Allegany County

New York · County seat: Belmont · Active county or equivalent

View on CensusDepth ↗

FIPS code 36003 is Allegany County, New York. With a population of 47,222 (2022 ACS estimate), it ranks #50 in New York and #1039 nationally. The state FIPS code for New York is 36. This code is used in Census Bureau, BLS, EPA, HUD, and USDA federal datasets to identify this county.

County FIPS

36003

State FIPS

36

NY

Population

47,222

2022 ACS · #1039 nationally

Density

45.9/mi²

people per sq mile

Land Area

1,029

sq miles

Urban/Rural

Nonmetro — urban 2.5K–19.9K, not adjacent to metro

RUCC 7

How This FIPS Code Works

36 003
36 = State FIPS (New York)
003 = County FIPS

The 5-digit FIPS code 36003 is formed by combining the 2-digit state identifier 36 (New York) with the 3-digit county identifier 003. Together they uniquely identify Allegany County in every US federal dataset. No two counties share the same 5-digit FIPS code.

Census ACS Data for FIPS 36003

From the 2022 ACS 5-year estimates — the same values you'd retrieve by querying the Census API with county FIPS 36003.

Median Household Income

$58,725

ACS B19013_001E

Poverty Rate

17.1%

ACS B17001 (below poverty level)

Median Age

38.9

ACS B01002_001E

Adjacent Counties (6)

Counties that share a border with Allegany County. Useful for regional analysis — these are the geographies you'd typically include when studying labor markets, commuting zones, or environmental spillovers around FIPS 36003.

Federal Datasets Using Code 36003

FIPS code 36003 appears as the county identifier in the following federal datasets. Analysts joining data across these sources use this code as the common geographic key.

Using FIPS Code 36003 in Code

Common patterns for querying federal datasets by this county's FIPS code. The leading zeros are significant — always treat FIPS codes as strings, not integers.

Census ACS API — Python 36003
import requests

url = "https://api.census.gov/data/2022/acs/acs5"
params = {
    "get":  "NAME,B19013_001E,B01003_001E",
    "for":  "county:003",
    "in":   "state:36",
    "key":  "YOUR_CENSUS_API_KEY",
}
r = requests.get(url, params=params)
data = r.json()  # [[header...], [Allegany County, New York, income, pop, ...]
SQL — filtering by county FIPS 36003
-- 5-digit combined FIPS (state + county)
SELECT * FROM your_table WHERE county_fips = '36003';

-- Some datasets store state and county separately
SELECT * FROM your_table
WHERE state_fips = '36'
  AND county_fips = '003';

-- ⚠ Never cast to integer — leading zeros are lost:
-- county_fips = 36003 is WRONG for this county
R — tidycensus 36003
library(tidycensus)

get_acs(
  geography = "county",
  variables = c(income = "B19013_001E", pop = "B01003_001E"),
  state     = "36",
  county    = "003",
  year      = 2022
)
Zero-padding reminder: FIPS codes must always be stored and compared as zero-padded strings. 36 (not 36) and 003 (not 3) — losing the leading zeros is one of the most common data-join bugs in federal datasets. Full guide →

ZIP Codes in Allegany County

ZIP codes do not align perfectly with county boundaries — a single ZIP code can span multiple counties, and a county can contain parts of many ZIP codes. The ratios below (from the Census 2020 ZCTA relationship file) show the land area share of each ZCTA that falls within Allegany County. Why FIPS ≠ ZIP →

ZIP Code % in county
14777 100.0%
14029 100.0%
14895 100.0%
14884 100.0%
14880 100.0%
14813 100.0%
14707 100.0%
14708 100.0%
14709 100.0%
14711 100.0%
14714 100.0%
14715 100.0%
14717 100.0%
14721 100.0%
14774 100.0%
14735 100.0%
14802 100.0%
14739 100.0%
14744 100.0%
14754 100.0%
14804 99.9%
14897 92.0%
14803 90.9%
14822 87.4%
14806 85.2%
14727 63.8%
14060 55.2%
14770 52.4%
14807 45.2%
14065 43.1%

Showing top 30 of 38 ZIP codes by residential address share.

Other Counties in New York