Compound Interest Calculator
Calculate how your investments grow through compounding — with recurring contributions, inflation adjustment, and year-by-year projections.
Investment Details
Try $10,000 at 8% for 10 years to instantly see your projected investment growth.
Why Compound Interest Matters for Long-Term Investors
Compounding is the single most important concept in personal finance. According to the latest Federal Reserve consumer-finance data, the median American family has well under six figures in retirement savings — far below what most households need to retire comfortably. The gap is rarely about income; it's about starting late and underestimating the math of compounding.
~10.5%
S&P 500 long-term average annual return
$1.13M
Result of $500/mo for 30 yrs at 10%
9 yrs
Money doubles at 8% (Rule of 72)
< 6 figs
Typical U.S. retirement savings (latest Fed SCF data)
What Is Compound Interest?
Compound interest is interest earned on interest. When you invest a dollar, you earn returns on that dollar. In the next period, you earn returns on the original dollar plus the previous period's interest. Repeat this for decades and the math goes from linear to exponential — your balance climbs faster every year, even if you stop adding new money.
This is the engine behind every successful 401(k), Roth IRA, taxable brokerage account, and S&P 500 index fund. Albert Einstein reportedly called compounding "the eighth wonder of the world." Whether or not he actually said it, the math agrees: starting early and staying invested is the single most powerful financial decision an American can make.
How Compounding Works (Step by Step)
Imagine you invest $10,000 at a 10% annual return — close to the long-term S&P 500 average. Here's what happens, year by year:
| Year | Starting Balance | Interest Earned | Ending Balance |
|---|---|---|---|
| Year 1 | $10,000 | +$1,000 | $11,000 |
| Year 2 | $11,000 | +$1,100 | $12,100 |
| Year 3 | $12,100 | +$1,210 | $13,310 |
| Year 4 | $13,310 | +$1,331 | $14,641 |
| Year 5 | $14,641 | +$1,464 | $16,105 |
Notice the interest column rises every year — even though you haven't added a single dollar. That's compounding in action.
The Compound Interest Formula
A
Final Amount
P
Principal
r
Annual Rate (decimal)
n
Compounds / Year
t
Time (Years)
Worked Example
For continuous compounding, the formula simplifies to A=Pert. The difference between continuous and daily compounding is negligible for retail investors.
Rule of 72 — How Fast Will Your Money Double?
The Rule of 72 is a fast mental shortcut: divide 72 by your annual return rate to estimate how many years it takes to double your money.
Years to Double = 72 ÷ Annual Return %
4%
HYSA / CDs
18 years to double
6%
Conservative bonds
12 years to double
8%
Balanced portfolio
9 years to double
10%
S&P 500 long-term
7 years to double
How Inflation Impacts Compound Growth
A 10% nominal return looks great — until you factor in inflation. The US Bureau of Labor Statistics reports an average inflation rate of about 3% over the past century, with multi-year periods (1970s, 2021–2023) running much higher. Inflation silently eats your future buying power.
The S&P 500's real return (after inflation) is roughly 7%. Always plan with real returns when targeting retirement income — a $1 million nest egg in 30 years buys roughly what $412,000 buys today at 3% inflation.
Low inflation (1–2%)
Cash equivalents (HYSAs, T-bills) keep up. Pre-2020 era.
Moderate inflation (3–5%)
Long-term US average. Requires equity exposure to grow real wealth.
High inflation (6%+)
2021–2023 territory. Cash and bonds lose real value; stocks and TIPS preferred.
How Taxes Impact Compound Growth
Every year you pay tax on investment income, that money is removed from the compounding base — permanently. Tax drag of just 1–2% per year can reduce a 30-year ending balance by 25% or more. This is why tax-advantaged accounts are so important.
Roth IRA / Roth 401(k)
Contributions made with after-tax dollars; growth and qualified withdrawals are 100% tax-free. Ideal for younger investors and anyone expecting higher future tax rates.
Traditional 401(k) / IRA
Pre-tax contributions reduce taxable income today; growth is tax-deferred; withdrawals taxed as ordinary income in retirement. Best when current tax bracket > expected retirement bracket.
Taxable Brokerage
No tax-advantage. Long-term capital gains are currently taxed at 0%, 15%, or 20% in the U.S. Dividend tax drag reduces compounding annually. Best after maxing tax-advantaged accounts.
Current IRS contribution limits are published each calendar year — verify the active 401(k) and Roth IRA limits (and any age-50+ catch-up amounts) at IRS.gov before contributing.
Monthly Investing vs Lump Sum (Dollar Cost Averaging)
The classic question: if you have $60,000 to invest, do you invest it all at once or spread it over 12 months ($5,000 each)?
A 2012 Vanguard study ("Dollar-Cost Averaging Just Means Taking Risk Later") found that lump sum investing beat dollar cost averaging about two-thirds of the time across US, UK, and Australian markets, because markets generally rise. The expected outperformance of lump sum was about 2.3% over 12 months.
Lump Sum — When It Wins
- • You receive a windfall (bonus, inheritance, sale)
- • Markets are flat or rising
- • You can stomach short-term volatility
- • Mathematically optimal ~67% of the time
Dollar Cost Averaging — When It Wins
- • You're investing from a regular paycheck (the natural method)
- • You feel the urge to time the market
- • Markets are volatile or declining
- • Behavioral consistency > mathematical optimum
The verdict: for ongoing income, automate monthly contributions to a 401(k) or IRA. For windfalls, lump sum is mathematically better — but only if you can sleep at night through a 30% drawdown.
S&P 500 Historical Growth Examples
These examples assume the S&P 500's long-run nominal return of ~10.5% annualized and ignore taxes and fees. Real outcomes vary year to year — but over 20+ years, the math has been remarkably consistent.
| Scenario | Total Invested | Ending Balance | Years |
|---|---|---|---|
| $500/mo for 20 yrs at 10% | $120,000 | $379,684 | 20 |
| $500/mo for 30 yrs at 10% | $180,000 | $1,130,000 | 30 |
| $1,000/mo for 30 yrs at 10% | $360,000 | $2,260,000 | 30 |
| $10,000 lump + $500/mo, 30 yrs | $190,000 | $1,300,000 | 30 |
| Max Roth IRA ($7K/yr) for 30 yrs | $210,000 | $1,380,000 | 30 |
| Max 401(k) ($23K/yr) for 30 yrs | $690,000 | $4,530,000 | 30 |
Source: SamCalculator simulations using a 10% nominal annual return, monthly compounding, end-of-period contributions. Past performance does not guarantee future results.
8 Common Investing Mistakes That Kill Compounding
- 1. Starting late. Every year of delay costs more than a 1% return cut. Investing $500/month from age 25 vs 35 (both at 10%) produces $1.13M vs $387K — nearly 3× more, for the same monthly outlay.
- 2. Cashing out during downturns. Selling during steep drawdowns locks in losses. The biggest single-day market gains historically tend to cluster within weeks of major drops. Time in the market beats timing the market.
- 3. Ignoring fees. A 1% expense ratio over 30 years can cost $300,000+ on a $500/month plan. Use low-cost index funds (Vanguard, Fidelity, Schwab — typical ER 0.03–0.10%).
- 4. Skipping the 401(k) match. If your employer matches 50% up to 6%, that's a guaranteed 50% return on contributions. Not maxing the match is leaving free money on the table.
- 5. Stock picking instead of indexing. SPIVA data show 90%+ of actively managed US stock funds underperform the S&P 500 over 15+ years. The simple choice is the right choice.
- 6. Withdrawing dividends. Reinvesting dividends accounts for roughly 40% of the S&P 500's total return since 1930. Set DRIP (Dividend Reinvestment) on every position.
- 7. Holding too much cash. Cash earning 4% in a HYSA loses 0% to inflation when inflation is 3%. Over 30 years, this is the difference between $1M and $4M.
- 8. Borrowing against retirement accounts. 401(k) loans pause compounding on the borrowed amount. If you switch jobs, the loan often becomes due immediately — turning into a taxable distribution plus a 10% penalty.
How SamCalculator Builds Investment Projections
Every projection on this page runs through a transparent month-by-month simulation. We don't use closed-form shortcuts that hide tax drag or inflation — we model each cash flow on the period it actually occurs, then aggregate the result into a single ending balance. Here's exactly what's happening behind the calculate button.
Compound growth math
Built on the canonical formula A = P × (1 + r/n)^(nt), unrolled month-by-month so we can splice in recurring contributions, tax events, and inflation at the exact period each one applies. For long horizons the monthly simulation matches a closed-form answer to within rounding.
Inflation adjustment
Inflation compounds monthly at the annual rate you enter. The 'real value' you see is your nominal ending balance divided by (1 + inflation/12)^months — the same approach the U.S. BLS uses to translate nominal dollars into constant-dollar purchasing power.
Tax drag simulation
When a tax rate is entered, taxes are applied to the interest earned in each compounding period — mirroring how a U.S. taxable brokerage account is taxed annually on dividends and realized gains. A 0% rate models tax-advantaged accounts like Roth IRA and Roth 401(k).
Contribution timing logic
Beginning-of-period contributions get one extra compounding cycle compared with end-of-period contributions. Over 20+ years this difference compounds into thousands of dollars — the simulator honors your choice exactly, no averaging.
Multi-frequency compounding
Daily, weekly, bi-weekly, monthly, quarterly, semi-annually, or annually — each frequency rebuilds the per-period rate (effective rate = (1 + r/n)^(n/m) − 1) and steps the balance forward at that cadence. Daily compounding edges out monthly only slightly at typical retail return rates.
Sources & review
Return assumptions, contribution-limit references, and tax-treatment notes are reconciled against IRS publications, Federal Reserve consumer-finance data, SEC investor.gov guidance, and peer-reviewed Vanguard and Morningstar research. Methodology is reviewed by an Accredited Financial Counselor (AFC®).
For the full set of citations and an explanation of our editorial process, see our methodology and editorial policy.
Frequently Asked Questions
Methodology, Authors & Review
Authored By
SamCalculator Editorial Team
A team of personal-finance writers and analysts producing investment, retirement, and lending tools cross-referenced against published US financial research.
Financial Review Standards
Editorial Process
All formulas, return assumptions, and tax statements on this page are reviewed against IRS publications, Federal Reserve data, SEC investor.gov guidance, and peer-reviewed Vanguard and Morningstar research.
Methodology
This calculator uses the standard compound-interest formula A = P(1 + r/n)^(nt) with month-by-month simulation to support recurring contributions, varying compounding frequency, after-tax growth, and inflation-adjusted real value. Tax is applied to interest earned each period (mirroring how a taxable brokerage account is taxed annually). Inflation is applied as a constant annual rate compounded monthly. Default assumptions: 8% annual return (configurable), monthly compounding, end-of-period contributions, 0% tax (configurable to model brokerage vs Roth/401(k) accounts), 3% inflation (matches the 100-year US BLS CPI average).
Last reviewed: April 15, 2026
Data Sources & References
- SEC Investor.gov — Compound Interest Calculator (official)
- Federal Reserve — Survey of Consumer Finances (latest retirement savings data)
- U.S. Bureau of Labor Statistics — CPI Inflation Calculator
- IRS — 401(k) Contribution Limits
- S&P Dow Jones Indices — S&P 500 historical performance
- Vanguard — "Dollar-Cost Averaging Just Means Taking Risk Later" (2012 study)
- SPIVA — S&P Indices Versus Active fund scorecards
Financial Disclaimer: This compound interest calculator is provided for general informational and educational purposes only. It is not financial, investment, tax, or legal advice. Returns are based on hypothetical, constant rates and do not account for fees, taxes (unless you input one), trading costs, sequence-of-returns risk, or actual market volatility. Past performance does not guarantee future results. Investments can lose value. Before making investment decisions, consult a fiduciary financial advisor, CPA, or tax professional licensed in your state. SamCalculator does not sell securities, manage assets, or receive commissions from financial institutions.
Need flat-rate loan or savings calculations? Try our Simple Interest Calculator →
Related Calculators
SIP Calculator
Estimate mutual fund SIP returns with step-up and inflation adjustment.
Retirement Calculator
Plan retirement corpus, savings, withdrawals, and how long your money lasts.
Simple Interest Calculator
Calculate flat-rate interest on loans and principal amounts.
Loan Calculator
Analyze amortized loans, deferred payments, and bond financing.