Calculate CPI from market basket costs, or use U.S. CPI-U data for 1913–2025 to convert buying power between years and find the inflation rate.

Annual U.S. CPI-U, all items, city average (1982–84 = 100), 1913–2025. Entered CPI values must use one series and base.

Optional settings

Consumer Price Index Formula

The following is a simplified fixed-basket price-index formula. CPI inflation between two index periods is (ending CPI / starting CPI − 1) × 100; equivalent buying power is the starting amount multiplied by that index ratio. Annual U.S. CPI-U data in this calculator cover 1913–2025; the published BLS annual value for 2025 is 321.943.

CPI = Ct / C0 × 100
  • Where CPI is the consumer price index
  • Ct is the cost of the market basket in the current period
  • C0 is the cost of the market basket in the base period

The cost of the market basket in the current period refers to the total amount of money required to purchase all the goods and services included in the market basket.

The cost of the market basket in the base period refers to the total expense of purchasing a specific set of goods and services during a particular period that serves as a reference point for comparison in economic analysis.

What is the Consumer Price Index?

The Consumer Price Index (CPI) is a measure used to track changes in the average price of goods and services purchased by households. It helps gauge inflation by comparing the current prices of a basket of commonly bought items to their prices in a selected base period.


Frequently Asked Questions

What is the purpose of calculating CPI inflation?
The purpose of calculating CPI inflation is to measure the average change over time in the prices paid by urban consumers for a market basket of consumer goods and services. This helps in understanding the purchasing power of a currency and the overall economic health.

How can CPI be used in personal finance?
CPI can be used in personal finance to adjust the value of salaries, pensions, or savings to maintain purchasing power over time. It’s also useful for setting financial goals and budgeting, as it reflects the cost of living changes.

What factors can influence the CPI?
Several factors can influence the CPI, including changes in production costs, technological advances, supply and demand dynamics, policy changes, and external economic factors like oil prices or international trade conditions.

Can CPI be used to compare the cost of living between different cities or countries?
CPI index levels measure price change relative to a reference period; they do not measure price-level or living-cost differences between cities or countries. Use a purpose-built geographic price comparison instead.


consumer price index formula