Compound interest calculator
See how a starting amount and monthly savings grow over the years, in any currency, with the answer also shown in today's money. Same method as the SEC's calculator on investor.gov, plus the parts it leaves out.
In today's money, at 3% inflation: $551,474
Between $895,582 and $2,020,269 if returns are 2 points lower or higher.
- From year 7, your money earns more each year than you pay in.
- You cross $1,000,000 in year 28.
- At the end, 86% of your balance is growth you never paid in.
StockFly tracks what your real investments actually did, in any currency.
How it is calculated
Each compounding period, the balance earns the period's share of the yearly return, and the contributions made during that period are added at its end. That is the rule the SEC's calculator on investor.gov uses, so the two agree to the cent. With annual compounding a year's twelve deposits earn nothing until the year ends; with daily compounding the monthly amount is spread over 365 days.
balance after k years = P x (1 + r/n)^(k x n) + c x ((1 + r/n)^(k x n) - 1) / (r/n) c = monthly contribution x 12 / n n = 1 (annually), 2 (semiannually), 4 (quarterly), 12 (monthly) or 365 (daily) low and high = the same formula at r minus and plus the return range today's money = balance / (1 + inflation)^k
Goal mode runs the same formula backwards: the balance is linear in the monthly amount, so the amount that lands exactly on the target is one division away. Today's money divides a future amount by inflation over the same years, so a target set decades out can be compared with prices you know.
The presets are long-run averages, each with its period and source. Past averages are not forecasts.
| Preset | Rate | Period | Source |
|---|---|---|---|
| S&P 500, long-run average | 10.7% a year | January 1957 to August 2026, dividends reinvested | Robert Shiller's dataset, compiled by officialdata.org |
| S&P 500, after inflation | 6.8% a year, after inflation | January 1957 to August 2026, dividends reinvested, adjusted with US CPI | Robert Shiller's dataset, compiled by officialdata.org |
| Global stocks (MSCI World) | 9.1% a year | December 1987 to August 2026, gross return in US dollars | MSCI World Index factsheet |
| US bonds (Bloomberg US Aggregate) | 6.6% a year | 1976 to 2023, total return | Bogleheads wiki, citing the index publisher |
| High-yield savings, typical in 2026 | 4% a year | a typical top online savings rate in September 2026, not a long-run average | FDIC national rates and published bank rate tables |
Questions, answered
That was a projection. To see what your real investments actually did, open the live demo, try the Real Return Calculator or read the guides. No account needed for any of them.