Compound Interest Calculator

Einstein allegedly called compound interest the "eighth wonder of the world." Whether he said it or not, the math doesn't lie: time in the market is the most powerful wealth-building tool you have. This calculator shows you exactly how your money grows — and why starting now matters more than starting big.

The Power of Compound Interest

Here's what makes compound interest so powerful: your returns earn returns. In year 1, you earn interest on your principal. In year 2, you earn interest on your principal + year 1's interest. This exponential curve is what makes long-term investing so effective.

The key variable isn't how much you invest — it's how long you invest. A dollar invested at age 25 is worth more than $10 invested at age 45. Time is the one thing you can't buy more of, which is why starting now matters more than starting big.

A Real Example

Invest $200/month starting at age 25, earning an average 8% annual return:

  • At 35 (10 years): $36,580 — you invested $24,000
  • At 45 (20 years): $115,000 — you invested $48,000
  • At 55 (30 years): $298,000 — you invested $72,000
  • At 65 (40 years): $690,000 — you invested $96,000

You put in $96,000 total. You end up with $690,000. $594,000 is pure compound growth. That's the eighth wonder of the world.

The Rule of 72

Want a quick way to estimate how long it takes your money to double? Divide 72 by your annual return rate:

Annual ReturnYears to Double$10,000 Becomes
4% (HYSA)18 years$20,000
6% (Bonds)12 years$20,000
8% (Index funds)9 years$20,000
10% (S&P 500 avg)7.2 years$20,000
12% (Growth stocks)6 years$20,000

The Rule of 72 isn't exact (it's an approximation), but it's accurate enough for mental math. At 8% returns, your money doubles every 9 years. In 36 years, it doubles 4x — turning $10,000 into $160,000.

Dollar-Cost Averaging: The Smart Way to Invest

Instead of trying to time the market (impossible), invest a fixed amount at regular intervals. This is called dollar-cost averaging (DCA), and it's the strategy used by 401(k) plans worldwide.

Here's why DCA works:

  • When prices are low, your fixed dollar amount buys more shares
  • When prices are high, your fixed dollar amount buys fewer shares
  • Over time, this averages out to a lower cost per share than trying to time entries
  • It removes emotion — you invest the same amount whether the market is up 20% or down 20%

A Vanguard study found that lump-sum investing beats DCA about 66% of the time — but DCA wins on psychological grounds. Most people can't stomach investing $50,000 the day before a crash. DCA keeps you consistent, and consistency beats perfection.

Tax-Advantaged Accounts: Free Money From the Government

The single biggest investing advantage isn't picking the right stock — it's using the right account. Here's the hierarchy:

  • 401(k) with employer match: Contribute at least up to the match. If your employer matches 50% of contributions up to 6% of salary, that's an instant 50% return. Nothing in the market guarantees that.
  • Roth IRA: After-tax contributions, tax-free growth, tax-free withdrawals in retirement. In 2026, you can contribute $7,000/year ($8,000 if 50+). Income limit: $161,000 single / $240,000 married.
  • Traditional IRA: Tax-deductible contributions, tax-deferred growth, taxed as income in retirement. Good if you're in a high tax bracket now and expect to be lower in retirement.
  • HSA (Health Savings Account): The triple tax advantage — deductible contributions, tax-free growth, tax-free withdrawals for medical expenses. After 65, it works like a traditional IRA for any expense. Max contribution: $4,300 individual / $8,550 family in 2026.

Priority order: 401(k) match → HSA max → Roth IRA max → Max 401(k) → Taxable brokerage. This sequence maximizes every dollar of tax advantage available to you.

Common Investing Mistakes

Most people lose money not because of bad investments, but because of bad behavior:

  • Panic selling. The market drops 20% and you sell everything. You lock in the loss. Historically, every crash has been followed by a recovery. The S&P 500 has never failed to recover within 5 years.
  • Chasing performance. Buying whatever went up last year. Last year's top fund is often next year's bottom fund. A study by S&P Dow Jones Indices found that over 90% of actively managed funds underperform their benchmark over 15 years.
  • Over-diversifying into mediocrity. Owning 50 different mutual funds doesn't protect you — it guarantees you'll get average returns minus fees. A simple 3-fund portfolio (US stocks, international stocks, bonds) covers 95% of what you need.
  • Checking your portfolio daily. Every time you check, you're tempted to do something. Research shows that investors who check their portfolios less frequently earn higher returns because they trade less.
  • Not reinvesting dividends. Dividends are how compound interest works in stocks. If you spend your dividends, you're eating your seed corn. Always reinvest.

Rebalancing Basics

Over time, your portfolio drifts from its target allocation. If stocks have a great year, your 70/30 stock/bond split might become 80/20. Rebalancing means selling the overperforming asset and buying the underperforming one to get back to your target.

How often? Once a year is fine. Some people rebalance when their allocation drifts more than 5% from target. Don't overthink it — the exact frequency matters less than actually doing it.

Where? Rebalance inside tax-advantaged accounts (401k, IRA) to avoid triggering capital gains taxes. In taxable accounts, direct new contributions to the underweight asset instead of selling.

📈 Start Investing Today

This calculator shows you the "why." Our investing guide covers the "how" — from opening your first brokerage account to picking your first index fund.

Read the Investing Guide →

FAQ

What's a realistic return to expect?

The S&P 500 has returned ~10% annually over the last 30 years. After inflation, that's ~7%. For a conservative estimate, use 6-8%. For a high-yield savings account in 2026, use 4-5%. Don't plan your retirement on 12% returns — that's the best-case scenario, not the average.

Should I invest or pay off debt first?

Credit card debt first (guaranteed 20%+ "return" by eliminating it). Student loans under 5%? Invest while making minimum payments. Employer 401(k) match first — that's free money regardless of debt. The math is simple: if your debt interest rate is higher than your expected investment return, pay debt first.

What if the market crashes?

Crashes are buying opportunities. If you invested $100/month through 2008-2009, you bought shares at massive discounts. Over 20+ years, every crash in history has been followed by a recovery. Stay invested. The worst thing you can do is sell at the bottom and miss the recovery.

How much should I have saved by 30?

A common benchmark: 1x your annual salary by age 30, 2x by 35, 3x by 40. If you earn $60,000 at 30, aim for $60,000 in total savings (retirement + emergency fund + other). These are guidelines, not rules — your situation may differ.

Is it too late to start investing if I'm 40+?

Absolutely not. Starting at 40 with $500/month at 8% return gives you $560,000 by 65. That's not $690,000 (the 25-year-old's result), but it's still life-changing money. The best time to start was 10 years ago. The second-best time is today.