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) year
  • CPI_base — Consumer Price Index value in the base (starting) year
  • years — 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.

  1. 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.
  2. 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.
  3. 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.
  4. 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.

Frequently Asked Questions

What is the difference between CPI and inflation rate?

CPI is an index number representing the absolute price level of a basket of consumer goods in a given year—for example, 275 in 2024. The inflation rate is the percentage change in CPI between two periods, typically expressed annually. If CPI was 260 last year and 275 this year, the inflation rate is roughly 5.8%. CPI tells you the level; inflation rate tells you the speed of price change. Both matter: CPI shows how expensive things are, while inflation shows whether prices are accelerating or decelerating.

How does average annual inflation differ from cumulative inflation?

Cumulative inflation is the total percentage change from the base year to the target year. For instance, if CPI doubled over 50 years, that's 100% cumulative inflation. Average annual inflation uses compound growth to show what constant yearly rate would produce the same result—in this case, roughly 1.4% per year. For comparing purchasing power or understanding whether an investment kept pace with inflation, average annual rate is usually more meaningful because it accounts for how inflation compounds year after year.

Why does my personal inflation feel higher than the official CPI rate?

Official CPI measures a standardized basket of goods and services weighted by average household spending. Your actual inflation depends on your consumption patterns. If you spend more than average on gasoline, healthcare, or housing—sectors that sometimes inflate faster than the basket average—you'll experience higher effective inflation. Geographic location matters too: urban renters face different housing inflation than homeowners in rural areas. CPI is a useful benchmark, but it won't perfectly match every individual's price experience.

Can I use this calculator to compare very old inflation rates with recent ones?

With caution. The CPI calculation methodology has evolved significantly since 1913. Modern CPI includes quality adjustments (a new phone with more features isn't counted as a pure price increase) and geometric mean calculations that older indices didn't use. Comparisons across very long periods (50+ years) are useful for broad trends but shouldn't be treated as precisely equivalent to recent year-to-year comparisons. For academic or policy work, always note that pre-1980s data is less methodologically consistent than post-1980s figures.

How frequently is CPI data updated, and can I use this calculator for future years?

The Bureau of Labor Statistics releases new CPI data monthly, with a slight lag of a few weeks. This calculator reflects actual reported CPI values. You cannot use it to forecast future inflation because CPI hasn't occurred yet—forecasting requires economic models and assumptions about monetary policy, supply chains, and demand. For projections, use inflation expectations from financial markets or economic forecasts, but recognize that actual future CPI will differ from any prediction.

Why would I need to know the average annual inflation rate instead of just the cumulative rate?

Average annual rate answers the question: 'If inflation were constant every year, what rate would it be?' This is critical for long-term financial planning. If you're evaluating whether a historical investment returned real gains, or calculating what salary growth you needed to maintain purchasing power over decades, average annual inflation is the right comparison. Cumulative inflation can mask whether price pressure was consistent or happened in bursts—average annual rate normalizes across time.

More finance calculators (see all)