What is Compound Interest Calculator?

Free compound interest calculator with monthly contributions, salary growth, and inflation-adjusted (real) returns. Year-by-year growth table, CSV export, geometric monthly compounding (the way real markets work). No signup required.

No file uploadsNo tracking of inputsNo account requiredWorks offline after first load

Compound Interest runs entirely in your browser using JavaScript (browser). Your data never leaves your device.

Free Compound Interest Calculator

Project any investment forward — starting balance plus regular monthly contributions, growing at your chosen annual return — and see the year-by-year compounding effect. Set a contribution-growth rate to model rising contributions as your salary grows; set an inflation rate to convert the final balance into today's dollars (real return). Uses geometric monthly compounding to match how brokerages actually report returns. Built on the same math the SEC investor.gov calculator uses.

Your investment

$
$

How much you'll add each month. Skip to 0 for a one-time investment.

%

S&P 500 long-term: ~10% nominal, 7% real. Conservative planners use 6%; aggressive use 10%.

years

Final balance

$664,155

You contributed$190,000
Compound interest earned+$474,155
Growth multiple3.50x

Most of your final balance comes from compound growth, not your contributions. This is the “eighth wonder of the world” effect — the longer your money compounds, the more growth dominates contributions.

Year-by-year growth

Watch the interest column grow as the base compounds.

YearContributedInterestCum. interestEnd balance
Year 1$6,000+$925$925$16,925
Year 2$6,000+$1,410$2,335$24,335
Year 3$6,000+$1,929$4,264$32,264
Year 4$6,000+$2,484$6,747$40,747
Year 5$6,000+$3,077$9,825$49,825
Year 6$6,000+$3,713$13,538$59,538
Year 7$6,000+$4,393$17,930$69,930
Year 8$6,000+$5,120$23,051$81,051
Year 9$6,000+$5,899$28,949$92,949
Year 10$6,000+$6,732$35,681$105,681
Year 11$6,000+$7,623$43,304$119,304
Year 12$6,000+$8,576$51,880$133,880
Year 13$6,000+$9,597$61,477$149,477
Year 14$6,000+$10,689$72,165$166,165
Year 15$6,000+$11,857$84,022$184,022
Year 16$6,000+$13,107$97,129$203,129
Year 17$6,000+$14,444$111,573$223,573
Year 18$6,000+$15,875$127,448$245,448
Year 19$6,000+$17,407$144,855$268,855
Year 20$6,000+$19,045$163,900$293,900
Year 21$6,000+$20,798$184,698$320,698
Year 22$6,000+$22,674$207,372$349,372
Year 23$6,000+$24,681$232,053$380,053
Year 24$6,000+$26,829$258,882$412,882
Year 25$6,000+$29,127$288,009$448,009
Year 26$6,000+$31,586$319,595$485,595
Year 27$6,000+$34,217$353,812$525,812
Year 28$6,000+$37,032$390,844$568,844
Year 29$6,000+$40,044$430,888$614,888
Year 30$6,000+$43,267$474,155$664,155
Free to embed on your website · No signup required

Final balance

$664,155

Interest earned

+$474,155

How compound interest actually works

Compound interest is the mechanism by which a balance grows on its own past earnings, not just the principal. The intuition matters more than the formula: if you earn 7% on $10,000, you get $700 of interest the first year. The next year, you earn 7% on $10,700 — so $749, not $700. That extra $49 came from the interest you earned previously. Over 30 years, the accumulated “interest on interest” usually exceeds your original principal — often by a multiple of 5–10x depending on the rate.

