How Compound Interest Works (With Examples)

Compound interest means earning interest on your interest. Deposit $10,000 at 7% compounded yearly and after 20 years you hold $38,697 — the extra $14,697 above simple interest exists because each year's earnings start earning their own earnings.

What is the formula for compound interest?

The standard formula is:

A = P(1 + r/n)^(nt)

Each symbol has a plain meaning:

  • P — the starting principal, e.g. $10,000.
  • r — the nominal annual rate as a decimal, so 7% becomes 0.07.
  • n — how many times per year interest compounds: 1 for yearly, 4 for quarterly, 12 for monthly, 365 for daily.
  • t — the number of years the money stays invested.
  • A — the final amount, principal plus all growth.

Compare that with simple interest, A = P(1 + rt), which pays only on the original deposit. On $10,000 at 7% for 20 years, simple interest gives $24,000. Compounding yearly gives $38,697 — a $14,697 gap. Stretch the timeline to 40 years and the gap explodes: simple interest reaches $38,000 while compounding reaches $149,745. The longer the money sits, the larger the share of the final balance that came from growth rather than from you.

If you want to skip the hand math, the Compound Interest Calculator runs this formula for any combination of principal, rate, frequency, and time.

How much does compounding frequency matter?

All else equal, more frequent compounding always wins — but by less than advertising suggests. Here is $10,000 at 7% for 20 years under four schedules:

CompoundingnFinal valueExtra vs yearly
Yearly1$38,697—
Monthly12$40,387+$1,690
Daily365$40,547+$1,850
Continuous∞$40,552+$1,855

Daily compounding beats yearly by about $1,850, roughly 5%. Notice that continuous compounding — the mathematical ceiling — adds almost nothing beyond daily. Now compare that with a one-point rate increase: $10,000 at 8% compounded yearly for 20 years grows to $46,610, a gain of $7,913 over the 7% case. That single extra point of return is worth more than four times the frequency upgrade. The practical lesson: pick the account by rate first, compounding schedule second. Time in the market and the rate you earn dominate everything else.

Worked example: $500 a month from age 25 to 65

A lump sum is rare; most people invest monthly. Here is what $500 a month at 7% (compounded monthly) becomes over a 40-year career, computed step by step.

Step 1 — set the inputs. Monthly deposit PMT = $500. Monthly rate r = 0.07 / 12 ≈ 0.005833. Number of deposits n = 40 × 12 = 480.

Step 2 — apply the annuity formula. For regular end-of-month deposits the future value is FV = PMT × ((1+r)^n − 1) / r. First compute (1.005833)^480 ≈ 16.3114, so ((1+r)^n − 1) ≈ 15.3114.

Step 3 — finish the arithmetic. 15.3114 / 0.005833 ≈ 2,624.81. Multiply by $500: FV ≈ $1,312,407.

Total deposits were $500 × 480 = $240,000. Interest contributed $1,072,407 — about 82% of the final balance came from growth, not from deposits. That is compounding doing the heavy lifting.

Now the cost of waiting. Start at 35 instead of 25 — just ten years later — and the same $500 a month reaches only $609,985. The ten-year delay costs $702,422, nearly three times what was deposited in those first ten years ($60,000). Early money is the most valuable money because it compounds the longest. Run your own start date and deposit in the Compound Interest Calculator to see the exact trade-off.

What is the Rule of 72?

The Rule of 72 is a shortcut for doubling time: divide 72 by the annual rate to get the approximate years needed to double your money. At 7%, 72 / 7 ≈ 10.3 years (the exact figure is 10.2 years). It stays accurate within a few percent for rates between about 4% and 12%:

Annual rateRule of 72 estimateExact doubling time
4%18.0 years17.7 years
6%12.0 years11.9 years
8%9.0 years9.0 years
10%7.2 years7.3 years

Use it to sanity-check any growth claim in seconds. Someone promises to double your money in five years? They are implying a 14% annual return — possible, but now you know exactly how aggressive that is.

Practical tips

  • Start before you optimize. The worked example shows a ten-year delay costs over $700,000 on $500 a month. Time in the market beats a slightly better rate almost every time.
  • Compare rates, not compounding schedules. A 7.5% account compounding yearly beats a 7% account compounding daily. Banks advertise frequency because it sounds good; do the math instead.
  • Reinvest everything. Compounding breaks the moment you skim off the gains. Dividends and interest that leave the account stop earning their own returns.
  • Watch fees like a hawk. A 1% annual fee turns a 7% return into 6%. On $10,000 over 40 years that is the difference between $149,745 and $102,857 — the fee silently takes about 31% of your outcome.
  • Remember debt compounds too. An unpaid balance at 20% doubles roughly every 3.6 years by the same Rule of 72. Paying down high-rate debt is usually the best guaranteed "return" available.
  • Model your own numbers. Rules of thumb are for intuition; decisions deserve exact figures. Plug your principal, rate, and timeline into a calculator before committing real money.

Try it yourself

Plug in your own principal, rate, and timeline to see exactly what compounding does for you.

Compound Interest Calculator →

Frequently asked questions

What is compound interest in simple terms?

Compound interest is interest earned on both your original deposit and the interest it has already earned. Your balance grows faster each period because the base it grows from keeps getting larger. That snowball effect is what separates it from simple interest, which pays only on the original principal.

What is the compound interest formula?

A = P(1 + r/n)^(nt), where A is the final amount, P the starting principal, r the annual rate as a decimal, n the number of compounding periods per year, and t the number of years. For regular monthly deposits, use the future-value-of-annuity formula instead, or a calculator.

Does compounding frequency make a big difference?

Some, but less than most people expect. On $10,000 at 7% for 20 years, daily compounding beats yearly by about $1,850 (roughly 5%). Raising the rate by one percentage point, or adding a few more years, moves the result far more than any change in frequency.

How long does it take money to double at 7%?

About 10.3 years. The Rule of 72 gives a quick estimate: divide 72 by the annual rate (72 / 7 = 10.3). The exact answer is 10.2 years. The rule works best for rates between about 4% and 12%.

Can compound interest work against me?

Yes. Unpaid credit-card balances compound against you at 20% or more, which doubles the debt roughly every 3.6 years by the same Rule of 72. Paying down high-rate debt is usually a better return than any investment you can count on.

Related tools

Ad space