Tiny Lever

FIPS Code Lookup by Address: County FIPS for One Address or a Whole List

FIPS codes identify US states (2 digits) and counties (5 digits, state + county). They are the key for joining your addresses to Census, BLS, CDC or USDA data. Here's how to add them to a list of addresses without looking each one up.

One address: the free Census lookup

For a single address, use the US Census Bureau Geocoder at geocoding.geo.census.gov. Choose Find Geographies Using… Address, enter the street, city, state and ZIP, and the result lists the state code, county code and census tract. Put the 2-digit state and 3-digit county codes together for the 5-digit county FIPS.

Need the 12-digit code (state, county, tract and block group)? See 12-digit FIPS codes.

A whole list in Google Sheets

Steps

  1. Install TractPin from the Google Workspace Marketplace (button below). It's free to start.
  2. Open your Google Sheet. Put addresses in one column (123 Main St, Springfield, IL 62701), or in separate street, city, state and ZIP columns.
  3. Go to Extensions → TractPin → Geocode addresses. TractPin finds your address column automatically.
  4. Click Geocode. Results fill the empty columns to the right; your data is never overwritten.
  5. Fix any "No match" rows (typos, missing ZIP) and click Geocode again. Finished rows are skipped.

TractPin Pro adds the county name, the 2-digit state FIPS and the 3-digit county FIPS. To make the 5-digit county FIPS, use =G2&H2 (both are text, so leading zeros stay).

TractPin for Google Sheets

Free: 250 addresses a month with latitude and longitude. Pro adds county, FIPS, census tract, block group and FEMA flood zone.

Install free

Questions

Can I get FIPS from just a ZIP code?

ZIP codes can cross county lines, so a street address is more accurate. TractPin needs a street address.

Why do my FIPS codes lose leading zeros in other tools?

Sheets treats them as numbers. TractPin writes them as text so 06037 stays 06037.