53033 FipsDecoder
47187 County FIPS Code

Williamson County

Tennessee · County seat: Franklin · Active county or equivalent

View on CensusDepth ↗

FIPS code 47187 is Williamson County, Tennessee. With a population of 248,897 (2022 ACS estimate), it ranks #6 in Tennessee and #276 nationally. Williamson County is part of the Nashville-Davidson--Murfreesboro--Franklin, TN. The state FIPS code for Tennessee is 47. This code is used in Census Bureau, BLS, EPA, HUD, and USDA federal datasets to identify this county.

County FIPS

47187

State FIPS

47

TN

Population

248,897

2022 ACS · #276 nationally

Density

427.2/mi²

people per sq mile

Land Area

583

sq miles

Urban/Rural

Metro — 1M+ population

RUCC 1

How This FIPS Code Works

47 187
47 = State FIPS (Tennessee)
187 = County FIPS

The 5-digit FIPS code 47187 is formed by combining the 2-digit state identifier 47 (Tennessee) with the 3-digit county identifier 187. Together they uniquely identify Williamson County in every US federal dataset. No two counties share the same 5-digit FIPS code.

Census ACS Data for FIPS 47187

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

Median Household Income

$125,943

ACS B19013_001E

Poverty Rate

4.2%

ACS B17001 (below poverty level)

Median Age

40.0

ACS B01002_001E

Metropolitan Area

Adjacent Counties (7)

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

Federal Datasets Using Code 47187

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

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

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

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

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

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

ZIP Code % in county
37069 100.0%
37179 100.0%
37067 100.0%
37064 99.2%
37062 93.2%
37046 92.0%
37135 88.6%
37027 86.4%
37014 69.4%
38476 42.3%
37174 23.7%
37060 12.7%
37221 8.1%
37025 3.2%
38401 2.1%
37215 1.7%

Other Counties in Tennessee

Anderson County 47001 Bedford County 47003 Benton County 47005 Bledsoe County 47007 Blount County 47009 Bradley County 47011 Campbell County 47013 Cannon County 47015 Carroll County 47017 Carter County 47019 Cheatham County 47021 Chester County 47023 Claiborne County 47025 Clay County 47027 Cocke County 47029 Coffee County 47031 Crockett County 47033 Cumberland County 47035 Davidson County 47037 DeKalb County 47041 Decatur County 47039 Dickson County 47043 Dyer County 47045 Fayette County 47047 Fentress County 47049 Franklin County 47051 Gibson County 47053 Giles County 47055 Grainger County 47057 Greene County 47059 Grundy County 47061 Hamblen County 47063 Hamilton County 47065 Hancock County 47067 Hardeman County 47069 Hardin County 47071 Hawkins County 47073 Haywood County 47075 Henderson County 47077 Henry County 47079 Hickman County 47081 Houston County 47083 Humphreys County 47085 Jackson County 47087 Jefferson County 47089 Johnson County 47091 Knox County 47093 Lake County 47095 Lauderdale County 47097 Lawrence County 47099 Lewis County 47101 Lincoln County 47103 Loudon County 47105 Macon County 47111 Madison County 47113 Marion County 47115 Marshall County 47117 Maury County 47119 McMinn County 47107 McNairy County 47109 Meigs County 47121 Monroe County 47123 Montgomery County 47125 Moore County 47127 Morgan County 47129 Obion County 47131 Overton County 47133 Perry County 47135 Pickett County 47137 Polk County 47139 Putnam County 47141 Rhea County 47143 Roane County 47145 Robertson County 47147 Rutherford County 47149 Scott County 47151 Sequatchie County 47153 Sevier County 47155 Shelby County 47157 Smith County 47159 Stewart County 47161 Sullivan County 47163 Sumner County 47165 Tipton County 47167 Trousdale County 47169 Unicoi County 47171 Union County 47173 Van Buren County 47175 Warren County 47177 Washington County 47179 Wayne County 47181 Weakley County 47183 White County 47185 Wilson County 47189