Calculators.Life Calculator
Finance

Consumer Price Index (CPI) Calculator

Input Parameters

Scenarios
The CPI value at the beginning of the period.
The CPI value at the end of the period or target benchmark.
$
The baseline price, cost, or value to evaluate.
Time elapsed or projected future time span in years.
%
Expected yearly inflation rate used when projecting future prices.

Computed Results

Calculated Result
25
Cumulative Inflation Rate25%
Adjusted Equivalent Price$1,250.00
Purchasing Power Change-20%
Annualized Inflation Rate (CAGR)4.56%

The consumer price index calculator determines how inflation affects the cost of goods and the purchasing power of money over time. By comparing historical CPI values or applying a projected inflation rate, it helps you calculate cumulative inflation, annualized inflation (CAGR), and equivalent prices across different years.

Disclaimer: This calculator provides mathematical estimates for informational purposes only and does not constitute financial or investment advice.

Practical Use Cases

Understanding how prices change over time is essential for historical comparison and future planning. Common applications for this calculator include:

How to Use the Calculator

Follow these steps to calculate inflation, adjusted prices, or future costs:

  1. Select the Calculation Mode: Choose what you want to calculate as the primary result (e.g., inflation rate, adjusted price, purchasing power change, future price, or annualized CAGR).
  2. Enter the Starting and Ending CPI: Input the CPI index value for the beginning of your time period and the target or ending CPI value.
  3. Input the Original Price: Enter the baseline cost or value you want to adjust.
  4. Specify the Timeframe: Enter the number of years elapsed or the projected future time span.
  5. Set the Annual Inflation Rate: If projecting future prices, input the expected yearly inflation rate.

Formula and Explanation

The calculator uses several standard formulas depending on the selected mode and the values provided.

Cumulative Inflation Rate

This measures the total percentage change in prices between two periods.

Cumulative Inflation = ((Ending CPI − Starting CPI) ÷ Starting CPI) × 100

Adjusted Equivalent Price

This calculates the equivalent cost of an item in a different time period based on CPI changes.

Adjusted Price = Original Price × (Ending CPI ÷ Starting CPI)

Purchasing Power Change

This determines how much the value of money has decreased (inflation) or increased (deflation).

Purchasing Power Change = ((Starting CPI ÷ Ending CPI) − 1) × 100

Annualized Inflation Rate (CAGR)

The Compound Annual Growth Rate (CAGR) represents the average yearly inflation rate over the specified period.

CAGR = ((Ending CPI ÷ Starting CPI)^(1 ÷ Years) − 1) × 100

Future Price Projection

When projecting forward using a custom inflation rate rather than historical CPI data, the calculator uses compound interest logic.

Future Price = Original Price × (1 + (Annual Inflation Rate ÷ 100))^Years

Verified Scenario Walkthroughs

Here are examples of how the calculator processes different scenarios based on the formulas above.

Scenario 1: Calculate inflation over a decade

If you evaluate a $50,000 baseline price over 10 years, where the CPI moves from 250.5 to 310.2 (with a 2.5% custom rate input, though the mode is set to inflation):

Scenario 2: Adjusting small purchase for deflation

If you adjust a $10 item over 2 years during a deflationary period where the CPI drops from 150 to 140:

Scenario 3: Projecting future price with high inflation

If you project the future cost of a $1,000,000 asset over 20 years assuming an 8.5% annual inflation rate (using the "future" calculation mode):

Scenario 4: Calculate purchasing power loss

If you measure purchasing power over 50 years where the CPI doubles from 200 to 400 for a $100 baseline:

Inputs and Outputs

The table below defines the data used and generated by the calculator.

Field NameTypeDescription
Calculation ModeInputDetermines which metric is displayed as the primary result.
Starting CPI IndexInputThe CPI value at the beginning of the period.
Ending / Target CPI IndexInputThe CPI value at the end of the period or target benchmark.
Original Price / AmountInputThe baseline price, cost, or value to evaluate.
Number of YearsInputTime elapsed or projected future time span in years.
Annual Inflation RateInputExpected yearly inflation rate used when projecting future prices.
Calculated ResultOutputThe primary metric based on the selected calculation mode.
Cumulative Inflation RateOutputThe total percentage change in the CPI between the starting and ending periods.
Adjusted Equivalent PriceOutputThe original price scaled by the change in the CPI.
Purchasing Power ChangeOutputThe percentage change in the value of money between the two periods.
Annualized Inflation Rate (CAGR)OutputThe average yearly inflation rate required to move from the starting CPI to the ending CPI over the specified years.

Frequently Asked Questions

What is the difference between cumulative inflation and annualized inflation?

Cumulative inflation measures the total percentage change in prices over an entire period, regardless of how long that period is. Annualized inflation (CAGR) calculates the average yearly rate of change required to reach that total cumulative inflation over the specified number of years.

How does inflation affect purchasing power?

Inflation decreases purchasing power. As the general price level of goods and services rises (inflation), a fixed amount of money buys fewer goods and services than it did previously. Conversely, deflation increases purchasing power.

Author portrait
About the Author
Arnab Biswas

Calculator developer and SEO strategist who builds practical online calculators and tests calculation logic, input handling, and expected results using real-world scenarios.