Finance Calc App

Compound Interest Explained: The Math Behind Exponential Growth

Compound interest means earning interest on your interest — and over decades the effect is dramatic. This guide walks through the formula, shows worked examples, and explains why starting a decade earlier is worth more than saving twice as much.

By Ward Last reviewed 9 min read

Albert Einstein reportedly called compound interest the eighth wonder of the world. Whether or not he said it, the sentiment is apt: money earning interest on its own interest creates exponential — not linear — growth. The difference between simple and compound interest is modest over a year; over 30 years it's transformative.

Free tool

Compound Interest Calculator

See exactly how your savings grow with regular contributions and any compounding frequency.

Try it →

Simple vs. compound interest

With simple interest, you earn a fixed return on your original principal every period:

A = P × (1 + r × t)

$10,000 at 8% simple interest for 10 years: $10,000 × (1 + 0.08 × 10) = $18,000.

With compound interest, you earn interest on the accumulated total — including prior interest:

A = P × (1 + r/n)^(n×t)
  • A = final amount
  • P = principal
  • r = annual interest rate (decimal)
  • n = compounding periods per year
  • t = years

$10,000 at 8% compounded annually for 10 years: $10,000 × (1.08)¹⁰ = $21,589. That's $3,589 more than simple interest — purely from earning interest on interest.

How compounding frequency changes the result

The same 8% rate compounded at different frequencies on $10,000 over 10 years:

  • Annual (n=1): $21,589
  • Quarterly (n=4): $21,911
  • Monthly (n=12): $22,020
  • Daily (n=365): $22,053

Daily vs. annual compounding adds only about $464 over ten years — less than most people expect. The frequency matters far less than the rate and the time horizon. Still, higher frequency is better, and most savings accounts and investment accounts compound daily or monthly.

Adding regular contributions

In the real world, you rarely invest a lump sum and wait. More often you save a fixed amount each month. The formula becomes an annuity combined with a lump sum:

A = P × (1 + r)ⁿ + PMT × ((1 + r)ⁿ − 1) / r

Where PMT is the regular contribution per period and r is the period interest rate.

Worked example: 30-year savings plan

You invest $5,000 today and add $500/month for 30 years at 7% annual return (compounded monthly, so r = 0.07/12):

  • Lump sum growth: $5,000 × (1 + 0.07/12)³⁶⁰ = $41,300
  • Contribution growth: $500 × ((1.005833)³⁶⁰ − 1) / 0.005833 = $566,765
  • Total: ~$608,065
  • Total contributed: $5,000 + ($500 × 360) = $185,000
  • Interest earned: $423,065 — 2.3× your contributions

The majority of your final balance is interest you earned on interest, not money you ever deposited. That's the compounding miracle.

The rule of 72

A quick mental shortcut: divide 72 by the annual interest rate to estimate how many years it takes for your money to double.

  • At 6%: 72 ÷ 6 = 12 years to double
  • At 8%: 72 ÷ 8 = 9 years
  • At 10%: 72 ÷ 10 = 7.2 years

A $50,000 investment at 8% doubles to $100,000 in roughly 9 years, then to $200,000 in 18 years, then to $400,000 in 27 years. Each doubling period is the same length, but each doubles a larger base — that's the exponential curve becoming steep.

Why starting early matters more than investing more

Compare two investors, both targeting retirement at 65:

  • Alex starts at 25, invests $400/month until 65 at 7%. Total invested: $192,000. Final balance: ~$1,048,000.
  • Jordan starts at 35, invests $800/month until 65 at 7%. Total invested: $288,000. Final balance: ~$970,000.

Jordan invests 50% more money per month and a total of $96,000 more, yet ends up with less than Alex. Those first ten years of compounding are worth more than a decade of doubled contributions. This is the most counterintuitive and important lesson in personal finance.

Compound interest works against you too

The same maths that builds wealth also destroys it when applied to debt. Credit card debt at 20% APR compounds monthly:

  • $5,000 balance, no payments: after 5 years it grows to $13,525
  • After 10 years: $36,610

The practical implication: paying off high-interest debt delivers a guaranteed, risk-free return equal to the debt's interest rate. Paying off 20% credit card debt is more valuable than investing in an asset that might return 8–10%.

Inflation's role

Compound interest grows your nominal balance, but real returns are nominal minus inflation. At 7% nominal with 3% inflation, your real return is approximately 4% (more precisely, (1.07/1.03) − 1 = 3.88%). Long-run planning should use real returns rather than nominal, especially for retirement projections decades away.

Free tool

Retirement Calculator

Project how your savings compound over time and what monthly income they'll support in retirement.

Try it →

Common mistakes

  • Confusing APY and APR. Banks advertise APY (Annual Percentage Yield), which includes compounding. APR is the simple rate before compounding. For savings accounts, APY is what you actually earn.
  • Withdrawing too early. Withdrawing even a fraction of your portfolio early cuts off the compounding on that portion for the rest of the holding period. A $10,000 withdrawal at age 35 that would have grown at 7% costs you roughly $57,000 by age 65.
  • Ignoring fees. A 1% annual fee sounds trivial but over 30 years at 7% it costs about 23% of your final portfolio — the fee compounds too. Preferring low-cost index funds over high-fee active funds is the simplest application of compound interest arithmetic.
  • Comparing investments by headline rate without compounding period. A 5.1% rate compounded monthly beats a 5.2% rate compounded annually — always calculate APY before comparing.