Worked guide
Compare population growth within one Census vintage
Use consistent estimates, keep Puerto Rico separate, and distinguish census counts from July estimates.
A population change is meaningful only when the endpoints describe comparable places, reference dates, and methods.
Choose one estimate series
The Vintage 2025 series revises all included years. Compute 2024–2025 growth using both values from that series. Our April 1, 2020 census count is a separate dataset; the July 1 estimate is not a replacement for that count.
Preserve geographic identifiers
State FIPS codes are strings. Alabama is 01, not 1. Keep the leading zero when joining other tables. The national total comprises 50 states and DC; Puerto Rico must be handled separately.
Calculate absolute and percentage growth
import csv
with open("population-estimates.csv", newline="") as source:
rows = list(csv.DictReader(source))
by_key = {(r["state_fips"], int(r["year"])): int(r["population"]) for r in rows}
for state in sorted({r["state_fips"] for r in rows}):
before, after = by_key[state, 2024], by_key[state, 2025]
print(state, after - before, round(100 * (after / before - 1), 2))The supplied change column is the difference between consecutive July estimates in the same vintage. Its blank value for 2020 means the preceding year is outside this snapshot.
Source: Census state population estimates and revision notes.