Compound interest calculator with inflation: what your money is really worth
You put money away every month and watch the number grow, but you can't tell if you're really getting ahead or if inflation and fees are eating what you earn. Here you see it in today's money, with your country's official inflation.
By JH Grandgerard · Inflation data updated October 17, 2026
Loading the calculator. If it doesn't show up, turn on JavaScript in your browser.
How much does your money really grow with compound interest?
Your buying power grows at your return, minus fees, minus your country's inflation. That's why the number that counts is the one in today's money. In the example below, the middle scenario beats inflation by 4 points a year, and after a 1% fee that leaves just under 3% real.
A worked example
The three scenarios are assumptions, not forecasts: they beat inflation by 2, 4 and 6 points a year, before fees.
| Starting amount | $1,000 |
|---|---|
| Monthly contribution, at the end of each month | $100 |
| Term | 20 years |
| Inflation in the United States | 4.5% a year (2021-2025 average, BLS) |
| Fees | 1% a year |
| Return | three assumptions: 2%, 4% and 6% real a year |
| Item | Cautious | Middle | Optimistic |
|---|---|---|---|
| Assumed return per year | 6.6% | 8.7% | 10.8% |
| Value before taking out inflation | 45,933 | 58,627 | 75,356 |
| In today's money | 19,046 | 24,309 | 31,246 |
| Real return after fees | 1.0% | 3.0% | 4.9% |
In all three scenarios you put in the same amount: $25,000 over 20 years, which is worth $16,929 in today's money. In the middle scenario the account reaches $58,627, but at today's prices that equals $24,309, so the real interest adds $7,380. Without the 1% fee, the final value of the middle scenario would be $8,210 higher. These are assumptions, not forecasts: you can't know in advance what an investment will return.
What to do with this
What hurts most is looking at your account years from now, seeing a big number, and finding out it doesn't buy what you were counting on. So look at the "in today's money" figure, because that's what you could buy with it. The return is a guess you type in, so I'd always look at all three scenarios. The only thing you know in advance is the fees, so start there. One point less in fees, compounded over twenty years, weighs more than it looks.
After the calculator, two things are still on you. One is knowing whether what you're buying is expensive or cheap, because if you buy expensive, compound interest needs more years to get to the same place. The other is holding on when the market falls, because compound interest only works if you leave the money alone in the bad years. You can't learn that by reading. It takes emotional muscle, and you build it by investing, with a little more weight each week.
How we calculate it and how to check it
Everything is calculated on your device, in half-month steps. In each step the balance grows at the rate that matches your yearly return, the share of the yearly fee that belongs to that step comes out, and your contributions go in on their dates: every month, twice a month or every year, at the start or the end of the period, plus the extra contribution in December. The return is an effective annual rate (APY, AER or EAR). If you pick nominal (APR), it's converted to effective first, using its compounding. The value in today's money divides the result by the accumulated inflation: (1 + inflation) raised to the number of years.
The three scenarios add 2, 4 and 6 points of real yearly return on top of your country's inflation, and they multiply, they don't add: yearly return = (1 + inflation) × (1 + real) − 1. With 5% inflation, the middle scenario is 1.05 × 1.04 − 1 = 9.2%.
These are some of the sums we tested the calculator with. You can repeat them with a pocket calculator and with ours:
| What is checked | The sum | Result |
|---|---|---|
| No interest: 1,000 to start and 100 a month, 1 year | 1,000 + 100 × 12 | 2,200 |
| Capital only: 10,000 at 10% effective annual, 10 years | 10,000 × 1.1^10 | 25,937.42 |
| The same in today's money, with 3% inflation | 25,937.42 ÷ 1.03^10 | 19,299.88 |
| 100 at the end of each month, 12% nominal with monthly compounding, 1 year | 100 × (1.01^12 − 1) ÷ 0.01 | 1,268.25 |
| The same contribution, at the start of each month | 1,268.25 × 1.01 | 1,280.93 |
| 50 twice a month, 10% effective annual, 1 year | 50 × 0.1 ÷ (1.1^(1/24) − 1) | 1,256.55 |
| 1,000 at 12% nominal with monthly compounding, against 12% effective, 1 year | 1,000 × 1.01^12 and 1,000 × 1.12 | 1,126.83 and 1,120 |
| 1% fee: 10,000 at 8%, 5 years | 10,000 × (1.08 × 0.99)^5 | 13,973.16 |
| Extra contribution of 1,000 every December, 10%, 3 years | 1,000 × (1.1² + 1.1 + 1) | 3,310 |
| 30% fall in year 2: 1,000 to start and 1,000 at the end of each year, 10%, 3 years | ((1,000 × 1.1 + 1,000) × 0.7 + 1,000) × 1.1 + 1,000 | 3,717 |
| Goal of 12,000 in 10 years, no interest and no inflation | 12,000 ÷ 120 months | 100 a month |
Inflation in each country, in one table
Compound yearly average of consumer-price inflation over the last 5 and 10 years with official data. It's the one the calculator loads when you pick your country.
| Country | Last 5 years | Last 10 years | Source |
|---|---|---|---|
| United States | 4.5% (2021-2025) | 3.1% (2016-2025) | BLS |
| United Kingdom | 5.0% (2021-2025) | 3.3% (2016-2025) | ONS |
| Canada | 3.7% (2021-2025) | 2.6% (2016-2025) | Statistics Canada |
| Australia | 4.2% (2021-2025) | 2.9% (2016-2025) | ABS |
| India | 5.0% (2021-2025) | 4.7% (2016-2025) | World Bank, from MoSPI data |
| Nigeria | 23.2% (2021-2025) | 18.4% (2016-2025) | World Bank, from NBS data |
Frequently asked questions
How does compound interest work?
You earn interest on your interest. What your money earns gets added to the capital, and next year that bigger amount earns too. That's why the first years feel slow and the last ones add the most.
How is compound interest calculated?
Multiply the balance by one plus the yearly rate, and repeat once for every year. 10,000 at 10% for 10 years is 10,000 × 1.1^10 = 25,937. With contributions, each one grows from the day it goes in. The calculator does that in half-month steps, and the sums are written out in "How we calculate it and how to check it."
Does compound interest beat inflation?
Only if your return, after fees, is higher than inflation. Inflation compounds too, but against you: every year your money buys a little less. Compare the two lines in the worked example above, the value before taking out inflation and the value in today's money. The distance between them is what inflation takes.
How do you calculate real return?
Real return is what's left after inflation. The quick way is to subtract: 8% return minus 3% inflation is about 5% real. The exact way is to divide: 1.08 ÷ 1.03 − 1 = 4.85%. Take the fees out first. The calculator gives you the real return after fees and inflation, right under the result.
How to calculate compound interest with inflation?
Calculate the compound balance first, then divide it by (1 + inflation) raised to the number of years. 25,937 after 10 years with 3% inflation is 25,937 ÷ 1.03^10 = 19,300 in today's money. The calculator does it for you with your country's official inflation.
Is compound interest calculated monthly or yearly?
It depends on how often the interest is added: every day, every month or every year. With an effective annual rate the result is the same whichever you pick. With a nominal rate (APR), the more often it compounds, the more it earns. The difference is small next to inflation and fees, and the sums are in "How we calculate it and how to check it."
When does compound interest really take off?
Later than you'd expect. In the first years, most of the balance is what you put in. The interest becomes the bigger part after a decade or two, depending on the rate. Open the year-by-year table under the result and look for the year when the interest passes what you put in.
How does compound interest differ from simple interest?
Simple interest is paid only on the original amount, so 1,000 at 5% pays 50 every year. Compound interest is paid on the original amount plus the interest already earned, so the second year pays on 1,050. Over a short time the difference is tiny. Over twenty years it's big.
Can compound interest work against you?
Yes. Debt you don't pay off compounds the same way, and credit card rates are much higher than what an investment usually earns. Fees work against you too: a fund's yearly fee comes out of everything you have invested, so it compounds against you.
Does compound interest apply to stocks?
It does, but a stock doesn't pay a fixed rate. The price goes up and down, and what compounds is the return you keep, including the dividends you reinvest. That's why the calculator gives you three scenarios and not one number, and why holding through the bad years matters. The return is never a given.
Should I use APY, APR or AER?
APY (United States), AER (United Kingdom) and the effective annual rate (Canada, Australia, India) already include compounding, and those are what the calculator uses by default. APR and other nominal rates don't include it: if that's the one you have, pick "Nominal annual rate" in "More options" and set its compounding. Be careful not to type a yearly rate as if it were monthly.
How long does it take to double my money? (the rule of 72)
The rule of 72: divide 72 by the return and you get roughly the years. What matters is how long it takes for what you can buy to double, so use the real return: at 3% real, about 24 years. The calculator tells you under the result.
How much do I need to retire? How much should I save each month to reach a goal?
It depends on how much you want to spend each month and on the years you have left, so there's no single number that fits every case. In the "How much do I need to contribute?" tab you type your goal in today's money, and the calculator tells you how much to contribute each month to get there.
Does the calculator include taxes and fees?
Fees yes, and it shows you what they cost in money at the end. Taxes no, because they change with the country and the product, so the result is before taxes.
Do I contribute at the start or the end of the month?
If you contribute at the start of the month, each contribution works one month longer. The difference is small, but it compounds too. You change it in "More options", under "When".
What if I invest in a different currency from the one I earn?
Pick the country of the currency you invest in, and the calculator uses that country's inflation. If you convert back later, you add exchange-rate risk, and the calculator doesn't work that out.
Are my numbers saved or sent anywhere?
No. Everything is calculated on your phone or your computer, with no cookies and no ads. The share link carries your numbers only if you copy it or share it yourself.
MetaTrader tools
What if the stock you're about to buy is already expensive?
Compound interest works better when you don't buy expensive. In MetaTrader, the 6-layer filter in our tools tells you, before you put your money in, whether a stock is cheap or expensive and whether the company is financially stable and growing.
Where the data comes from
- Inflation, United States: U.S. Bureau of Labor Statistics, CPI-U (all items), yearly average. Public domain. The BLS didn't publish October 2025, so its 2025 average uses the eleven months it has.
- Inflation, United Kingdom: Office for National Statistics, CPI annual rate (series D7G7). Released under the Open Government Licence v3.0.
- Inflation, Canada: Statistics Canada, Consumer Price Index, Table 18-10-0004-01, average of the twelve months of each year. Released under the Statistics Canada Open Licence.
- Inflation, Australia: Australian Bureau of Statistics, CPI all groups, average of the four quarters of each year. Released under CC BY 4.0.
- Inflation for India and Nigeria: World Bank, World Development Indicators, indicator "Inflation, consumer prices (annual %)" (FP.CPI.TOTL.ZG), which takes the figures from the International Monetary Fund, and the IMF takes them from each country's statistics office (MoSPI in India, the NBS in Nigeria). Released under CC BY 4.0.
- The example figures for each country: round numbers of about 1,000 US dollars to start and 100 a month, checked against the World Bank's official average exchange rate (CC BY 4.0).
Data checked on October 17, 2026. It's updated once a year.
The result is informational and depends on the numbers you type. It's not investment advice or a forecast. The calculator doesn't use cookies, doesn't save what you type and doesn't send your data to anyone.
Embed this calculator on your website
Copy this code and paste it into your site. It's free and has no ads.
