What is compound interest? The complete guide
Compound interest from the one-line definition to the real numbers: the formula, why time beats rate, what a 10-year delay costs, how fees, taxes, and inflation eat into it, and how the same math runs against you on debt.
Part of Investing Basics — 2026 explainers and calculators.
If you only learn one idea about money, make it this one. Compound interest is the engine behind retirement accounts, index-fund investing, and every “start early” piece of advice you’ve ever heard. It also runs the other way: it is why credit-card debt snowballs.
Every number in this guide was computed from the formulas shown, the same math the compound interest calculator runs. Returns are illustrative; real markets don’t deliver a smooth 7% a year.
The one-sentence version
Compound interest is interest earned on interest.
The money you earn in one period becomes part of your balance, so in the next period you earn interest on that too. The balance grows faster and faster as past interest piles up underneath it.
Simple vs. compound, side by side
Two investors each put in $10,000 at 7% a year. The first takes the interest out as cash each year (simple interest). The second leaves it in to compound.
| Year | Simple interest | Compound interest |
|---|---|---|
| 1 | $10,700 | $10,700 |
| 5 | $13,500 | $14,026 |
| 10 | $17,000 | $19,672 |
| 20 | $24,000 | $38,697 |
| 30 | $31,000 | $76,123 |
| 40 | $38,000 | $149,745 |
Same money, same rate. By year 40 the compounding investor has nearly four times as much, purely because the interest stayed invested and earned interest of its own.
The formula
For a single lump sum:
FV = PV × (1 + r)ⁿ
- FV = future value
- PV = what you start with
- r = rate per period
- n = number of periods
Example: $10,000 at 7% for 30 years is $10,000 × 1.07³⁰ = $10,000 × 7.6123 = $76,123.
Most people invest a little at a time rather than one lump sum. Adding a regular contribution C each period:
FV = PV × (1 + r)ⁿ + C × ((1 + r)ⁿ − 1) / r
Example: $300 a month for 40 years at 7% a year, compounded monthly (r = 0.07 ÷ 12, n = 480): (1 + r)⁴⁸⁰ ≈ 16.311, so FV = 300 × 15.311 ÷ 0.005833 ≈ $787,444. You put in $144,000. The other $643,444 is compounding.
Why time beats rate
Because returns compound, the number of years matters exponentially, while the rate matters less than people expect. $10,000 with no further contributions:
| Rate | 10 years | 20 years | 40 years |
|---|---|---|---|
| 4% | $14,802 | $21,911 | $48,010 |
| 7% | $19,672 | $38,697 | $149,745 |
| 10% | $25,937 | $67,275 | $452,593 |
Going from 20 to 40 years doesn’t double the result. At 7% it multiplies it by 3.9, and at 10% by 6.7.
Starting at 22, 32, 42, or 52
$300 a month at 7% (compounded monthly), contributing until age 65:
| Start age | Years | Total contributed | Portfolio at 65 |
|---|---|---|---|
| 22 | 43 | $154,800 | $982,839 |
| 32 | 33 | $118,800 | $463,219 |
| 42 | 23 | $82,800 | $204,658 |
| 52 | 13 | $46,800 | $75,999 |
The 22-year-old contributes only $36,000 more than the 32-year-old and ends with more than twice as much: $519,620 more. Against the 42-year-old, an extra $72,000 of contributions turns into an extra $778,181.
What waiting costs
Same $300 a month at 7% until 65, starting at 22 versus later:
| Delay | Start age | Portfolio at 65 | Cost of waiting |
|---|---|---|---|
| None | 22 | $982,839 | — |
| 1 year | 23 | $913,112 | $69,727 |
| 3 years | 25 | $787,444 | $195,395 |
| 5 years | 27 | $678,149 | $304,690 |
| 10 years | 32 | $463,219 | $519,620 |
Waiting a single year costs about $70,000 at retirement, far more than the $3,600 of skipped contributions. The cost is the decades of compounding those first contributions would have done. The cost of waiting calculator runs this with your own numbers.
The rule of 72
A shortcut for compounding in your head:
Years to double ≈ 72 ÷ the annual rate (as a whole-number percent).
| Rate | Doubles in about |
|---|---|
| 2% | 36 years |
| 4% | 18 years |
| 6% | 12 years |
| 7% | 10 years |
| 10% | 7.2 years |
| 12% | 6 years |
At 7%, $10,000 invested at 25 becomes roughly $20,000 at 35, $40,000 at 45, $80,000 at 55, and $160,000 at 65, with no further contributions. (The exact figure is $149,745; the rule is an approximation that’s closest between about 6% and 10%.) The rule of 72 calculator compares the shortcut with the exact answer at any rate.
How often it compounds
More frequent compounding nudges the effective rate up a little. At a 6% nominal rate:
| Compounding | Effective annual rate |
|---|---|
| Annual | 6.000% |
| Semi-annual | 6.090% |
| Quarterly | 6.136% |
| Monthly | 6.168% |
| Daily | 6.183% |
Over 30 years, $10,000 grows to $57,435 with annual compounding and $60,488 with daily. That’s real money but modest next to the rate, the time, and the fees. When comparing savings accounts, use the APY, which already includes compounding frequency.
Three things that compound against you
Inflation
The returns above are nominal. To see purchasing power, deflate by inflation. $100,000 growing at 7% with 3% inflation:
| Year | Nominal value | In today’s dollars |
|---|---|---|
| 10 | $196,715 | $146,375 |
| 20 | $386,968 | $214,255 |
| 30 | $761,226 | $313,615 |
| 40 | $1,497,446 | $459,052 |
After 40 years the account shows a 15× gain, but real spending power grew about 4.6×. A rough rule: real return ≈ nominal return − inflation. Cash earning 1% while inflation runs 3% loses about 2% of its purchasing power every year. The inflation calculator shows the erosion for any amount.
Fees
Fees come out of your return every year, so they compound against you exactly like debt. $100,000 over 30 years at 7%:
- A fund charging 1% a year: about $574,000
- A fund charging 0.03% a year: about $754,000
The difference, roughly $180,000, went to the fund company. Broad index funds charging under 0.1% exist for this reason.
Taxes
In a taxable brokerage account, tax on dividends and gains interrupts compounding each year. $50,000 at 7% for 30 years:
| Scenario | Effective rate | After 30 years |
|---|---|---|
| Tax-free or tax-deferred account | 7.00% | $380,613 |
| Taxable, 15% tax on each year’s gain | 5.95% | $283,138 |
| Taxable, 22% tax on each year’s gain | 5.46% | $246,379 |
Same investment, same return: the tax shelter is worth about $97,000–$134,000 here. (This is a worst case. Unsold stock isn’t taxed each year, so a buy-and-hold index fund loses less, but dividends are still taxed annually.)
That’s why the usual order is tax-advantaged accounts first. 2026 limits:
| Account | 2026 limit | Tax treatment |
|---|---|---|
| 401(k) / 403(b) | $24,500 (+$8,000 at 50+; +$11,250 at ages 60–63) | Traditional: pre-tax. Roth: tax-free out. |
| IRA (traditional/Roth) | $7,500 (+$1,100 at 50+) | Same split; Roth has income limits |
| HSA | $4,400 self-only / $8,750 family | Pre-tax in, tax-free growth and out |
See 401(k) vs. Roth IRA and the HSA calculator for which to fill first.
When compound interest works against you: debt
The same math that grows savings grows balances.
Credit cards
A 24% APR card compounds daily at 24% ÷ 365 ≈ 0.0657% a day. $5,000 with no payments:
| Months | Balance |
|---|---|
| 3 | $5,309 |
| 6 | $5,637 |
| 12 | $6,356 |
| 24 | $8,079 |
| 36 | $10,270 |
It roughly doubles in three years, as the rule of 72 predicts (72 ÷ 24 = 3).
Minimum payments barely help. A common minimum is the month’s interest plus 1% of the balance ($25 floor). On $5,000 at 24%, that takes about 19½ years and $8,900 in interest to clear: nearly $13,900 paid for $5,000 of purchases. A flat “2% of balance” minimum is worse: at 24% APR, 2% a month only covers the interest, so the balance never falls.
Paying off high-rate debt is the best guaranteed return available to most people: every dollar of 24% debt repaid earns 24%, risk-free. The debt payoff calculator compares the snowball and avalanche orders.
Student loans
Unsubsidized federal loans accrue interest while you’re in school. $50,000 at 7% accrues about $14,000 over four years, and that interest is added to the balance when repayment begins. Paying even the interest during school keeps the balance from growing.
Putting it to work
- Start now, even small. The delay table above is the whole argument.
- Automate contributions so the habit doesn’t depend on willpower, and raise them with each raise.
- Keep costs low: broad index funds with expense ratios under 0.1%.
- Use tax-advantaged accounts first, starting with any employer match.
- Kill high-rate debt before investing beyond the match.
FAQ
Do stocks “compound”?
Not as literal interest, but the effect is the same. Reinvested dividends buy more shares that pay more dividends, and gains build on prior gains. A total-return index fund compounds at roughly its total return.
What rate should I assume?
Nobody knows future returns. US stocks have averaged about 10% a year nominal and about 7% after inflation over the past century, with long stretches far below that. Many planners use 5–7% after inflation for long-range plans. Assuming 10% nominal tends to produce overconfident projections.
Did Einstein call compound interest the eighth wonder of the world?
There’s no solid evidence he said it. The sentiment holds up anyway.
Try it yourself
The compound interest calculator takes a starting balance, monthly contribution, rate, and horizon and draws the growth curve live. Its “current year” slider shows where you’d be partway through the plan. For goal-based questions, try the millionaire timer or the retirement calculator.
Further reading
- The SEC’s Investor.gov compound interest calculator
- Jack Bogle, The Little Book of Common Sense Investing: the classic case for low costs over long horizons
This article is educational, not financial advice. Actual investment returns vary, inflation is unpredictable, and past performance does not guarantee future results.
This article is educational, not financial, tax, or legal advice. Talk to a licensed professional before acting on anything you read here.