53033 FipsDecoder
27021 County FIPS Code

Cass County

Minnesota · County seat: Walker · Active county or equivalent

View on CensusDepth ↗

FIPS code 27021 is Cass County, Minnesota. With a population of 30,288 (2022 ACS estimate), it ranks #36 in Minnesota and #1460 nationally. Cass County is part of the Brainerd, MN. The state FIPS code for Minnesota is 27. This code is used in Census Bureau, BLS, EPA, HUD, and USDA federal datasets to identify this county.

County FIPS

27021

State FIPS

27

MN

Population

30,288

2022 ACS · #1460 nationally

Density

15.0/mi²

people per sq mile

Land Area

2,022

sq miles

Urban/Rural

Nonmetro — completely rural

RUCC 9

How This FIPS Code Works

27 021
27 = State FIPS (Minnesota)
021 = County FIPS

The 5-digit FIPS code 27021 is formed by combining the 2-digit state identifier 27 (Minnesota) with the 3-digit county identifier 021. Together they uniquely identify Cass County in every US federal dataset. No two counties share the same 5-digit FIPS code.

Census ACS Data for FIPS 27021

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

Median Household Income

$61,970

ACS B19013_001E

Poverty Rate

12.2%

ACS B17001 (below poverty level)

Median Age

49.0

ACS B01002_001E

Metropolitan Area

Adjacent Counties (8)

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

Federal Datasets Using Code 27021

FIPS code 27021 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 27021 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 27021
import requests

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

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

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

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

ZIP Codes in Cass 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 Cass County. Why FIPS ≠ ZIP →

ZIP Code % in county
56641 100.0%
56672 100.0%
56662 100.0%
56626 100.0%
56655 100.0%
56452 100.0%
56484 99.6%
56435 99.3%
56633 81.7%
56473 80.7%
56474 71.9%
56466 71.1%
56472 62.6%
56468 46.8%
56448 36.9%
56479 31.9%
56433 29.6%
56636 27.6%
55785 25.8%
56477 11.4%
56481 7.6%
56401 5.5%
56461 2.6%
56464 0.9%

Other Counties in Minnesota

Aitkin County 27001 Anoka County 27003 Becker County 27005 Beltrami County 27007 Benton County 27009 Big Stone County 27011 Blue Earth County 27013 Brown County 27015 Carlton County 27017 Carver County 27019 Chippewa County 27023 Chisago County 27025 Clay County 27027 Clearwater County 27029 Cook County 27031 Cottonwood County 27033 Crow Wing County 27035 Dakota County 27037 Dodge County 27039 Douglas County 27041 Faribault County 27043 Fillmore County 27045 Freeborn County 27047 Goodhue County 27049 Grant County 27051 Hennepin County 27053 Houston County 27055 Hubbard County 27057 Isanti County 27059 Itasca County 27061 Jackson County 27063 Kanabec County 27065 Kandiyohi County 27067 Kittson County 27069 Koochiching County 27071 Lac qui Parle County 27073 Lake County 27075 Lake of the Woods County 27077 Le Sueur County 27079 Lincoln County 27081 Lyon County 27083 Mahnomen County 27087 Marshall County 27089 Martin County 27091 McLeod County 27085 Meeker County 27093 Mille Lacs County 27095 Morrison County 27097 Mower County 27099 Murray County 27101 Nicollet County 27103 Nobles County 27105 Norman County 27107 Olmsted County 27109 Otter Tail County 27111 Pennington County 27113 Pine County 27115 Pipestone County 27117 Polk County 27119 Pope County 27121 Ramsey County 27123 Red Lake County 27125 Redwood County 27127 Renville County 27129 Rice County 27131 Rock County 27133 Roseau County 27135 Scott County 27139 Sherburne County 27141 Sibley County 27143 St. Louis County 27137 Stearns County 27145 Steele County 27147 Stevens County 27149 Swift County 27151 Todd County 27153 Traverse County 27155 Wabasha County 27157 Wadena County 27159 Waseca County 27161 Washington County 27163 Watonwan County 27165 Wilkin County 27167 Winona County 27169 Wright County 27171 Yellow Medicine County 27173