On this page
A compound interest calculator shows how an initial balance grows when interest earned in each period is added to the balance and earns interest in the next period. This recursive growth is what Einstein supposedly called "the eighth wonder of the world." Whether he actually said that is debatable; the math is not.
Enter your starting balance, expected annual rate, time horizon, and how often the account compounds (monthly, daily, etc.). The result shows your final balance and the portion that came from interest rather than your original deposit.
Where compound interest shows up
The same formula governs almost every long-horizon money mechanic in everyday life:
- Savings accounts and CDs, banks compound interest daily or monthly and credit it to your balance.
- Stock and bond returns, reinvested dividends and interest compound across decades, which is what produces the famous long-run equity return numbers.
- Retirement accounts, 401(k)s, IRAs, and Roth IRAs all compound tax-deferred (or tax-free, in the Roth case), which is why starting contributions in your 20s vs your 40s produces dramatically different end balances.
- Loan and credit-card balances, running a balance compounds in the bank's favor, not yours. Credit-card interest at 22% compounded monthly is what turns a manageable balance into an unmanageable one.
- Inflation, prices compound at whatever the inflation rate is, which is why $100 in 1995 doesn't buy what $100 buys today.
Why time matters more than rate
The single most important insight from compound interest is that
time is exponentially more valuable than rate. Compounding is a
multiplicative process: each year multiplies the previous balance by
(1 + r). Over n years the total multiplier is (1 + r)^n. Doubling
rate is a linear improvement; doubling time is an exponential one.
Consider two savers, both earning the same 7% annual return:
- Saver A invests $5,000/year from age 25 to 35 (10 years), then stops.
- Saver B invests $5,000/year from age 35 to 65 (30 years).
Saver A puts in $50,000 total. Saver B puts in $150,000, three times as much. By age 65, Saver A ends up with about $602,000, while Saver B ends up with about $510,000. The early starter wins by a wide margin despite contributing a third as much, because each of A's early dollars has 30+ years to compound while B's first dollars only have 30 and B's last dollars have just 1.
This is why the standard advice, start early, even if you can only contribute a small amount, is mathematically correct, not just folksy.
Compounding works in both directions
The same mechanic that makes savings grow also makes debt grow. A
credit-card balance at 22% APR with monthly compounding has a multiplier
of (1 + 0.22/12)^12 ≈ 1.244, a 24.4% effective annual yield, in
the bank's favor. Carrying a $5,000 balance and only making minimum
payments (typically 2% of balance, around $100/month, mostly interest)
can take 30+ years to pay off and cost more than $10,000 in interest.
The asymmetry: compounding gains over decades requires patience. Compounding losses over a few years can come fast. Pay off high-interest debt before optimizing investment returns.
Key takeaway
Compounding's power comes from time, not rate. Doubling your interest rate helps; doubling your time horizon helps far more. A modest 7% rate over 40 years produces roughly the same final balance as a heroic 14% rate over 20 years, and far fewer people earn 14% reliably than have 40 years of investing ahead of them. Start early, then mostly leave it alone.
How it's calculated
The compound interest formula is A = P × (1 + r/n)^(n × t) where:
- A is the final amount
- P is the principal (starting balance)
- r is the annual rate as a decimal (7% → 0.07)
- n is how many times per year interest compounds
- t is the time in years
More frequent compounding produces slightly higher returns, but the
difference between monthly (n = 12) and daily (n = 365) is small,
fractions of a percent over decades. Continuous compounding (the
theoretical limit) gives A = P × e^(rt), just barely higher than daily.
Compounding frequency, side by side
Take $10,000 at 7% over 30 years and vary only the compounding frequency:
| Frequency | n | Final balance |
|---|---|---|
| Annual | 1 | $76,123 |
| Quarterly | 4 | $80,748 |
| Monthly | 12 | $81,165 |
| Weekly | 52 | $81,479 |
| Daily | 365 | $81,629 |
| Continuous | ∞ | $81,662 |
The jump from annual to monthly matters (about $5,000 over 30 years). The jump from monthly to daily is rounding error (about $464). Beyond daily there's effectively no improvement at all. When comparing real accounts, the bank's published APY already bakes in the compounding frequency, which means you can compare APYs directly without thinking about how often the bank actually credits interest.
The Rule of 72 (and where it comes from)
The Rule of 72 is the most useful mental shortcut for compound interest: divide 72 by your interest rate to estimate how many years it takes your balance to double. At 6%, money doubles every 12 years. At 9%, every 8 years. At 12%, every 6.
The math underneath: doubling means (1 + r)^t = 2. Taking the natural
log of both sides gives t × ln(1 + r) = ln(2). For small r, `ln(1
- r) ≈ r
, sot ≈ ln(2) / r ≈ 0.693 / r. In percentage terms that's69.3 / rate%, but72is used in practice because it has more integer divisors (2, 3, 4, 6, 8, 9, 12) and the slight overestimate cancels with the small-r` approximation error in the typical 4–10% range.
Adding regular contributions
The pure formula A = P × (1 + r/n)^(nt) only handles a lump sum that
sits and grows. Most real-world saving involves regular contributions
on top, for which the future value of an annuity formula applies:
FV = PMT × [((1 + r/n)^(nt) − 1) / (r/n)]
Add the lump-sum future value (P × (1 + r/n)^(nt)) to the contribution
future value above, and you have the total balance. This is what the
investment calculator, retirement
calculator, and savings goal
calculator compute internally, same compound
interest math with a contribution stream layered on top.
Source: Standard compound interest formula, A = P(1 + r/n)^(nt)
Examples
-
$10,000 at 7% over 20 years, monthly compounding
Future value $40,387.39
$10,000 invested at 7% with monthly compounding grows to about $40,387 over 20 years. About $30,387 of that, three quarters of the final balance, is interest earned, not original deposit. This is the canonical "let it ride" example.
-
$10,000 at 7% over 40 years (early start)
Future value $163,098.46
Same $10,000, same 7% rate, but doubled to 40 years: $163,098 final balance. Doubling the time horizon roughly quadrupled the result, not doubled. That non-linearity is exactly why starting young matters more than picking the perfect investment.
-
$5,000 emergency fund at 4.5% APY (savings account)
A $5,000 emergency fund at a high-yield savings account paying 4.5% APY with daily compounding grows to about $6,261 over 5 years, roughly $1,261 in interest. This is the realistic compounding scenario most savers actually encounter: short-horizon, modest rate, but with the crucial property that the principal is liquid and FDIC-insured. Real APYs at HYSAs move with the federal funds rate; lock in a CD if you want the rate fixed.
-
$50,000 invested at 8% over 25 years
A $50,000 starting balance left untouched at an 8% nominal return for 25 years grows to about $367,000, roughly 7.3x the original. This is the canonical "lump-sum let it ride" scenario, illustrating why even a one-time windfall (inheritance, equity payout, signing bonus) can meaningfully change a retirement trajectory if it's invested with a long enough horizon. Note: 8% nominal at 3% inflation is roughly 5% real, so in today's dollars the future $367k is worth closer to $175k of present-day purchasing power.
-
$10,000 doubling at 9% (Rule of 72 demo)
At 9% with monthly compounding, $10,000 grows to about $20,489 in 8 years, just over a doubling. The Rule of 72 predicts doubling at
72 / 9 = 8 years, and the actual result confirms it almost exactly. This is the mental shortcut at work: any time you want to know how long it takes to double, divide 72 by the rate.
Frequently asked questions
What's the difference between simple and compound interest?
Simple interest is calculated only on the original principal, $1,000 at 5% earns $50 every year, no matter how long you hold it. Compound interest is calculated on the principal plus all previously earned interest, so the balance grows faster every year. For long time horizons, compound interest produces dramatically larger results. Almost all real-world savings, investment, and loan products use compound interest, not simple.
How does compounding frequency affect returns?
More frequent compounding produces slightly higher final balances, but the effect is small. The same 7% annual rate over 30 years on $10,000 produces about $76,123 with annual compounding, $81,165 with monthly, and $81,629 with daily. The jump from annual to monthly is meaningful; the jump from monthly to daily is rounding. When comparing accounts, focus on the APY (which bakes in the compounding frequency) rather than the APR.
What rate of return is realistic for long-term investing?
Historical US stock market returns average around 10% nominal (7% after inflation) over multi-decade periods. Bond returns have been closer to 5% nominal. A typical balanced portfolio (60% stocks, 40% bonds) has historically returned around 7-8% nominal. Plug in those numbers, but remember historical returns aren't guaranteed and sequence-of-returns risk matters near retirement.
How is this different from APY at a savings account?
Bank savings accounts publish an APY (Annual Percentage Yield) that already accounts for compounding frequency, so you can compare two APYs directly. To use this calculator with a bank's APY, set compounding to 1 per year and enter the APY as the rate, that replicates the bank's published return without double-counting the compounding adjustment.
What's the Rule of 72?
Divide 72 by your annual interest rate to estimate how many years it
takes a balance to double. At 6%, money doubles every 72 / 6 = 12
years. At 9%, every 8 years. At 12%, every 6 years. The rule comes
from a small-rate approximation of the exact log-based formula and
is most accurate in the 4–10% range. Below 3% or above 15% the rule
starts to drift, but for typical investing rates it's accurate to
within a few months. The same idea works in reverse for losses or
inflation: at 3% inflation, prices double every 24 years.
How does inflation interact with compound interest?
Inflation also compounds, in the opposite direction. If your nominal
return is 7% but inflation runs 3%, your real return is roughly
(1.07 / 1.03) − 1 ≈ 3.88%, slightly less than the simple subtraction
of 7 − 3 = 4%. Over decades the difference adds up. To project
purchasing power rather than nominal dollars, use your real return
(nominal minus inflation) in this calculator. Most retirement
projections use 5–7% real to be safe, which corresponds to 8–10%
nominal at typical inflation.
What rate of return is realistic for long-term investing?
Historical US stock market returns average around 10% nominal (7% after inflation) over multi-decade periods. Bond returns have been closer to 5% nominal. A typical balanced portfolio (60% stocks, 40% bonds) has historically returned around 7-8% nominal. Plug in those numbers, but remember historical returns aren't guaranteed and any single 20-year window can fall well short of the long-run average. Run projections at 5%, 7%, and 9% to see the range of plausible outcomes rather than anchoring on a single number.
Why does monthly vs. daily compounding barely matter?
Because the marginal benefit of more frequent compounding decays
very quickly. The continuous-compounding formula A = P × e^(rt)
is the upper limit. Monthly compounding (n=12) achieves about 99.7%
of that limit at typical rates; daily (n=365) achieves about 99.99%.
The remaining gap rounds to nothing. Banks once advertised "daily
compounding" as a marketing differentiator, but in practice it's
worth a few cents per year on a $10,000 balance compared to monthly.
APY is the only number that actually matters when comparing accounts.
Popular tools
More finance calculators
- Car Loan Calculator
- Credit Card Payoff Calculator
- Currency Conversion Calculator
- Discount Calculator
- Down Payment Calculator
- FHA Loan Calculator
- HELOC Calculator
- Home Equity Loan Calculator
- Loan Calculator
- Mortgage Affordability Calculator
- Mortgage Payoff Calculator
- Mortgage Refinance Calculator
- Overtime Pay Calculator
- Salary Calculator
- Sales Tax Calculator
- Savings Goal Calculator
- Tip and Tax Calculator
- VA Loan Calculator
- See all finance calculators →