Compound Interest Calculator
See exactly where your money lands in one second — lump sum, monthly deposits, or both. Change any number and the chart, insight line and year-by-year table update instantly, including an inflation-adjusted figure most calculators leave out.
Principal vs interest, year by year
Year-by-year growth table
| Year | Contributed | Interest | Balance |
|---|
* A simple compound-interest model without taxes or fees. Real returns vary with markets and tax treatment.
What this compound interest calculator does
Compound interest is interest that starts earning interest. This calculator shows what happens to money you already have plus money you add every month when it grows at a steady annual rate. It assumes the same return every year and ignores taxes and fees, so treat the number as a planning baseline rather than a promise.
Start with three fields:
- Monthly contribution — what you can actually set aside, not what you hope to.
- Annual return — a conservative rate. Broad stock index funds have historically returned roughly 7–10% a year before inflation and taxes; savings accounts return far less.
- Years invested — try 10, 20 and 30. The last decade usually adds more than the first two combined.
The formula behind the numbers
A monthly-contribution plan has two parts: the starting balance and the stream of deposits.
The first term grows your starting balance. The second is the future value of an annuity: every deposit compounds from the month it lands, which is why money added early does far more work than money added late.
Worked example: $5,000 to start, $500 a month, 7% for 20 years
| Item | Amount | Note |
|---|---|---|
| Total contributed | $125,000 | $5,000 + ($500 × 240 months) |
| Balance after 20 years | $280,657 | 2.25× what you put in |
| Interest earned | $155,657 | 55% of the final balance |
| Same plan, annual compounding | $265,321 | $15,336 less than monthly |
Interest overtakes contributions in year 18 of that plan. From then on, the account earns more each year than you deposit — the point where compounding stops being a detail and becomes the engine.
Compounding frequency: APR is not APY
The stated rate is not the rate you actually earn. Compounding frequency decides that.
- Monthly compounding — 7% a year compounded monthly is an effective annual yield of about 7.23%.
- Annual compounding — 7% compounded once a year is exactly 7.00%.
On a savings account the difference is small but real. On a 20-year plan it is thousands of dollars, which is why the calculator lets you switch between the two.
The Rule of 72: how long until your money doubles
| Annual return | Rule of 72 | Exact |
|---|---|---|
| 3% | 24 years | 23.4 years |
| 5% | 14.4 years | 14.2 years |
| 7% | 10.3 years | 10.2 years |
| 10% | 7.2 years | 7.3 years |
The exact figure is ln(2) ÷ ln(1 + r). The shortcut is accurate enough between 4% and 15%, and it turns a vague hope into arithmetic: at 7%, money doubles three times in 30 years — 8× — before you add a single new deposit.
Why the inflation-adjusted number matters more
A bigger balance is not the same as more buying power. Subtract inflation and the picture changes.
That $280,657 in 20 years is worth about $171,277 in today’s dollars at 2.5% inflation. The Inflation-adjusted card shows this figure for whatever assumptions you enter. If your real return is near zero, the balance is growing while your purchasing power stands still.
Three things taxes and fees quietly take
1. Tax treatment of the account
In the US, interest in a taxable account is taxed as ordinary income each year, while long-term capital gains and qualified dividends get preferential rates. Tax-advantaged accounts — a 401(k), a traditional or Roth IRA, an HSA — change the math far more than picking a slightly better fund. Check current contribution limits and rules with the IRS or your plan provider before relying on a number.
2. Fees compound too
A 0.03% index fund and a 1% actively managed fund can differ by tens of thousands of dollars over 20 years on the same starting balance. Fees compound against you exactly the way returns compound for you.
3. Sequence and volatility
A steady 7% is a convenient fiction: real markets deliver −20% years and +25% years in a different order for everyone. Averages hide the drawdowns that make people sell at the bottom, which is the single most expensive mistake in long-term investing.
How to use this calculator well
- Run a pessimistic case. Enter 5% instead of 10% and plan your life around that number. If the plan still works, the optimistic case is a bonus.
- Stretch the horizon. Add ten years and watch how much of the final balance is interest. It reframes “I’m behind” as “I started late but the curve is steep ahead”.
- Nudge one input. Add $100 a month and see the 20-year difference. Small, sustainable changes beat dramatic ones you abandon in March.
Frequently asked questions
How accurate is this calculator?
It is exact arithmetic on the assumptions you enter — and only as good as those assumptions. A constant annual return, no taxes, no fees, contributions made on schedule. Real accounts wobble. Use it to compare scenarios (10 vs 20 years, 5% vs 7%), not to predict a balance to the dollar.
Should I invest a lump sum or contribute monthly?
Mathematically, money invested earlier compounds longer, so a lump sum usually wins. Practically, nobody knows whether today is a good entry point, and monthly contributions reduce the risk of investing everything at a peak. A common compromise: invest a lump sum in tranches over a few months, then keep automatic monthly contributions running.
What return rate should I use?
Use something you can defend. High-yield savings might pay 4–5%; a diversified global stock index has historically returned about 7–10% a year before inflation and taxes. Subtract 1–2 percentage points from whatever you expect — the calculator is more useful as a floor than as a forecast.
How long until my money doubles?
Divide 72 by the annual return: about 12 years at 6%, about 9 years at 8%, about 7 years at 10%. The exact answer is ln(2) ÷ ln(1 + r).
Does this include taxes and inflation?
Taxes and fees are not deducted; the headline balance is pre-tax. Inflation is applied separately in the Inflation-adjusted card, using the real-return formula above. For a post-tax view, multiply the ending balance by your expected after-tax rate, or lower the return rate to reflect annual tax drag.