An inflation calculator shows how rising prices change what your money can buy over time. It takes a dollar amount, a yearly rate of price increase, and a number of years. Then it tells you what the same goods might cost later, or how much today’s dollars would be worth in the future.
This guide explains what the number means, how the math works, and where the tool falls short. No finance background is needed. We will define each term as we go.
What an inflation calculator tells you
Inflation is the general rise in prices over time. If a basket of groceries costs $100 this year and $103 next year, prices rose 3 percent. Your dollars did not shrink, but each one buys a little less.
An inflation calculator turns that idea into a number you can plan with. It answers two common questions. First, what will something that costs a given amount today cost in the future? Second, what will a given amount of money today be worth in terms of buying power later? These are two sides of the same math.
The formula in words
The first formula finds a future cost. Take the amount you have today. Multiply it by one plus the inflation rate, and repeat that once for every year. In symbols, that is future cost = amount x (1 + inflation rate)^years. The small raised number means you multiply the growth factor by itself that many times.
The second formula goes the other way. It finds what today’s money buys later. Divide the amount by one plus the inflation rate, repeated once for every year. In symbols, that is amount / (1 + rate)^years.
Notice that the rate is written as a decimal. Three percent becomes 0.03, so one plus the rate is 1.03. The effect builds on itself, because each year’s price rise applies to a price that already rose the year before. That is called compounding.
A worked example with real numbers
Say prices rise 3 percent each year for 20 years. First, work out the growth factor. Multiplying 1.03 by itself 20 times gives about 1.8061.
Now apply it to a cost. Something that costs $1,000 today would cost $1,000 x 1.8061, which is about $1,806 in 20 years. A $100 item would cost about $180.61.
Next, flip it around. You hold $1,000 in cash and prices rise at the same pace. Divide $1,000 by 1.8061 and you get about $553.68. In 20 years, that $1,000 would buy only what about $554 buys today. Your balance did not change, but its buying power fell by close to 45 percent.
Small yearly numbers add up. A 3 percent rise sounds mild, yet over two decades it nearly doubles prices.
Real return versus nominal return
Inflation matters most when you compare it with investment growth. The nominal return is the growth number you see on a statement, before any adjustment for rising prices. The real return is the growth left over after you account for inflation.
A close estimate is to subtract the inflation rate from the nominal return. A more exact way is to divide one plus the nominal return by one plus the inflation rate, then subtract one.
Here is a quick case. An account grows 7 percent in a year, and prices rise 3 percent. Divide 1.07 by 1.03 and you get about 1.0388. The real return is about 3.9 percent. The simple subtraction gives 4 percent, which is close but not exact. If the account grew 3 percent while prices rose 3 percent, the real return would be zero. The balance is higher, yet it buys the same amount.
How to read the result
Treat the output as a rough guide, not a forecast. Nobody knows what inflation will be over the next 20 years. The calculator only shows what would happen if prices rose at the rate you typed in.
A helpful habit is to run the tool with a few different rates, such as 2, 3, and 4 percent. Compare the three results. The gap between them shows how sensitive long-term plans are to this one assumption. If the range feels wide, that is normal and worth remembering.
It also helps to read results in two ways. When you want to know a future price, use the cost-growth view. When you want to know what savings can buy, use the buying-power view.
Common mistakes
- Typing the rate as a whole number in a formula, such as 3 instead of 0.03, which produces a huge and wrong answer.
- Mixing up the two directions, and dividing when you meant to multiply.
- Comparing a nominal return with a real number without adjusting one of them.
- Assuming one rate fits every cost. Housing, health care, and food can change at very different speeds.
- Using a rate from a single year as if it will last for decades.
Limits of the tool
An inflation calculator uses one steady rate for every year. Real life is not steady. Prices may rise fast in one year and slowly in the next. The average over a long period can hide those swings.
The tool also uses a general rate. Your own costs may rise faster or slower than the average, depending on where you live and what you buy. Taxes and fees on investments are left out as well. The result is a simple model, and simple models leave things out.
Common questions
What inflation rate should I use?
There is no single right answer. Many people test a range of rates, such as 2 to 4 percent, and look at how much the outcome changes.
Does inflation always make money worth less?
Over long stretches, prices have usually risen, so money has usually bought less. In some periods prices fall, which is called deflation. The calculator can handle a negative rate if you enter one.
Is the real return the same as profit?
Not quite. Profit is the change in your balance. The real return adjusts that change for rising prices, so it shows the change in buying power.
Why does the effect grow faster over time?
Because of compounding. Each year’s price rise builds on the higher price from the year before, so the total climbs faster than a straight line.
Can this tool predict my future costs?
No. It only applies the rate you give it. It is a way to see how an assumption plays out, not a way to see the future.
Putting it to use
Use the inflation calculator on this site to try your own numbers. You can also look up unfamiliar terms in the glossary, browse more tools in the calculators section, practice with Stockvert, or test your knowledge with Stock Jeopardy. Try a few rates and a few time spans, and notice how the inflation calculator makes a slow, quiet change easy to see. Understanding that change is a calm, practical first step in thinking about money over many years.
For free, neutral basics from the government, the SEC runs Investor.gov.
Positive Stocks is for education only. It is not investment advice. Investing involves risk, including loss of money. Do your own research and speak with a licensed professional.

