← All datasets

Inflation CPI

US inflation in one free CSV download: the full Consumer Price Index back to January 1913, from the Bureau of Labor Statistics CPI-U all-items series (public domain), 1,365 monthly rows plus an annual file built to join everything else on the site. Monthly rows carry the index (base 1982-84 = 100, pinned by test), month-over-month change and the year-over-year inflation rate as commonly quoted, including the 9.1 percent of June 2022 by test. The annual file carries the annual-average index, annual inflation (the 13.5 percent 1980 peak and the Depression's double-digit deflation both by test), and USD_Multiplier_To_Latest, the deflator column: multiply any historical dollar amount by it and you have current dollars, which makes this file the natural join for the Super Bowl ad costs, James Bond budgets and Powerball jackpots already in the catalog (a 1913 dollar multiplies past 30). One honest hole: BLS never published October 2025 because of the government shutdown, and the gap ships as a missing row, not an interpolation. Eight acceptance tests, one enforcing the 25 percent fill rule on every column.
1,478 rows 2 joinable files last pulled 2026-11-13
Where would you start?
Pick a question, or ask your own and answer it; publish what you find as an insight. The same question can carry many insights from different angles.
  • Which decades eroded the dollar fastest?
  • How long did post-spike inflation take to normalize, episode by episode?
  • What does a 1950 dollar equal across each decade since?
CPI Monthly 1,365 rows × 7 columns
DateYearMonthCPIMoM_PctYoY_PctAs_Of
CPI Annual + Dollar Multiplier 113 rows × 6 columns
YearCPI_Annual_AvgInflation_PctUSD_Multiplier_To_LatestLatest_YearAs_Of

Questions and answers

What is the Inflation CPI dataset?

US inflation in one free CSV download: the full Consumer Price Index back to January 1913, from the Bureau of Labor Statistics CPI-U all-items series (public domain), 1,365 monthly rows plus an annual file built to join everything else on the site. Monthly rows carry the index (base 1982-84 = 100, pinned by test), month-over-month change and the year-over-year inflation rate as commonly quoted, including the 9.1 percent of June 2022 by test. The annual file carries the annual-average index, annual inflation (the 13.5 percent 1980 peak and the Depression's double-digit deflation both by test), and USD_Multiplier_To_Latest, the deflator column: multiply any historical dollar amount by it and you have current dollars, which makes this file the natural join for the Super Bowl ad costs, James Bond budgets and Powerball jackpots already in the catalog (a 1913 dollar multiplies past 30). One honest hole: BLS never published October 2025 because of the government shutdown, and the gap ships as a missing row, not an interpolation. Eight acceptance tests, one enforcing the 25 percent fill rule on every column.

How big is the Inflation CPI dataset?

1,478 rows across 2 joinable files, with 13 columns in total: Date, Year, Month, CPI, MoM_Pct, YoY_Pct, As_Of, Year, CPI_Annual_Avg, Inflation_Pct, USD_Multiplier_To_Latest, Latest_Year, As_Of.

Where does the data come from?

It is built by programmatically scraping download.bls.gov, last pulled on 2026-11-13. Datasets are versioned; older versions stay downloadable.

Is the dataset free to download?

Yes. Every CodeSights dataset is completely free as a CSV download; a free account is all it takes. Anyone can preview the data without signing in.

Can I see the code that built this dataset?

Yes. The exact Python scraper that built it is viewable on the dataset page by any signed-in member, so every number is reproducible.

How do the files join?

Join the files on Year. The annual file's USD_Multiplier_To_Latest converts any year's dollars to current dollars, so it joins to every dollar column in the catalog.

Can the data contain errors?

Automated scraping leaves room for error and the underlying sources change over time, so no version is guaranteed accurate or complete. If a number matters, verify it against the original source.

Browse every free dataset on CodeSights