The inflation rate from CPI is calculated as the percentage change between two Consumer Price Index values: subtract the earlier CPI from the later CPI, divide by the earlier CPI, and multiply by 100. This formula is how raw CPI index numbers become the percentage rates you see in news headlines and central bank reports. It works on any two CPI readings — annual, quarterly, or monthly — and returns the average inflation over the period you measured. Because CPI tracks the price of a fixed basket of consumer goods and services, the result reflects what households actually pay, not just one sector or commodity. Once you have that rate, two practical uses open up: read it as a historical figure for the period you compared, or feed it into a projection tool to see how a similar rate would change the value of money over time. The Inflation Calculator takes a rate you supply — whether it came from CPI, a central bank target, or your own assumption — and applies it to any dollar amount over any number of years, returning both the future cost and the future purchasing power in today's dollars. It does not pull CPI data itself; you bring the rate, and the tool does the compounding.

The CPI Inflation Rate Formula in Plain English
Consumer Price Index numbers are published as index levels, not as rates. A CPI reading of 280 in one year and 292 the next does not, on its own, say how fast prices rose — it only shows where the index sits. To turn those two numbers into an inflation rate, calculate the percentage change between them using the standard formula:
Inflation rate = (CPI_end − CPI_start) / CPI_start × 100
National statistical agencies — including the U.S. Bureau of Labor Statistics, which maintains the most widely cited CPI series — build the index from a weighted basket of consumer goods and services: food, housing, transportation, medical care, and so on. Because the basket stays roughly the same across periods, changes in the index come from price changes rather than from adding new items. That makes the percentage change a clean measure of consumer-price inflation for the period you compare. Two details matter for accuracy: use index numbers from the same series and base year (mixing different bases produces nonsense), and match the period length to your question — annual readings give annual inflation, while monthly or quarterly readings give shorter-window figures that you can annualize separately if needed. For background on how inflation is defined and measured more broadly, see the Wikipedia overview of inflation.
Calculate the Inflation Rate From CPI in Four Steps
- Find two CPI readings from the same series — for example, the annual average CPI for 2023 and the annual average CPI for 2024.
- Subtract the earlier CPI from the later CPI to get the index change: 260 − 250 = 10.
- Divide the change by the earlier CPI: 10 ÷ 250 = 0.04.
- Multiply by 100 to convert to a percentage: 0.04 × 100 = 4%. That figure is the inflation rate across the period you measured.
Worked example with different numbers: suppose CPI moves from 240 to 250 between two years. The difference is 250 − 240 = 10. Dividing by the earlier value gives 10 ÷ 240 = 0.04166…, and multiplying by 100 turns that into roughly 4.17%. The annual inflation rate for that period is about 4.17%, which you can now hand off to a projection tool. For a deeper walkthrough that connects this calculation to a longer horizon, the guide on how to calculate inflation from CPI for future costs covers the same method applied over multi-year windows.
Apply Your CPI-Derived Rate With the Inflation Calculator
The Inflation Calculator does not look up CPI series or store historical inflation data. It takes three inputs you supply — a starting dollar amount, the annual inflation rate as a percentage, and a number of years — and applies a single compound formula across the whole period. Enter your CPI-derived rate in the rate field, choose a time horizon, and read off two numbers instantly:
- Future cost — what a basket of goods priced at your starting amount today would cost after n years at that rate.
- Future purchasing power — what your starting amount of cash would actually buy after n years, expressed in today's dollars.
Both outputs update as you type, so you can adjust the rate, the years, or the starting amount to compare scenarios without reloading the page. That makes the tool useful for stress-testing a CPI-derived rate against horizons longer or shorter than the period you actually measured. A common workflow: compute the rate from two recent CPI readings, plug it into the calculator with a dollar amount that matters to your plan, and read the two figures to see how a sustained rate at that level would reshape that money.
Future Cost vs Future Purchasing Power
The calculator surfaces two outputs because they answer opposite questions about the same rate. The operations used to compute them are inverses — multiplication by (1 + r)^n and division by (1 + r)^n cancel out and leave the starting amount unchanged. The table below summarizes the difference and shows the direction each figure moves when inflation is positive.
| Output | Question it answers | Formula used | Direction at positive inflation |
|---|---|---|---|
| Future cost | What will something priced at $X today cost in n years? | amount × (1 + r)^n | Rises above the starting amount |
| Future purchasing power | What will $X today actually buy in n years, in today's dollars? | amount ÷ (1 + r)^n | Falls below the starting amount |
Use future cost when you are pricing a future expense — college tuition in 18 years, a renovation in 10 years, a retirement budget in 25 years. Use future purchasing power when you are asking what today's savings will really be worth — how much of today's groceries a stored $10,000 will buy a decade from now. For the conceptual distinction between nominal and real values that underpins these two figures, the Wikipedia article on real versus nominal value in economics provides useful background.
Why a Single CPI-Derived Rate Is an Estimate, Not a Forecast
A CPI percentage-change figure tells you what happened between two points in time. It does not, by itself, tell you what will happen next year or the year after. Inflation moves around — sometimes dramatically — and a single rate flattens that variability into one constant. The Inflation Calculator is built around exactly that single-rate assumption: it applies one rate across the entire horizon you specify, so the curve it draws is smooth and exponential. That is useful for intuition and for comparing scenarios side by side — what does 2% do versus 4% versus 6% over 30 years? — but it cannot pick which of those is most likely to occur in any given future year, because real CPI is published after the fact and changes every release.
For planning, treat the output as directional. If your CPI-derived rate reads 3% and you model your savings at 3%, you are testing one specific path. To bracket the uncertainty, run the same scenario at a lower rate and a higher rate and look at the gap between the resulting figures. The calculator was designed for exactly this kind of comparison: it is a quick way to stress-test retirement savings, long-term goals, salary expectations, or any figure you want to keep meaningful across time, and not a tool for predicting exact future prices.
Common Scenarios for a CPI-Derived Rate
Several planning questions translate cleanly from a CPI-derived rate to a calculator run. The numbers themselves come out of the tool, but the relationship between the input and the result is the same in every case.
- Retirement runway: how much will a nest egg of $X today be worth in 25 years at the rate CPI printed last year? Lower rate, higher purchasing power; higher rate, lower purchasing power.
- Education funding: what will four years of tuition cost in 18 years if recent CPI is your proxy for education-cost inflation? Future cost rises with both the rate and the horizon.
- Salary negotiation: how much must a salary rise to keep the same purchasing power in 10 years? Compare today's take-home pay to its future purchasing power at your CPI-derived rate.
- Deflation check: if CPI falls between two periods, the percentage change is negative. Enter the negative figure as the rate and the same logic flips — future cost falls below the starting amount, and future purchasing power rises above it. The calculator accepts negative rates, so a falling CPI can be modeled as easily as a rising one.
All four scenarios rely on the same input: a single annual inflation rate you calculated from CPI or chose as an assumption. The calculator does the rest of the math, runs entirely in your browser, and updates both figures as you change any of the three inputs.