In short
- Every output comes from one growth factor, (1 + r)^n, applied forward for future cost and inverted for present value.
- A price rise and a loss of buying power are different percentages: a 50% price increase is a 33.3% loss of buying power.
- Real return is a ratio, not a subtraction: 1 + real equals (1 + nominal) divided by (1 + inflation).
- A national price index is an average basket with average weights, so your personal rate depends on how you actually spend.
- The rate you enter is an assumption to stress-test across a range, not a forecast the calculator can supply.
On this page
- The formula
- A worked example done by hand
- Prices rising and buying power falling are not the same percentage
- Where each input comes from
- How to read the result
- Nominal returns, real returns, and why subtraction is wrong
- Why your personal inflation rate differs from a national index
- Sanity-checking a salary increase
- What this model leaves out
- Common mistakes
An inflation calculator applies compounding to prices. You give it an amount, an annual rate, and a number of years, and it tells you what that amount becomes -- either the larger number you would need later to buy the same thing, or the smaller number a future sum is worth in today's money.
The two directions are the same equation. One multiplies by a growth factor, the other divides by it. The reason both appear is that people ask the question both ways: "what will this cost in fifteen years" and "what is a $50,000 payout in 2041 actually worth to me now".
The rate you enter is an assumption you control, not a forecast. Published price indexes measure what already happened, and the past average of any index is not a promise about the next twenty years. Testing a range of rates is more informative than finding the single correct one, because there isn't one.
The formula
Formula:
Future cost = A x (1 + r)^nandPresent value = A / (1 + r)^n
Where:
Ais the amount you entered.ris the annual inflation rate as a decimal, so 3% is 0.03.nis the number of years.(1 + r)^nis the cumulative price factor over the period.
Four more outputs come straight off that factor:
- Cumulative price change:
(1 + r)^n - 1, expressed as a percent. - What a dollar today is worth then:
1 / (1 + r)^n. - Cumulative loss of buying power:
1 - 1 / (1 + r)^n. - Years for prices to double:
ln(2) / ln(1 + r).
The structure is identical to the growth math in the compound interest calculator. The difference is what is compounding: there, a balance you own; here, a price you have to pay.
A worked example done by hand
Take $1,000, an assumed 3.0% annual inflation rate, and 20 years.
- Growth factor:
1.03^20. Working it in stages,1.03^10 = 1.343916, and squaring that gives1.343916^2 = 1.806111. - Future cost:
1,000 x 1.806111 = $1,806.11. - Cumulative price change:
1.806111 - 1 = 0.806111, or 80.6%. - What a dollar is worth then:
1 / 1.806111 = 0.5537, so about 55.4 cents. - Loss of buying power:
1 - 0.5537 = 0.4463, or 44.6%. - The other direction: $1,000 received 20 years from now is worth
1,000 / 1.806111 = $553.68in today's money. - Doubling time:
ln(2) / ln(1.03) = 0.693147 / 0.029559 = 23.4 years.
Every one of those figures comes from the single number 1.806111. If you can compute the growth factor, you can produce the whole output by hand.
Prices rising and buying power falling are not the same percentage
This is the most common misreading of the output. Prices rose 80.6% in the example, but buying power fell 44.6%. Those describe the same event from opposite ends, and they are not the same number.
The reason is that the two percentages have different denominators. A price rise is measured against the old price. A loss of buying power is measured against the old purchasing power, which is now the reciprocal.
Worked example: Prices rise 50%. An item that cost $100 now costs $150. Your $100 buys
100 / 150 = 0.6667of that item, so you have lost1 - 0.6667 = 33.3%of your buying power, not 50%. A 25% price rise is a 20% loss. A 100% price rise is a 50% loss.
The conversion in general is loss = price change / (1 + price change). Check it:
0.50 / 1.50 = 0.3333. It also means a loss of buying power can never reach 100%, no
matter how high prices go, while the price change has no ceiling.
| Assumed rate | 5 years | 10 years | 20 years | 30 years |
|---|---|---|---|---|
| 2% | +10.4% / -9.4% | +21.9% / -18.0% | +48.6% / -32.7% | +81.1% / -44.8% |
| 3% | +15.9% / -13.7% | +34.4% / -25.6% | +80.6% / -44.6% | +142.7% / -58.8% |
| 4% | +21.7% / -17.8% | +48.0% / -32.4% | +119.1% / -54.4% | +224.3% / -69.2% |
| 5% | +27.6% / -21.6% | +62.9% / -38.6% | +165.3% / -62.3% | +332.2% / -76.9% |
| 7% | +40.3% / -28.7% | +96.7% / -49.2% | +287.0% / -74.2% | +661.2% / -86.9% |
Each cell reads as price change first, loss of buying power second.
Where each input comes from
Amount. Whatever you are testing: a price, a salary, a lump sum you expect to receive, a savings target. The math does not care which.
Annual rate. There is no single correct value, so pick a basis and label it. Many people use the long-run average of a published consumer price index as a central case and then run one lower and one higher scenario around it. The Bureau of Labor Statistics publishes the Consumer Price Index and its component series; that is where the historical record lives. Whatever you choose, it is an assumption.
Years. The horizon you actually care about. Sensitivity to this input is nonlinear: doubling the years far more than doubles the cumulative effect.
Direction. Choose "what it will cost later" when you have a present amount and want a future one. Choose "what a future amount is worth today" when you are discounting a number that already sits in the future -- a pension figure, a payout, a projected balance.
The output is most sensitive to the product of rate and years. One percentage point on the rate over five years is minor; the same point over thirty years is large, as the table above shows.
How to read the result
The adjusted amount is a same-purchasing-power equivalent, not a prediction of any specific price. It says: if a basket rises at this rate, this is the number that buys the equivalent basket then.
The "still equivalent" figure in the opposite direction is the one to use for offers and
projections. A retirement projection quoted in nominal dollars looks impressive largely
because of the price factor baked into it; dividing by (1 + r)^n puts it back into
units you understand.
How fast prices double
Doubling time depends only on the rate, not the amount. The Rule of 72 -- years to double is roughly 72 divided by the percentage rate -- is a good shortcut, and it is slightly conservative at low rates.
| Assumed rate | Exact doubling time | Rule of 72 estimate |
|---|---|---|
| 2% | 35.0 years | 36.0 |
| 2.5% | 28.1 years | 28.8 |
| 3% | 23.4 years | 24.0 |
| 4% | 17.7 years | 18.0 |
| 5% | 14.2 years | 14.4 |
| 6% | 11.9 years | 12.0 |
| 8% | 9.0 years | 9.0 |
Nominal returns, real returns, and why subtraction is wrong
A return quoted in dollars is nominal. What it buys is real. The relationship between them is a ratio, not a difference:
Formula:
1 + real = (1 + nominal) / (1 + inflation), soreal = (nominal - inflation) / (1 + inflation)
Subtracting inflation from the nominal return is an approximation. It is close at low rates and drifts as rates rise.
| Nominal | Inflation | Simple subtraction | Exact real return |
|---|---|---|---|
| 4% | 2% | 2.00% | 1.961% |
| 5% | 3% | 2.00% | 1.942% |
| 6% | 4% | 2.00% | 1.923% |
| 8% | 5% | 3.00% | 2.857% |
| 10% | 7% | 3.00% | 2.804% |
| 12% | 9% | 3.00% | 2.752% |
The per-year gap looks negligible, and over one year it is. Compounded, it is not. Take $10,000 at an assumed 5% nominal with 3% inflation over 20 years: the exact real value is $14,690.67, while using a 2% "real rate" from subtraction gives $14,859.47. The shortcut overstates the outcome by $168.81 on a $10,000 starting amount.
The same logic applies whenever you plan in real terms, including any goal you set in the savings goal calculator: either project in nominal dollars and deflate at the end, or project at the exact real rate. Mixing the two is what produces inconsistent answers.
Why your personal inflation rate differs from a national index
A national consumer price index is an average across a basket weighted to represent an average household. You are not that household.
- Weights. If housing is 40% of your budget rather than the index weight, housing price moves hit you disproportionately.
- Geography. Regional and metro-level price changes diverge from the national figure, sometimes substantially.
- Life stage. Someone paying tuition, someone paying a fixed mortgage, and someone paying market rent face different exposures to the same index.
- Substitution. Indexes account for buyers switching between goods; your own substitution behavior may differ.
- Big-ticket timing. A car or a roof purchased in a particular year applies that year's price change to a large share of your spending at once.
The practical move is to weight the component series you can find against your own spending. If you track what you spend, the exercise is arithmetic. The real hourly wage calculator covers a related idea: headline numbers and lived numbers diverge for structural reasons.
Sanity-checking a salary increase
A raise is a nominal number. Whether it is an increase in what you can buy depends on the price change over the same period. Run both through the ratio.
For a $62,000 salary, comparing a one-year raise against an assumed one-year inflation rate:
| Raise | Assumed inflation | Real change | Salary in today's buying power |
|---|---|---|---|
| 2.0% | 3.0% | -0.97% | $61,398 |
| 2.5% | 4.0% | -1.44% | $61,106 |
| 3.0% | 3.0% | 0.00% | $62,000 |
| 3.0% | 2.5% | +0.49% | $62,302 |
| 4.0% | 3.0% | +0.97% | $62,602 |
| 5.0% | 3.0% | +1.94% | $63,204 |
A raise that matches the price change holds you level. Anything below it is a real cut expressed as a positive number. Note also that a raise moves your gross pay, while what you can spend moves with net pay -- run the change through the take-home pay calculator before deciding what it is worth.
What this model leaves out
- A constant rate. Prices do not rise smoothly. A single average rate reproduces the endpoint of a period, not the path through it, and the path matters if you are spending along the way.
- Any forecast. The model has no view on what inflation will be. It compounds the number you supply.
- Quality change. A product that improves is not the same product ten years later. Index producers adjust for this; a flat rate applied to one item does not.
- Category divergence. Different categories move at very different rates over long periods. One economy-wide number cannot represent all of them.
- Taxes. Nominal gains can be taxed even when the real gain is zero or negative, which lowers the real after-tax outcome further.
- Deflation and negative rates. The formula handles a negative
rmathematically, but the economic behavior around falling prices is not something a compounding factor describes.
Common mistakes
Reading the price change as the loss of buying power. They are different numbers.
Convert with loss = change / (1 + change).
Subtracting inflation from a return. Use the ratio, especially over long horizons or at higher rates.
Comparing a nominal projection with a real target. Pick one basis and stay in it.
Assuming the national index is your index. Your basket has your weights.
Treating a past average as a forecast. It describes what happened, not what will.
Applying an economy-wide rate to one specific item. Tuition, insurance, and electricity do not track a general index. For something like household energy, a metered electricity cost calculator using your own rate is more accurate than inflating last year's bill.
Frequently asked questions
What inflation rate should I enter?
Why is a 50% price rise only a 33% loss of buying power?
How do I convert a nominal return into a real return?
Does this calculator predict future inflation?
Why does my own cost of living rise faster than the reported index?
Should I inflate a savings goal that is several years away?
How many years does it take for prices to double?
Is a raise below the inflation rate really a pay cut?
Sources and further reading
Where this page relies on a published formula, an official figure or a legal rule, the primary source is listed here. External links open in a new tab and we earn nothing from them.
Related calculators
All money tools →- Money
Compound interest calculator: how a balance and deposits grow
A starting balance and a stream of deposits grow under two different formulas. This page works both out by hand and shows what the rate, the term and the frequency each add.
- Money
Savings Goal Calculator: How Long, and How Much a Month
One annuity equation, solved three ways: time to reach a goal, the deposit needed to hit a deadline, and how much of the total the account actually contributes.
- Work & Pay
Real hourly wage calculator: pay divided by every hour
Your nominal rate counts paid hours only. This works out pay after job costs divided by every hour the job takes, and shows why a bigger salary can be the worse deal.