The inflation calculator formula projects how a constant annual rate changes the value of money over time, and it comes in two forms: future cost equals the starting amount multiplied by (1 + r) raised to the power of years, while future purchasing power equals the starting amount divided by that same factor. Both expressions use r as the annual inflation rate written as a decimal (so 3% becomes 0.03) and n as the number of years. They are algebraic inverses, which is why one answers "what will this basket of goods cost in the future?" and the other answers "what will my cash actually buy in today's dollars?" The model is a standard compound-inflation equation, the same compounding logic used for savings growth with compound interest, just applied in the opposite direction to measure what rising prices do to a fixed pile of cash. Because the entire calculation rests on a single assumed rate, the formula works best as a way to compare scenarios, such as how 2%, 4%, and 6% each play out over 20 or 30 years, rather than as a predictor of any specific future price.

The Two Formulas Behind Every Inflation Projection
Every inflation projection reduces to one of two equations. They share the same inputs and the same factor; only the operation differs.
| Question the formula answers | Formula | What the result means |
|---|---|---|
| Future cost | future cost = amount × (1 + r)n | What something priced at amount today will cost in n years |
| Future purchasing power | future purchasing power = amount ÷ (1 + r)n | What amount of cash will buy in n years, measured in today's dollars |
The factor (1 + r)n is the engine of the whole calculation. It tells you how much prices have scaled up after n years at a constant rate r, and it is mathematically identical to the compound-growth factor used to project a savings balance forward. Dividing instead of multiplying simply flips the perspective: instead of asking how a price grows, you ask how a dollar shrinks relative to that price.
What Each Variable in the Formula Means
Three variables drive every projection. Getting them right is what separates a meaningful answer from a misleading one.
| Symbol | Name | Format | Example |
|---|---|---|---|
| amount | Starting dollar figure | Any non-negative number | $100, $10,000, $250,000 |
| r | Annual inflation rate | Decimal (percentage ÷ 100); negatives allowed | 3% → 0.03; deflation → −0.02 |
| n | Number of years | Zero or positive number | 10, 20, 30 |
The decimal conversion is the most common source of error. If you write 3 instead of 0.03 for r, the formula multiplies by 4 each year instead of 1.03, wildly inflating the result. The Inflation Calculator handles the conversion internally, but if you are running the math by hand or in a spreadsheet, divide your percentage by 100 before plugging it in.
The "negative rate" allowance is what lets the formula model deflation. A rate of −2% means prices are falling at 2% per year, so the factor (1 + r)n becomes smaller than 1, future cost drops below the starting amount, and purchasing power climbs above it.
Run the Formula Step by Step on $100 at 3% for 10 Years
A single worked example makes the abstract equation concrete. Take a starting amount of $100, an annual rate of 3% (so r = 0.03), and n = 10 years.
Step 1, compute the compounding factor.(1 + r)n = (1 + 0.03)10 = 1.0310 ≈ 1.34392
Step 2, compute future cost.future cost = amount × (1 + r)n = $100 × 1.34392 ≈ $134.39
Step 3, compute future purchasing power.future purchasing power = amount ÷ (1 + r)n = $100 ÷ 1.34392 ≈ $74.41
Read those two numbers together: a basket that costs $100 today will cost about $134.39 in 10 years, and $100 in 10 years will only buy about $74.41 worth of today's goods. The face value of the cash never changes; what changes is what that cash can actually purchase. For exact figures on any other amount, rate, or time horizon, run the Inflation Calculator directly.
Calculate Future Cost and Purchasing Power in the Tool
The same formula runs inside the Inflation Calculator, with the arithmetic handled for you and the results updating as you type. To use it for any projection, follow these steps.
- Enter the amount of money you have today in dollars.
- Enter the annual inflation rate you want to assume (use a negative number for deflation) and the number of years.
- Read the future cost and future purchasing power, which update instantly as you change any input.
Because every input is editable and the results refresh live, you can compare scenarios in seconds: slide the rate from 2% to 6%, extend the years from 10 to 30, and watch both outputs shift without reloading the page. The browser handles every calculation locally, so no data leaves your device.
Why Future Cost and Purchasing Power Are Inverse Operations
Future cost multiplies by the factor (1 + r)n. Future purchasing power divides by that same factor. Multiplying by a number and dividing by that same number are inverse operations, so one undoes the other.
This is why the two outputs always pair together. If something that costs $100 today will cost $134.39 in 10 years at 3%, then $134.39 in 10 years buys exactly what $100 buys today. Equivalently, $100 in 10 years buys only $74.41 of today's goods. The math is symmetrical on purpose, so you can frame the same projection as "how much more will I pay?" or "how much less will my money get me?" depending on which question matters for the decision in front of you.
Practically, that means you only ever need to compute the factor once. The rest is just choosing whether to multiply or divide.
When the Inflation Formula Breaks Down
The compound-inflation model is intentionally simple, and that simplicity creates clear limits. Inflation in the real world does not run at one constant rate year after year. Government measures such as the Consumer Price Index show inflation rising and falling with the business cycle, oil shocks, policy decisions, and supply-chain events.
Because the formula assumes a single fixed r across the entire n-year window, the output is a scenario, not a prediction. Treat it as a way to build intuition and stress-test plans (retirement withdrawals, salary targets, education funds, long-term budgets) rather than a forecast of any specific future price. If you want to compare against historical patterns rather than a hypothetical rate, a separate analysis of past CPI series is the right tool. For an honest look at the limits of rate-based projections, see how accurate an inflation calculator really is.
The formula also has hard input constraints: the amount and the number of years must be zero or positive, and a negative rate is interpreted as deflation rather than as an invalid entry. Anything outside those bounds simply is not a meaningful inflation scenario.
Model Deflation by Flipping the Sign
Entering a negative annual rate (say −2%) flips the direction of every result without changing the formula. The factor (1 + r)n becomes (1 − 0.02)n = 0.98n, which is a number smaller than 1.
Multiply the starting amount by a factor below 1, and future cost falls below the original. Divide by a factor below 1, and future purchasing power rises above the original. In plain language, when prices are declining, the same basket gets cheaper over time and a fixed pile of cash quietly gains buying power.
This is what makes the formula flexible enough to cover both rising and falling price environments with one equation. The sign on r is the only dial you turn.
Related reading: Mortgage Calculator Example: $400,000 at 6.5%.