The Compound Interest Formula
Compound interest is calculated with this formula:
- A = Final amount (principal + interest)
- P = Principal (initial investment)
- r = Annual interest rate (decimal — 7% = 0.07)
- n = Number of times interest compounds per year
- t = Time in years
You don't need to memorize this formula to benefit from compound interest — but understanding the inputs reveals why starting early and choosing higher-return assets matters so much. Use our Compound Interest Calculator to run your own projections without doing the math manually.
Simple vs. Compound Interest: The Real Difference
The difference between simple and compound interest seems small in early years but becomes dramatic over decades:
| Year | Simple Interest (7%) | Compound Interest (7%) | Compound Advantage |
|---|---|---|---|
| 1 | $10,700 | $10,700 | $0 |
| 5 | $13,500 | $14,026 | +$526 |
| 10 | $17,000 | $19,672 | +$2,672 |
| 20 | $24,000 | $38,697 | +$14,697 |
| 30 | $31,000 | $76,123 | +$45,123 |
| 40 | $38,000 | $149,745 | +$111,745 |
Calculations based on $10,000 principal, 7% annual rate, annual compounding. Simple interest: A = P(1 + rt). Compound interest: A = P(1 + r)t.
By year 40, compound interest produces nearly four times the outcome of simple interest on the same principal and rate. This is the core argument for investing early — the compounding curve accelerates sharply after year 20.
The Rule of 72
The Rule of 72 is the fastest way to estimate compounding in your head:
| Annual Return | Years to Double | Example Context |
|---|---|---|
| 2% | 36 years | Traditional savings account, CD |
| 4% | 18 years | Conservative bond portfolio |
| 5% | 14.4 years | Balanced stock/bond portfolio |
| 7% | 10.3 years | Moderate-growth portfolio (inflation-adjusted S&P 500) |
| 10% | 7.2 years | Historical S&P 500 nominal return |
| 12% | 6 years | High-growth small-cap index (higher risk) |
S&P 500 historical nominal return approximately 10% annually since 1926. Source: Dimensional Fund Advisors, "Stocks, Bonds, Bills, and Inflation" data. Inflation-adjusted return approximately 7% (Federal Reserve 2% inflation target).
The Rule of 72 reveals something important: at 10% returns, money doubles every 7.2 years. That means $10,000 invested at age 25 becomes $20,000 by 32, $40,000 by 39, $80,000 by 47, and $160,000 by 54 — with no additional contributions. This is why financial advisors use the phrase "start early" so obsessively. Each decade of delay roughly halves your ending balance.
Compounding Frequency: How Often Matters
The same annual rate produces different outcomes depending on how frequently interest compounds. More frequent compounding = higher effective annual yield (EAY):
| Compounding Frequency | $10,000 at 5% for 10 Years | Effective Annual Yield |
|---|---|---|
| Annual | $16,289 | 5.000% |
| Quarterly | $16,436 | 5.095% |
| Monthly | $16,470 | 5.116% |
| Daily | $16,487 | 5.127% |
| Continuous | $16,487 | 5.127% |
For bank products (savings accounts, CDs), look at the APY (Annual Percentage Yield) rather than the nominal rate — APY already accounts for compounding frequency, making comparisons accurate. For investments, the frequency of dividend reinvestment and rebalancing serves a similar function to compounding frequency.
Dividend Reinvestment: Compounding in Equities
In the stock market, "compounding" manifests through dividend reinvestment. When dividends are automatically reinvested, you acquire more shares, which generate more dividends, which buy more shares. The S&P 500's total return (price appreciation + dividends reinvested) has significantly outperformed the price-only return. Explore dividend-focused and total-return investing approaches with our Investing Themes guide.
Compound Interest Against You: Debt
Compound interest is a wealth-building tool when you're the lender (investor). It's a wealth-destroying force when you're the borrower and carrying high-interest debt:
| Debt Type | Typical APR | $5,000 Balance Cost After 5 Years (Minimum Payments) |
|---|---|---|
| Credit card (average) | 21.5% | ~$5,800 in interest + principal extended years |
| Personal loan | 11–15% | ~$1,800–$2,600 in total interest |
| Auto loan (average) | 6–8% | ~$800–$1,100 in total interest |
| Federal student loan | 5.5% | ~$700 in total interest |
| Fixed mortgage (30yr) | 6.5–7% | Structured amortization — predictable |
Average credit card APR per Federal Reserve G.19 Consumer Credit Statistical Release, Q4 2025. Auto loan and student loan rates per Federal Reserve and studentaid.gov.
The credit card case is particularly stark. The same mechanism that makes a Roth IRA grow for 40 years tax-free also makes a $5,000 credit card balance grow if you only make minimum payments. Paying off a 21% credit card is equivalent to earning a guaranteed 21% return — better than virtually any investment in a normal market environment.
Use our Loan Calculator to model payoff timelines and total interest costs for any debt.
Maximizing Compound Growth: The Three Levers
Lever 1: Time (Most Powerful)
Starting 10 years earlier roughly doubles your end balance at the same contribution level. A 25-year-old who invests $6,000/year until 65 (40 years) at 7% ends with approximately $1.28 million. A 35-year-old who invests the same amount for 30 years ends with approximately $567,000 — less than half, despite only missing 10 years of contributions. Start immediately.
Lever 2: Rate of Return
A 1% difference in annual returns compounds into massive differences over 30–40 year horizons. This is why expense ratios matter (a 1% fee is a 1% permanent drag), why tax-advantaged accounts are critical (taxes reduce effective returns), and why staying invested through volatility matters (missing the 10 best days in any decade dramatically reduces long-run returns). Check our Investment Research section for evidence-backed approaches to maximizing risk-adjusted returns.
Lever 3: Contribution Amount and Frequency
Regular contributions amplify compounding. The difference between investing a lump sum once versus adding $500/month is enormous over time. Even small increases matter: adding $100/month more at 7% over 30 years adds $121,997 to your final balance. Automate contributions to remove friction. Increase them whenever your income rises. Use our Compound Interest Calculator to model regular contribution scenarios.
Tax-Advantaged Accounts: Compounding the Compounding
A Roth IRA eliminates taxes on all compound growth forever. On a $7,000 annual contribution at 7% for 30 years, the pre-tax account produces approximately $661,000 before taxes. A Roth IRA produces the same balance — with no tax due on withdrawal. That's 20–30% more spendable money at retirement depending on your tax bracket. Use the IRS contribution limits efficiently: max the Roth IRA ($7,000 in 2025 per IRS Rev. Proc. 2024-40) before using taxable accounts. Explore AI-powered tax optimization with our Tax Optimizer.
Get your weekly market edge. Free.
Market pulse, investing frameworks, and actionable guides — delivered every week to your inbox.
No spam · Unsubscribe anytime · View all issues →
Frequently Asked Questions
Simple interest is calculated only on the original principal. Compound interest is calculated on the principal plus all previously accumulated interest. On a $10,000 investment at 7% annual interest over 30 years: simple interest yields $21,000 in interest ($31,000 total). Compound interest (annual compounding) yields $66,488 in growth ($76,123 total) — more than triple the simple interest outcome.
Interest can compound daily, monthly, quarterly, or annually. More frequent compounding produces higher returns. At 5% nominal rate on $10,000 for 10 years: annual compounding yields $16,289; monthly compounding yields $16,470; daily compounding yields $16,487. The difference between monthly and daily is small, but the difference between annual and monthly is meaningful over longer time horizons.
The Rule of 72 is a quick mental math shortcut: divide 72 by your annual interest rate to estimate how many years it takes to double your money. At 6% annual return, your money doubles in 72 ÷ 6 = 12 years. At 10%, it doubles in 7.2 years. At 3% (roughly current high-yield savings), it doubles in 24 years. This rule is a useful approximation — the actual formula is more precise, but the Rule of 72 is accurate within 1–2% for rates between 2% and 20%.
Yes — compound interest works against borrowers the same way it works for investors. A $5,000 credit card balance at 24% APR, with minimum payments only, can take over 15 years to pay off and cost more than $7,000 in interest. This is why high-interest debt is the inverse of investing: paying it off generates a guaranteed return equal to the interest rate, which is often higher than market returns.
Three levers matter most: time (start as early as possible), rate of return (higher-return assets compound faster — broad stock market index funds have averaged approximately 10% annually since 1926 per Dimensional Fund Advisors data), and contribution frequency (add money regularly to accelerate compounding). Tax-advantaged accounts like Roth IRAs shield compound growth from taxation entirely, which compounds the compounding effect.