How to find historical inflation data for any country
Official inflation data is scattered across dozens of statistical agencies. This guide shows the fastest routes to historical CPI data for major economies and the best free databases for cross-country research.
Inflation data exists for most countries going back decades — sometimes centuries. The challenge is not availability but navigation: each national statistical office publishes in its own format, uses its own base year, and updates on its own schedule. International aggregators help, but they lag national releases and sometimes substitute different measures.
This guide maps the fastest routes to official data for the major economies and the best free databases for anyone doing cross-country or long-run research.
Go to the national statistical office first
For the most recent and most detailed data, the national statistical office (NSO) is always the primary source. Key offices:
- United States: Bureau of Labor Statistics — bls.gov/cpi. Provides CPI-U, CPI-W, and C-CPI-U going back to 1913. Data downloads available in table and CSV formats.
- United Kingdom: Office for National Statistics — ons.gov.uk. CPI and CPIH data back to 1988; RPI data back to 1947. The ONS also provides a time series download tool.
- Euro area: Eurostat — ec.europa.eu/eurostat. HICP for all EU member states from 1996. The Eurostat data browser allows downloads in multiple formats.
- Armenia: Statistical Committee of Armenia — armstat.am. Monthly CPI from 1993.
Use FRED for US data and convenient APIs
The Federal Reserve Bank of St. Louis maintains FRED (Federal Reserve Economic Data), one of the most useful free economic data portals in the world. It hosts hundreds of inflation-related time series with an easy-to-use API.
Key FRED series for inflation:
- CPIAUCSL — CPI-U, all urban consumers, seasonally adjusted, monthly from 1947
- CPILFESL — Core CPI-U (less food and energy), seasonally adjusted
- PCEPI — PCE price index, the Fed's preferred measure
- PCEPILFE — Core PCE price index
FRED's API allows programmatic downloads in JSON or CSV. See the FRED API documentation.
Use the World Bank for multi-country annual data
The World Bank's World Development Indicators (WDI) dataset includes annual CPI inflation for virtually every country from 1960 onwards, sourced from IMF International Financial Statistics. This is the best starting point for long-run, multi-country comparisons.
Access the inflation indicator directly: World Bank WDI — Inflation, consumer prices (annual %). Data is licensed CC BY 4.0 and can be downloaded in CSV, Excel, or JSON. Note that WDI data lags national releases by weeks to months.
Use the IMF for monthly data and emerging markets
The International Monetary Fund's data portal provides monthly CPI data for IMF member countries, including both national CPIs and harmonised HICP for EU countries. The IMF moved to a new SDMX-based API in late 2025.
Access at: IMF Data portal. The CPI dataset (IMF.STA:CPI) includes monthly indices, annual rates, and category breakdowns for most countries. For the API endpoint: api.imf.org/external/sdmx/.
For emerging markets and countries where the World Bank data has gaps, the IMF is often the best secondary source. Many base-year rebasing events are documented in IMF country reports.
Handle base years and rebasing carefully
Every CPI is expressed as an index relative to a base year, assigned a value of 100. When a statistical office rebases (changes the base year), the entire historical series is rescaled. This can make it look like inflation changed when it didn't — it is a purely mechanical transformation.
Always check which base year an index uses before comparing series. The US CPI uses 1982–84 = 100. The UK ONS rebased to 2015 = 100 in 2017. Eurostat uses 2015 = 100 for HICP.
When you need to splice series across a rebase, calculate the annual rate of change (percentage change year-on-year), which is base-year-independent, rather than comparing index levels directly. See the rebasing glossary entry for a worked example.
Sources & further reading
Terms in this guide
Frequently asked questions
Is historical inflation data free to use?
Most official inflation data is free and open. BLS data is in the public domain. World Bank WDI is CC BY 4.0. Eurostat data is free for most uses with attribution. ONS data is Open Government Licence. The IMF publishes its own data freely but some series from third-party statistical offices held in FRED or the IMF database may have restrictions — always check the source licence. FRED explicitly notes which series are third-party-copyrighted.
What is the longest inflation dataset available?
The longest continuous inflation series are for the United Kingdom (the ONS Bank of England consumer price series goes back to 1800, available from the Bank of England research datasets) and the United States (CPI back to 1913 from the BLS; various historical reconstructions go back to 1800 or earlier). For most other countries, monthly data begins in the 1950s–1980s. Some emerging market series have gaps during hyperinflationary periods when official statistics were unreliable.