53033 FipsDecoder
31145 County FIPS Code

Red Willow County

Nebraska · County seat: McCook · Active county or equivalent

View on CensusDepth ↗

FIPS code 31145 is Red Willow County, Nebraska. With a population of 10,690 (2022 ACS estimate), it ranks #23 in Nebraska and #2432 nationally. The state FIPS code for Nebraska is 31. This code is used in Census Bureau, BLS, EPA, HUD, and USDA federal datasets to identify this county.

County FIPS

31145

State FIPS

31

NE

Population

10,690

2022 ACS · #2432 nationally

Density

14.9/mi²

people per sq mile

Land Area

717

sq miles

Urban/Rural

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

RUCC 7

How This FIPS Code Works

31 145
31 = State FIPS (Nebraska)
145 = County FIPS

The 5-digit FIPS code 31145 is formed by combining the 2-digit state identifier 31 (Nebraska) with the 3-digit county identifier 145. Together they uniquely identify Red Willow County in every US federal dataset. No two counties share the same 5-digit FIPS code.

Census ACS Data for FIPS 31145

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

Median Household Income

$58,344

ACS B19013_001E

Poverty Rate

12.2%

ACS B17001 (below poverty level)

Median Age

41.5

ACS B01002_001E

Adjacent Counties (5)

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

Federal Datasets Using Code 31145

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

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

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

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

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

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

ZIP Code % in county
69036 100.0%
69020 83.0%
69034 78.7%
69001 66.5%
69026 64.3%
69022 17.5%
69046 11.7%
69024 2.7%

Other Counties in Nebraska

Adams County 31001 Antelope County 31003 Arthur County 31005 Banner County 31007 Blaine County 31009 Boone County 31011 Box Butte County 31013 Boyd County 31015 Brown County 31017 Buffalo County 31019 Burt County 31021 Butler County 31023 Cass County 31025 Cedar County 31027 Chase County 31029 Cherry County 31031 Cheyenne County 31033 Clay County 31035 Colfax County 31037 Cuming County 31039 Custer County 31041 Dakota County 31043 Dawes County 31045 Dawson County 31047 Deuel County 31049 Dixon County 31051 Dodge County 31053 Douglas County 31055 Dundy County 31057 Fillmore County 31059 Franklin County 31061 Frontier County 31063 Furnas County 31065 Gage County 31067 Garden County 31069 Garfield County 31071 Gosper County 31073 Grant County 31075 Greeley County 31077 Hall County 31079 Hamilton County 31081 Harlan County 31083 Hayes County 31085 Hitchcock County 31087 Holt County 31089 Hooker County 31091 Howard County 31093 Jefferson County 31095 Johnson County 31097 Kearney County 31099 Keith County 31101 Keya Paha County 31103 Kimball County 31105 Knox County 31107 Lancaster County 31109 Lincoln County 31111 Logan County 31113 Loup County 31115 Madison County 31119 McPherson County 31117 Merrick County 31121 Morrill County 31123 Nance County 31125 Nemaha County 31127 Nuckolls County 31129 Otoe County 31131 Pawnee County 31133 Perkins County 31135 Phelps County 31137 Pierce County 31139 Platte County 31141 Polk County 31143 Richardson County 31147 Rock County 31149 Saline County 31151 Sarpy County 31153 Saunders County 31155 Scotts Bluff County 31157 Seward County 31159 Sheridan County 31161 Sherman County 31163 Sioux County 31165 Stanton County 31167 Thayer County 31169 Thomas County 31171 Thurston County 31173 Valley County 31175 Washington County 31177 Wayne County 31179 Webster County 31181 Wheeler County 31183 York County 31185