12-Digit FIPS Code: What It Is and How to Get It for a List of Addresses
A 12-digit FIPS code is the Census Bureau's ID (GEOID) for a block group, the smallest area most American Community Survey data is published for. Programs and datasets ask for it when the county or even the census tract is too coarse. Here is how the 12 digits are built and how to get one for every address in a Google Sheet.
Install TractPin free Free Google Sheets™ add-on by Tiny Lever
How the 12 digits break down
| Digits | Part | Example |
|---|---|---|
| 2 | State FIPS | 06 (California) |
| 3 | County FIPS | 037 (Los Angeles County) |
| 6 | Census tract | 207400 |
| 1 | Block group | 2 |
| 12 | Block group GEOID | 060372074002 |
The first 5 digits are the county FIPS code and the first 11 are the census tract GEOID. A 15-digit code is a census block (tract + 4-digit block number).
Get it for a list of addresses
- Put your addresses in a Google Sheet, one per row (
123 Main St, Springfield, IL 62701), or in separate street, city, state and ZIP columns. - Install TractPin (button above) and go to Extensions → TractPin → Geocode addresses.
- Click Geocode. With TractPin Pro, each row gets the state and county FIPS, census tract, the 1-digit block group and the 11-digit tract GEOID, written as text so leading zeros stay.
- Join the 11-digit tract GEOID and the block group in a new column. If the GEOID is in column J and the block group in column K:
=J2&K2. Copy it down. - Fix any "No match" rows (typos, missing ZIP) and click Geocode again; finished rows are skipped.
Keep the leading zero
States coded 01 to 09 (Alabama through Connecticut) start with a zero. If you paste codes into another sheet or a CSV, format the column as Plain text first, or 060372074002 becomes 60372074002 and stops matching.
Geocode US addresses in Google Sheets, with census tract GEOIDs and flood zones.
Questions
Is a 12-digit FIPS code the same as a block group GEOID?
Yes. It is the 11-digit census tract GEOID followed by the 1-digit block group number.
Is the block group in the free plan?
The free plan geocodes 250 addresses a month to latitude and longitude. Census geographies, including tract and block group, are in TractPin Pro.
Which census vintage is it?
TractPin uses the US Census Bureau Geocoder's current geographies (2020 census blocks and block groups). Check whether your program needs a different vintage.