This calculator uses monthly compounding (the convention used by the SEC's investor.gov compound interest calculator). The annual return you enter is converted to its equivalent monthly rate geometrically — i.e. (1 + annual)1/12 − 1 — not by simple division. The geometric conversion matches what real markets do: a 12% annual return is a 0.949% monthly rate, not 1.000%, because the monthly growth compounds throughout the year.

The contribution timing convention

The calculator applies your monthly contribution at the start of each month, then the entire balance accrues interest for that month. This is the standard “ordinary annuity” payment timing used in financial textbooks and matches the convention used by Vanguard, Fidelity, and the SEC's calculator. The difference between beginning-of-month and end-of-month timing is usually under 1% over long horizons, but the convention matters for matching what brokerage statements show.

Real returns vs nominal returns

Inflation erodes purchasing power. $1,000,000 in 30 years buys what about $412,000 buys today, assuming 3% inflation. When the calculator's inflation field is set, it computes the real end balance — the inflation-adjusted purchasing power of your final balance in today's dollars. This is the honest planning number. Quoting nominal balances without adjusting for inflation flatters the projection.

Salary growth and rising contributions

If your monthly contribution scales with your salary (e.g. you contribute 10% of pay and your salary grows 3%/yr), enter that growth rate in the “contribution growth” field. The calculator scales each year's contribution accordingly. This usually adds 30–60% to the final balance over a 30-year horizon, since later-year contributions are larger and have more time to compound at the higher level.

Common compound interest mistakes

  • Confusing average return with realized return. The S&P 500's long-term arithmetic average is ~10%, but its geometric compound annual growth rate (CAGR) is closer to 9.5%. Volatility drags down compound returns even when the arithmetic average is high. For multi-year projections, the geometric/CAGR number is what actually compounds.
  • Forgetting fees. A 1% expense ratio on a 7% gross return is actually a 6% net return — a 14% reduction in the rate. Over 30 years, that single percentage point shrinks your final balance by 25–30%. Always use net-of-fee return in your projection.
  • Treating market returns as guaranteed. Compound interest math assumes a constant rate. Real markets are lumpy — a 7% average return might be made up of years like −37% (2008), +28% (2021), and +9% (2014). Sequence-of-returns risk matters most when you start drawing down, less when you're accumulating.
  • Stopping contributions during downturns. The most common behavioral mistake. Pausing your 401(k) during a bear market locks in losses and forfeits the cheap shares you'd otherwise buy. The compound interest math depends on continuous contributions, not stop-and-start ones.
  • Ignoring inflation. “$1 million by age 65” sounds great, but the purchasing power of $1M in 35 years is closer to $400k today. Always plan in real terms (or apply inflation adjustments to your needs in retirement).

Frequently Asked Questions

What's a realistic annual return assumption?+

For broadly diversified equity portfolios, the long-term US S&P 500 returns have averaged ~10% nominally and ~7% real (inflation-adjusted) over the last 50–100 years. Conservative planners use 6%; aggressive planners use 10%. Bond-heavy portfolios run 4–5%. Cash and high-yield savings: 2–5% depending on rate cycles. The Trinity Study and most retirement-research literature uses 6% real as a safe planning return.

Why does the calculator use monthly compounding?+

Because real markets do. Mutual fund NAVs update daily, but for projection math monthly is the standard convention used by the SEC's investor.gov calculator, Vanguard, and Fidelity tools. The difference between monthly and continuous compounding on a 7% return is under 0.1 percentage points — invisible at typical investment horizons.

Should I use nominal or real (inflation-adjusted) returns?+

For headline numbers, nominal returns are fine — they're what your statement will literally show. For planning (e.g. "will I have enough to retire?") use real returns, because what matters is purchasing power, not the dollar count. Set the inflation field to your assumed long-term rate (2–3% is typical) to see your final balance in today's dollars.

Does this account for taxes?+

No — projections are pre-tax. In a taxable brokerage account, your effective return is reduced by ~15–20% for long-term capital gains and qualified dividends taxes; in a Roth IRA / Roth 401(k) the projection is correct (no future tax); in a Traditional IRA / 401(k) you'll pay ordinary income tax on withdrawals. For tax-specific modeling, use the Roth vs Traditional IRA Calculator or the 401(k) Calculator.

What's the difference between arithmetic average and geometric/CAGR returns?+

Arithmetic average is just the mean of annual returns. Geometric (or CAGR) is the constant rate that would produce the same compounded result. Volatility drags down geometric returns relative to arithmetic. The S&P 500's arithmetic average is ~10–11%; its CAGR is closer to 9.5%. For multi-year compound projection, the geometric/CAGR number is what actually compounds. Enter the geometric estimate, not the arithmetic average.

How does contribution growth affect the final balance?+

A lot — usually 30–60% more in the final balance over a 30-year horizon. If you contribute 10% of a $60k salary at year 0 and that salary grows 3%/yr, by year 30 you're contributing 10% of $146k. Those later-year contributions are larger AND compound for fewer years, but the dollar magnitude compensates. The "contribution growth" field models this directly.

What about market downturns?+

This calculator assumes a constant rate of return, which is mathematically clean but not how real markets work. The S&P 500 has 35% drawdowns roughly every 10 years on average. A 6% average return might be made up of years like −37%, +28%, +15%, −5%, +9% — the average is the same but the path matters during withdrawal (sequence-of-returns risk). For accumulation phase, the math is roughly accurate; for retirement spend-down, use Monte Carlo simulation tools.

Is my data stored?+

No. All calculations run in your browser. Your starting balance and contribution amount never leave your device. The URL can encode your scenario so you can share it with a partner or financial planner — but the parameters live only in the link.

Disclaimer. Projections only — not financial advice or a guarantee of future returns. Past performance does not guarantee future results. Real market returns are volatile and depend on factors not modeled here (sequence of returns, withdrawal timing, fees, taxes).