Title: How to Calculate Inflation: Formula, CPI and Worked Examples
Slug: how-to-calculate-inflation
Yoast SEO title: How to Calculate Inflation: Formula & Examples
Yoast meta description: Learn how to calculate inflation with the CPI formula and future-cost method. $100 at 3% for 10 years costs $134.39 — see every worked example.
Focus keyphrase: how to calculate inflation
To calculate inflation, divide the change in the Consumer Price Index (CPI) by the starting CPI and multiply by 100. For a future cost, multiply today’s amount by (1 + rate) raised to the years. At 3% for 10 years, $100 becomes $134.39.
Inflation sounds abstract until it touches a number you care about: a rent payment, a grocery bill, a salary. The math behind it is not complicated — there are really only two calculations, and most confusion comes from mixing them up. The first measures how much prices already rose, using the Consumer Price Index. The second projects what today’s money will cost in the future, using compound growth. Both use the same underlying idea, and once you can do one, the other takes a minute.
This guide works through both methods with exact, checkable numbers: the CPI formula first, then the future-cost formula, then worked examples at several rates and time horizons, so you can verify every figure by hand. For your own amount, rate, and years in seconds, use the free inflation calculator.
One note before the math: every rate in this guide is hypothetical and labeled as such. Inflation in any real year is measured by official indexes — in the United States, the Bureau of Labor Statistics (BLS) publishes the Consumer Price Index for All Urban Consumers (CPI-U), and the Federal Reserve targets 2% inflation measured by the PCE price index. This guide does not quote a specific current CPI print, because that number changes every month; instead it shows you how to run the calculation with any rate you enter.
What Is Inflation, in Plain Terms?
Inflation is the general rise in prices over time, which means each dollar buys a little less than it did before. If inflation is 3% in a year, a basket of goods that cost $100 at the start of the year costs about $103 at the end. Your $100 bill did not change — what it buys did.
Two things follow from that definition. First, inflation is measured on a basket, not on one item: a single price going up (say, eggs) is not inflation unless prices broadly rise. Second, inflation compounds. Three percent a year for ten years is not 30% total — it is more, because each year’s increase applies to the already-increased price. That compounding is exactly why the future-cost formula below uses an exponent, and it is the same compounding that makes savings grow in the compound interest calculator.
How Do You Calculate Inflation With the CPI Formula?
The CPI method answers the question “how much did prices rise between two dates?” It needs two CPI values — one for the start date and one for the end date — and one subtraction and division:
Inflation rate = ((CPI at end − CPI at start) ÷ CPI at start) × 100
Here is the method step by step:
- Find the starting CPI. Look up the CPI-U value for your start month or year from the BLS.
- Find the ending CPI. Look up the CPI-U value for your end month or year.
- Subtract. Ending CPI − starting CPI = the change in the index.
- Divide by the starting CPI. This turns the change into a proportion.
- Multiply by 100. This turns the proportion into a percentage — the inflation rate over that period.
A worked example with round index numbers (illustrative values, not a real BLS print): suppose the CPI was 250 at the start of a period and 257.5 at the end. Then:
((257.5 − 250) ÷ 250) × 100 = (7.5 ÷ 250) × 100 = 3.0% inflation over the period.
The same formula works in reverse to restate an old price in today’s dollars. If something cost $100 when the CPI was 250, its equivalent at a CPI of 257.5 is $100 × (257.5 ÷ 250) = $103.00. That ratio — ending CPI divided by starting CPI — is the adjustment factor, and multiplying any old amount by it expresses that amount in end-period dollars.
Two practical notes on the CPI method. First, the period matters: the formula gives inflation over whatever span separates your two CPI values, whether that is one month, one year, or ten years. To annualize a multi-year figure, you take the nth root of the total growth factor — the same operation the CAGR calculator performs for investment growth. Second, use the same index series for both values (CPI-U with CPI-U), or the ratio is meaningless.
How Do You Calculate the Future Cost of Today’s Money?
The future-cost method answers a different question: “if prices rise at a steady rate, what will today’s $100 purchase cost in the future?” Instead of measured index values, it uses an assumed annual rate, compounded:
Future cost = amount today × (1 + inflation rate) ^ number of years
Here is the method step by step:
- Start with today’s amount — the price, bill, or salary you want to project.
- Add 1 to the rate (as a decimal). At 3%, that is 1.03.
- Raise it to the number of years. For 10 years: 1.03 ^ 10 = 1.3439.
- Multiply. $100 × 1.3439 = $134.39.
So at a hypothetical 3% inflation rate, something that costs $100 today would cost $134.39 in 10 years. Notice what compounding did: ten years of 3% is not $130.00 (which simple addition would give) but $134.39, because each year’s 3% applies to a slightly larger base. The gap between $130 and $134.39 is small over one decade at low rates — and very large over long horizons, as the tables below show.
The formula also runs backward. To find what today’s $100 was worth in the past at the same rate, divide instead of multiply: $100 ÷ 1.03 ^ 10 = $100 ÷ 1.3439 = $74.41. In other words, at a steady 3%, $100 today has the same purchasing power that $74.41 had ten years ago. The calculator’s three modes — future cost, past value, and purchasing-power loss — are all this one formula pointed in different directions.
What Does $100 Become at Different Inflation Rates?
The single most useful table in this guide is what happens to the same $100 over the same 10 years as only the rate changes. All figures use the future-cost formula above:
| Annual inflation rate (hypothetical) | $100 in 10 years | Total price rise |
|---|---|---|
| 2% | $121.90 | 21.90% |
| 3% | $134.39 | 34.39% |
| 4% | $148.02 | 48.02% |
| 5% | $162.89 | 62.89% |
Read the table across: moving from 2% to 5% does not quite triple the total price rise (21.90% to 62.89%), but it comes close — and the difference between the 2% and 5% outcomes is $40.99 on every $100. That is why the assumed rate matters more than almost anything else in an inflation projection, and why honest calculators let you enter your own rate instead of hiding one. The Federal Reserve’s 2% target (measured by the PCE price index) is the reason 2% is a common planning assumption, but actual inflation in any given year can run above or below it, which is why this guide shows a range.
For a larger amount, the same math scales linearly. At 3% for 10 years, $1,000 becomes $1,343.92 — exactly ten times the $134.39 figure for $100, because the formula multiplies the starting amount by the same 1.3439 factor.
What Does $100 Become Over Different Time Horizons?
Now hold the rate fixed at 3% and vary only the years:
| Time horizon at 3% (hypothetical) | $100 becomes | Total price rise |
|---|---|---|
| 5 years | $115.93 | 15.93% |
| 10 years | $134.39 | 34.39% |
| 20 years | $180.61 | 80.61% |
| 30 years | $242.73 | 142.73% |
Two patterns stand out. First, the growth accelerates: the second decade adds more dollars ($46.22) than the first ($34.39), and the third adds more still ($62.12), because compounding builds on a larger base each decade. Second, over 30 years at 3%, prices more than double — $100 of today’s spending becomes $242.73. Anyone planning retirement spending, a long-term savings goal, or a fixed future payment should run their own horizon through the inflation calculator rather than guessing, because intuition consistently underestimates compounding over long periods.
A quick cross-check on the 30-year figure using the Rule of 72 (covered in the companion guide, Purchasing Power Loss Explained): at 3%, prices double roughly every 72 ÷ 3 = 24 years (exactly 23.45 years). Thirty years is a bit more than one doubling, so $100 growing to about $243 — between $200 (one doubling) and $400 (two) — is exactly what the rule predicts.
How Do the Two Methods Relate?
The CPI method and the future-cost method are the same calculation with different inputs. The CPI method uses measured index values: the ratio of ending to starting CPI is the actual growth factor prices experienced. The future-cost method uses an assumed rate: (1 + rate) ^ years is the growth factor prices would experience if inflation stayed at that rate.
You can convert between them. If the CPI ratio over 10 years were 1.3439, the equivalent steady annual rate would be 1.3439 ^ (1/10) − 1 = 3.00% — the CAGR of the price level. That is the precise sense in which “inflation averaged 3% over the decade” is usually meant: not that every year was 3%, but that a steady 3% would have produced the same total change. The CAGR calculator computes exactly this kind of average annual rate from any start and end value.
What Is a Worked Example From Start to Finish?
Here is one complete example using both directions of the formula, with a salary — the number most people actually want to project.
Question: You earn $50,000 today. At a hypothetical 3% inflation rate, what salary in 10 years has the same purchasing power?
Step 1 — Growth factor. 1.03 ^ 10 = 1.3439.
Step 2 — Multiply. $50,000 × 1.3439 = $67,195.82.
So a $50,000 salary today needs to become $67,195.82 in 10 years just to stand still at 3% inflation — a 34.39% nominal increase that buys exactly the same things. Any raise smaller than that is, in purchasing-power terms, a pay cut; any raise larger is a real increase. The companion guide works through the purchasing-power side of this example in full.
Reverse question: What was $50,000 of purchasing power ten years ago at the same rate? Divide: $50,000 ÷ 1.3439 = $37,204.70 (that is, $74.41 per $100, scaled up). And a $100 item today corresponds to $74.41 ten years ago, as computed earlier. One formula, three questions — future cost, past value, and the salary needed to keep up.
What Are Common Mistakes When Calculating Inflation?
1. Adding instead of compounding. Ten years at 3% is not 30%. It is 1.03 ^ 10 − 1 = 34.39%. The simple-addition shortcut understates every long-horizon result, and the error grows with time: over 30 years, addition gives 90% while compounding gives 142.73%.
2. Dividing by the wrong CPI. The CPI formula divides by the starting CPI, not the ending one. Dividing by the ending value understates the rate — in the worked example, 7.5 ÷ 257.5 = 2.91% instead of the correct 3.0%.
3. Confusing a price rise with purchasing-power loss. They are related but not equal. Prices rising 34.39% over 10 years at 3% means purchasing power falls 25.59%, not 34.39% — because the loss is measured against the new, higher price level ($100 ÷ $134.39 = $74.41 of purchasing power remains). The companion guide explains this asymmetry in detail.
4. Treating a hypothetical rate as a forecast. A calculator with 3% entered shows what 3% would do; it does not predict that inflation will be 3%. Run several rates (the 2%–5% table above) and plan against a range.
5. Using one item’s price as “inflation.” Inflation is a basket average (the CPI-U covers a broad basket of goods and services). Your personal inflation rate — driven by your rent, fuel, and food mix — can differ from the headline figure in either direction.
6. Forgetting that nominal gains are not real gains. A savings account paying 3% while inflation runs at 3% leaves purchasing power unchanged, not ahead. Real return is covered in the companion guide.
How Do You Calculate Inflation Yourself, Step by Step?
- Decide which question you are asking. Measuring the past → CPI method. Projecting the future → future-cost method.
- For the past: get the CPI-U for both dates from the BLS, then compute ((end − start) ÷ start) × 100.
- For the future: pick an amount, an assumed annual rate, and a number of years.
- Compute the growth factor: (1 + rate) ^ years. At 3% for 10 years: 1.3439.
- Multiply for future cost ($100 × 1.3439 = $134.39) or divide for past value ($100 ÷ 1.3439 = $74.41).
- Sanity-check with the Rule of 72: prices double in about 72 ÷ rate years (24 years at 3%). If your result contradicts that, recheck the exponent.
The inflation calculator runs all three modes — future cost, past value, and purchasing-power loss — with your own amount, rate, and years, and it sits alongside the rest of the money tools on the financial calculators hub.
This guide is general information about how inflation math works, not financial advice. All inflation rates used in the examples are hypothetical and labeled as such; actual inflation is measured by official indexes such as the BLS Consumer Price Index (CPI-U), and the Federal Reserve targets 2% inflation as measured by the PCE price index. Every figure in this guide was verified by calculation from the formulas shown.
Frequently Asked Questions
How do you calculate the inflation rate?
Divide the change in the Consumer Price Index by the starting CPI and multiply by 100: ((CPI at end − CPI at start) ÷ CPI at start) × 100. For example, a CPI rising from 250 to 257.5 gives (7.5 ÷ 250) × 100 = 3.0% inflation over that period. Use CPI-U values from the Bureau of Labor Statistics for real calculations.
What is the formula for future cost with inflation?
Future cost = amount today × (1 + inflation rate) ^ number of years. At a hypothetical 3% rate for 10 years, the growth factor is 1.03 ^ 10 = 1.3439, so $100 today becomes $134.39, and $1,000 becomes $1,343.92. Divide by the same factor to go backward: $100 today equals $74.41 ten years ago at 3%.
How much will $100 be worth in 10 years at 3% inflation?
As a future cost, $100 of today’s spending becomes $134.39 in 10 years at 3%. As purchasing power, $100 held for 10 years at 3% inflation buys what $74.41 buys today — a 25.59% loss of purchasing power. The two numbers describe the same change from opposite sides.
How much does inflation add up to over 30 years?
At a steady hypothetical 3%, $100 becomes $242.73 over 30 years — a 142.73% total price rise, more than doubling. Over 20 years at 3% it becomes $180.61, and over 5 years $115.93. Compounding is why the total is far more than 3% × 30 = 90%.
What salary keeps up with 3% inflation over 10 years?
A $50,000 salary today needs to reach $67,195.82 in 10 years at 3% inflation to keep the same purchasing power — $50,000 × 1.03 ^ 10. That is a 34.39% nominal increase that buys exactly the same things. The inflation calculator runs this for any salary, rate, and horizon.
What inflation rate should I use in the calculator?
Use a range rather than a single guess. The Federal Reserve targets 2% (PCE), and this guide’s table shows 2%, 3%, 4%, and 5% over 10 years turning $100 into $121.90, $134.39, $148.02, and $162.89 respectively. Rates in any calculator are assumptions you enter, not forecasts — check current measured inflation in the BLS CPI-U release.
The Bottom Line
How to calculate inflation comes down to two formulas. For the past: ((ending CPI − starting CPI) ÷ starting CPI) × 100. For the future: amount × (1 + rate) ^ years — which turns $100 into $134.39 over 10 years at 3%, $242.73 over 30 years, and a $50,000 salary into the $67,195.82 needed a decade later to buy the same things.
Every figure here comes from those two formulas, so you can check any of them by hand. For your own amount, rate, and years, run it through the free inflation calculator and see the future cost, past value, and purchasing-power loss in seconds.
All figures on this page are calculated from the CPI and future-cost formulas shown and verified by hand. Inflation rates in examples are hypothetical; measured US inflation is published by the Bureau of Labor Statistics (CPI-U), and the Federal Reserve targets 2% (PCE). This page is general information, not financial advice.
