What is compound interest?
Compound interest is interest calculated on both the original principal and the accumulated interest from previous periods. Unlike simple interest — which only applies to the original principal — compounding means your earnings generate their own earnings over time, creating exponential rather than linear growth.
It is the core mechanic behind retirement accounts, mortgage amortization, savings accounts, and long-term investing. Albert Einstein is often (probably apocryphally) credited with calling it the eighth wonder of the world. Whether or not he said it, the math backs the sentiment: $10,000 invested at 7% real return doubles roughly every 10 years, reaching $76,000 over 30 years — without adding another dollar.
The compound interest formula
For a starting principal P, periodic contribution C, annual rate r, n compounding periods per year, and t years:
FV = P × (1 + r/n)^(n×t) + C × [((1 + r/n)^(n×t) − 1) ÷ (r/n)]
P — starting principal. r — annual interest rate as a decimal (7% = 0.07). n — compounding periods per year (12 = monthly, 365 = daily). t — years. C — periodic contribution (added at the end of each compounding period). The first term is the future value of your starting lump sum; the second is the future value of the annuity formed by your regular contributions.
Worked example
You open a Roth IRA with $5,000, contribute $500/month, and earn a 7% annualized return compounded monthly. How much do you have after 25 years?
- Step 1: Convert: r/n = 0.07/12 = 0.005833; n×t = 12×25 = 300 periods.
- Step 2: Grow the principal: $5,000 × (1.005833)^300 = $5,000 × 5.7435 = $28,718.
- Step 3: Grow the contributions: $500 × [(1.005833^300 − 1) / 0.005833] = $500 × 812.1 = $406,050.
- Step 4: Add them: $28,718 + $406,050 = $434,768.
Your total out-of-pocket contribution was $5,000 + ($500 × 300) = $155,000. Compounding turned it into $434,768 — a gain of $279,768 from interest alone. This illustrates why starting early and contributing consistently matters far more than timing the market.
When to use the compound interest calculator
This calculator handles any scenario involving a starting balance, optional recurring contributions, and a fixed rate — on either the savings or investing side.
- Retirement planning: Project your 401(k) or IRA balance at retirement given your current balance, monthly contribution, and an expected real return of 5–7%.
- High-yield savings accounts: A 5.0% APY HYSA compounded daily on a $25,000 emergency fund yields meaningfully more than a 0.5% traditional savings account — this calculator shows the exact dollar gap.
- Debt payoff modeling: Credit card debt compounding at 24% APR is the same formula working against you. Enter the balance as the starting value, 0 contributions, and the rate to see how fast the balance grows if unpaid.
- Education savings (529 plan): Enter a child's age, your monthly contribution, and a 6% projected return to see whether you'll reach your college cost target by age 18.
Common mistakes
Compounding math is deceptively simple, but several errors consistently lead to miscalculations.
- Confusing APR and APY: APR (Annual Percentage Rate) does not account for compounding within the year. APY (Annual Percentage Yield) does. A savings account with 5.0% APR compounded monthly has an APY of 5.116%. Always use APY when comparing savings products.
- Ignoring inflation: A $1,000,000 balance in 30 years sounds great, but at 3% average inflation it has the purchasing power of roughly $412,000 in today's dollars. Plan in real, inflation-adjusted terms — not nominal.
- Assuming a fixed rate: Investment returns are not constant. A 7% expected return is a long-run average with significant year-to-year variance. Sequence-of-returns risk matters most near retirement — a large loss early in retirement can be devastating even if the long-run average holds.
- Overlooking fees: A 1% annual fund expense ratio doesn't sound like much. Over 30 years on a $100,000 portfolio growing at 8%, the difference between 0.1% and 1.1% fees is roughly $200,000 in terminal wealth.
Limitations of compound interest calculations
This calculator assumes a constant rate over the entire period, which is a simplification. Real investment returns vary year to year; real savings rates change. The model is useful for planning and understanding order-of-magnitude outcomes, but it should not be treated as a precise forecast.
The Rule of 72 offers a quick mental check: divide 72 by the annual interest rate to estimate the number of years it takes to double your money. At 6%, money doubles in roughly 12 years; at 9%, roughly 8 years. This heuristic breaks down at extreme rates (above 25% or below 1%) but is accurate enough for everyday financial planning.
Frequently asked questions
How often should interest compound for maximum growth?
More frequent compounding produces marginally more growth, but the difference is smaller than most people expect. At 7% annual rate, $10,000 grows to $76,123 compounded annually vs $80,919 compounded daily over 30 years — a 6% difference. The rate and time horizon matter far more than compounding frequency at typical interest rates.
What is the Rule of 72?
The Rule of 72 is a shortcut: divide 72 by the annual interest rate to estimate the number of years needed to double your money. At 8% it takes roughly 9 years; at 6%, roughly 12 years. It works because 72 is divisible by many common interest rates and because ln(2) ≈ 0.693, making the approximation reasonably accurate between 2% and 20%.
Does compound interest apply to stock market investing?
Yes, in an economic sense. Stock returns compound when dividends are reinvested and capital gains are left to grow. This is why a low-cost total market index fund held for decades in a tax-advantaged account — where dividends reinvest automatically and there are no annual tax drags — can produce results very close to the compound interest formula.
What rate should I use for retirement projections?
For long-horizon equity portfolios, 7% nominal (or 4–5% real, after 3% inflation) is a commonly used figure based on the S&P 500's long-run historical return. For conservative or bond-heavy portfolios, 4–5% nominal is more appropriate. Always run both an optimistic and a conservative scenario rather than anchoring on a single rate.
Related calculators
These tools work naturally alongside compound interest for broader financial planning:
- CAGR Calculator — convert a starting and ending value into an annualized growth rate; the inverse of the compound interest calculation.
- FIRE Calculator — use compound interest projections to determine when your portfolio will sustain full financial independence.