What is the Consumer Price Index?
The Consumer Price Index (CPI) is the primary gauge of inflation in the United States, maintained monthly by the Bureau of Labor Statistics. Rather than tracking individual prices, CPI measures how the cost of a fixed basket of goods and services—housing, food, transport, healthcare, and more—changes over time.
This basket represents what a typical urban household actually spends money on. Each item has a weight based on its importance to household budgets. Shelter, for instance, carries more weight than salt because families spend far more on rent or mortgages. By tracking this weighted basket from year to year, CPI reveals whether purchasing power is shrinking (prices rising) or strengthening (prices falling).
CPI is distinct from other inflation measures: the GDP deflator includes all domestic output, while the Producer Price Index (PPI) tracks wholesale prices before they reach consumers.
How CPI Inflation Is Calculated
The CPI inflation rate shows the percentage change in prices between two years. The calculation follows a straightforward logic:
- Select a base year — the reference point from which you measure price change
- Select a target year — the end period you're comparing to
- Find the CPI values for both years from BLS data
- Apply the formula to get the cumulative rate or average annual rate
For example, if CPI was 100 in 2000 and 150 in 2020, prices doubled over two decades. The cumulative inflation was 50%, meaning a dollar in 2000 would cost $1.50 in 2020 in nominal terms.
When you calculate inflation across longer periods, the average annual rate (using compound growth) matters more than cumulative change. A 100% inflation over 50 years is roughly 1.4% per year, whereas 100% over 5 years is roughly 14.9% per year.
CPI Inflation Formula
Two related formulas govern this calculator:
Cumulative Inflation Rate = [(CPI_target − CPI_base) ÷ CPI_base] × 100%
Average Annual Rate = (CPI_target ÷ CPI_base)^(1/years) − 1
CPI_target— Consumer Price Index value in the target (end) yearCPI_base— Consumer Price Index value in the base (starting) yearyears— Number of years between base and target years
CPI vs. CPI Inflation: Key Distinction
A common source of confusion: CPI itself is an index level (a number, typically around 250–300 today), while CPI inflation is the rate of change between two points in time (expressed as a percentage).
Think of it this way: CPI is like a snapshot of absolute price levels in a given year, while CPI inflation is the speed at which those prices move from one year to the next. CPI tells you the cost of living; CPI inflation tells you whether your salary needs to keep pace with rising prices.
If CPI rises from 240 to 250, that's a 4.2% inflation rate. Both numbers matter: the index shows price direction, but the rate shows whether you're gaining or losing purchasing power.
Key Considerations When Using This Calculator
Understanding inflation requires attention to several important nuances that affect interpretation.
- CPI doesn't capture individual experience — The national CPI basket reflects an average urban household. Your personal inflation may differ significantly if you spend heavily on sectors rising faster than the average (healthcare, education) or slower (electronics). Regional CPI variations also matter—coastal cities often see different inflation rates than rural areas.
- Historical data before 1913 is unavailable — This calculator uses official BLS data starting from 1913. Earlier periods require alternative indices or primary sources. Additionally, CPI methodology has evolved (basket composition changes, quality adjustments, housing measurement), so very old comparisons aren't perfectly comparable to modern figures.
- Nominal vs. real returns and wages — A salary increase of 3% sounds positive until inflation runs at 4%—your real purchasing power actually declined. Always compare wage or investment gains against the inflation rate over the same period to understand true economic progress.
- Cumulative versus average rates tell different stories — A 100% cumulative inflation over 40 years (roughly 1.7% annually) is far gentler than 100% over 5 years (roughly 14.9% annually). For long periods, average annual rate is more useful for understanding true price pressure.