Compound Interest Calculator

Calculate compound interest with optional recurring contributions. Year-by-year breakdown table and balance growth chart.

Loading…

All processing runs in your browser — no files or inputs are uploaded to a server.

The formula and what each part does

Compound interest with regular contributions has two parts. The principal grows on its own at A = P × (1 + r/n)^(n·t), where P is the starting amount, r is the annual interest rate, n is the number of compounding periods per year, and t is the number of years. The contribution stream — PMT added every period — grows on top: PMT × ((1 + r/n)^(n·t) − 1) / (r/n). Adding the two gives the final balance the tool above prints.

Two parameters surprise newcomers. The compounding frequency n matters less than people expect: monthly vs daily compounding at the same advertised rate differs by under 0.02 percentage points of effective annual yield in any reasonable range, and continuous compounding (n → ∞) lands at e^(r·t) — about 0.05 percentage points beyond daily. The contribution timing (start-of-period vs end-of-period) matters more: starting a decade with end-of-month deposits costs you roughly one month's worth of interest over the horizon.

Rule of 72 — a back-of-envelope doubling time

For a quick estimate, divide 72 by your annual return to get the number of years it takes for the principal to double. The shortcut traces to Luca Pacioli's 1494 arithmetic treatise and works because ln(2)/ln(1 + r) is close to 72/r in the rate range most personal investing covers. The table below pairs the 72-rule estimate with the exact answer.

Annual returnExact years72 / rate
2%35.036.0
4%17.718.0
6%11.912.0
8%9.09.0
10%7.37.2
12%6.16.0
15%5.04.8

Nominal vs real returns: inflation eats the rest

The return number the tool above displays is nominal — gross of inflation. To know what the future balance is worth in today's purchasing power, subtract the long-run inflation rate. The exact relation is (1 + r_real) = (1 + r_nominal) / (1 + inflation), but the linear approximation r_real ≈ r_nominal − inflation is accurate enough for back-of-envelope work when both are below about 10%.

The practical impact is large over long horizons. A 7% nominal return over 30 years multiplies principal by about 7.6×. The same number adjusted for 2.5% inflation grows real purchasing power by only about 3.7× — roughly half. When projecting retirement or college savings, decide up front whether the target you care about is "dollars at the end" or "dollars in today's purchasing power," and feed the matching number into the tool.

Fee drag — a small annual percentage compounds against you

An annual management fee compounds against you the same way the return compounds for you. A 1% fee on a portfolio earning 7% gross does not cost you 1% of the final balance; it costs you about a quarter of it over 30 years. The table below shows the ending balance on a 10,000 investment held for 30 years at 7% gross, with the listed annual fee deducted.

Annual feeEnding balanceForgone vs 0%
0.00%76,1230%
0.25%71,0266.7%
0.50%66,27513.0%
1.00%57,43524.5%
2.00%43,21943.2%

The implication is direct. A 1.5% expense-ratio actively-managed mutual fund needs to outperform a 0.05% index fund by 1.45 percentage points every year just to break even on fees, before taxes and trading frictions. Long-running academic data is unkind to active management at scale.

Three traps when projecting decades ahead

First, a constant rate is a fiction. The tool projects a smooth compound curve, but real returns arrive in volatile sequence — up 22% one year, down 8% the next, up 11%, and so on, averaging to whatever long-run number you assumed. The sequence matters for any plan that draws from the balance: bad early returns followed by good later ones can hollow out a retirement portfolio that an inverted sequence with the same average would have kept intact. This is called sequence-of-returns risk.

Second, taxes have not appeared in the tool yet. A taxable account paying 25% on dividends and capital gains erodes the effective return roughly proportional to the turnover. Tax-deferred accounts (US 401(k), UK SIPP, Korean ISA) and tax-free wrappers (Roth IRA, ISA growth allowance) change the math enough that projecting without the wrapper assumption produces meaningfully wrong numbers for retirement planning.

Third, no compounding model is a forecast. Historical equity returns averaged about 6.5–7% real over rolling 30-year US periods, but the range of 30-year averages includes outcomes from 1.9% to 10.6% real. Use the tool to compare scenarios and size contributions, not to promise a specific future. A useful practice is running three projections side by side — a conservative, expected, and optimistic rate — and planning against the conservative.

How to use

Enter your initial **principal**, optional **recurring contribution**, annual **interest rate** (nominal, expressed as a percent), **investment horizon** in years, and the **compound frequency** (yearly, monthly, weekly, daily). Pick a contribution timing — *start* of each period (contributions earn interest in their own period, the more common assumption for 401(k) and pension contributions) or *end* (contributions earn interest only from the next period onward, common for ordinary annuities). The tool runs a year-by-year simulation and prints a table with start balance, contributions added, interest earned, and end balance per year, plus a final summary.

Compound frequency affects the **effective annual yield**: 5% nominal compounded monthly is effectively 5.12% per year (`(1 + 0.05/12)^12 − 1`), and compounded daily is 5.13% — the differences are real but small at the 5% scale. They become significant at higher rates: 20% nominal compounded daily yields ~22.13% effectively. Currency choice (USD, EUR, GBP, JPY, KRW) only changes the symbol and decimal precision (JPY/KRW use 0 decimals); the math is unitless. This tool assumes a constant nominal rate and constant contribution size for the entire horizon — for variable-rate scenarios (mortgage rate resets, contribution step-ups, partial withdrawals), you need a dedicated financial planner.

Examples

Retirement savings — 30 years, monthly $500

Input
principal:           $10,000
contribution:        $500 / month
contribution timing: start of period
annual rate:         7% (typical long-term US equity)
compound frequency:  monthly
horizon:             30 years
Output
final value:         $686,500
total contributions: $190,000  ($10K initial + $180K monthly)
total interest:      $496,500
interest / contrib:  2.6× — interest dwarfs principal at 30 years

year 5  : $48,000
year 10 : $99,000
year 20 : $290,000
year 30 : $686,500

The classic "start saving early" demonstration. The contribution-to-interest ratio inverts around year 12: in the first decade, your money grows mostly because you keep adding to it; after that, interest on existing balance dominates. This is why financial advisors push people to start in their 20s rather than catching up in their 50s — a 22-year-old who invests $500/month for 10 years and then stops still beats a 32-year-old who invests $500/month for 30 years, purely because of the earlier compounding window. Real returns vary year to year; 7% reflects the S&P 500's ~100-year nominal average, not a guaranteed rate.

High-yield savings — 5 years, no contributions

Input
principal:           ¥1,000,000
contribution:        none
annual rate:         4.5% (US HYSA, 2024 era)
compound frequency:  daily
horizon:             5 years
Output
final value:         ¥1,252,250
interest earned:     ¥252,250
effective APY:       4.60% (vs. 4.5% nominal — daily compounding bonus)

year 1 : ¥1,046,028
year 2 : ¥1,094,166
year 3 : ¥1,144,512
year 4 : ¥1,197,176
year 5 : ¥1,252,250

A pure principal-only scenario, useful for setting expectations on emergency funds parked in a high-yield savings account or short-term certificate. Daily compounding versus annual compounding adds ¥3,200 over 5 years on a ¥1M starting balance — small but real. Real-world savings interest is taxable; in the US it counts as ordinary income (~22% federal + state for typical earners), and in Japan/Korea it is taxed at flat 20.315% / 15.4% respectively at withdrawal. The tool computes pre-tax compounding; multiply final-year interest by (1 − tax_rate) for an after-tax estimate.

Weekly DCA into volatile asset

Input
principal:           ₩0 (starting fresh)
contribution:        ₩100,000 / week
contribution timing: end of period
annual rate:         10% (long-term equity assumption)
compound frequency:  weekly
horizon:             10 years
Output
final value:         ₩89,200,000
total contributions: ₩52,000,000  (10 yr × 52 weeks × ₩100K)
total interest:      ₩37,200,000
interest / contrib:  0.72× — younger account, contributions still dominate

year 1  : ₩5,500,000
year 5  : ₩33,800,000
year 10 : ₩89,200,000

Weekly dollar-cost averaging (DCA) into an index fund — a common pattern for KRW-based investors using Korean fintech apps like Toss or Kakao Bank. The compound model assumes a smooth 10% per year; reality is much choppier with single-year swings of ±30%, but the long-run average for diversified equity since the 1920s sits around 7–10% nominal. Weekly contributions versus monthly contributions of the equivalent amount (₩433,333 / month vs ₩100K / week) produce nearly identical results — the difference is under 0.5% at this rate and horizon. The "timing" choice matters more: switching from start-of-period to end-of-period reduces the final value by ~5% at 10 years.

FAQ

What is the difference between nominal and effective annual rate?

The **nominal rate** is the headline annual percentage — "5% APR" or "연 5%" on a bank statement. The **effective annual yield** (also called APY, or 실효 수익률) accounts for intra-year compounding: $1 at 5% nominal compounded monthly grows to $1.0512 by year-end, an effective rate of 5.12%. The formula is `(1 + r/n)^n − 1` where r is the nominal rate and n is the compound frequency. US banks legally must quote APY for deposits and APR for loans, which is asymmetric and pro-bank — APY makes savings sound better, APR makes borrowing sound cheaper. When comparing offers, normalize: convert APR-quoted loans to their APY equivalent by adding compounding, or compute the true cost of a 5% APR loan with monthly compounding as ~5.12% effective.

Should I pick start-of-period or end-of-period contribution timing?

It depends on what your contributions actually do. **Start-of-period** (annuity due) means each contribution sits in the account for the full period and earns interest for that period — this matches paycheck-withheld 401(k) contributions deposited at the start of the pay period, or any auto-debit at month-start. **End-of-period** (ordinary annuity) means contributions arrive at period end and earn nothing in that period — this matches arrears-paid contributions or the conservative convention used in textbook annuity formulas. For long horizons, the difference is meaningful: at 7% over 30 years with monthly $500, start-of-period yields ~$3,500 more per year of difference and ~$10K more lifetime than end-of-period. When unsure, end-of-period is the safer conservative estimate.

Does this calculator account for inflation?

No — the result is in **nominal** money: today's currency units summed over the future, not adjusted for purchasing power. To estimate **real** (inflation-adjusted) terms, subtract expected long-run inflation from the nominal rate before running the calculator: 7% nominal minus 2.5% historical US inflation = 4.5% real. That gives a value expressed in today's purchasing power. For Japanese yen, post-1990 inflation has averaged near 0%, so nominal ≈ real. For Korean won, ~2% long-run is a reasonable assumption. For high-inflation economies (post-2020 Turkey, Argentina), the nominal-real divergence dominates the calculation; the tool gives the nominal headline but the real value can be far lower. Real estate, equity index, and TIPS / 물가연동국채 returns are sometimes quoted in real terms — check the source before plugging into this calculator.

How does this differ from a mortgage / loan amortization calculator?

This calculator models **deposit-side compounding**: principal plus contributions grow, interest accrues *to you*. A mortgage/loan amortization calculator models the inverse: principal owed shrinks as you pay, interest accrues *against you*. Mathematically they share the compound interest formula, but the inputs and outputs are opposite. To roughly invert: a $300K loan at 6% over 30 years has monthly payments of ~$1,800, totaling ~$648K (principal $300K + interest $348K). Plugging $300K principal, no contributions, 6% rate, 30 years, monthly compound here gives a final value of ~$1.81M — the *future value* of the same $300K if invested rather than lent out. The compounding math is identical; the framing matters. Use a dedicated mortgage calculator (we have one nearby on utilrepo) for amortization schedules with PMI, escrow, and early-payoff analysis.

What is "the rule of 72" and is it accurate?

The **rule of 72** is a mental-math shortcut: doubling time in years ≈ 72 / annual rate percent. At 6%, money doubles in ~12 years; at 9%, ~8 years; at 4%, ~18 years. The rule works because the exact formula is `t = ln(2) / ln(1 + r) ≈ 0.693 / r` for small r, and 72 ≈ 100 × 0.693 with adjustments for compounding. It is accurate within 1% for rates between 4% and 12%, the range covering most consumer interest scenarios. Above 15% the rule of 72 understates doubling time slightly (true is ~5.0 years at 15%, rule says 4.8); below 3% it overstates. Variants: rule of 70 (more accurate for continuous compounding), rule of 69.3 (mathematically exact for continuous), rule of 114 for tripling, rule of 144 for quadrupling. Useful for sanity-checking calculator output: 5% over 30 years should roughly quadruple ($1 → $4.32 actual vs. rule's $4.0 prediction).

Why does the tool not include tax, fees, or variable returns?

Constant-rate compounding is the **right model for the question this tool answers**: "given an average expected return, how much money do I end up with?" Adding tax, fees, and variable returns turns a clean two-line formula into a Monte Carlo simulation that produces a distribution rather than a single number. Both are useful but for different decisions. For investment planning, run this calculator to get a baseline, then apply rules of thumb: subtract 0.5–1.0% from your nominal rate for management fees (the median actively managed fund), subtract another 15–25% from the final value for capital gains tax at withdrawal, and accept that real-year-to-year volatility will produce ±20% swings around the smooth curve. If you need the full distribution, sites like Portfolio Visualizer, Empower (formerly Personal Capital), or a custom Monte Carlo notebook in Python with `numpy.random.lognormal` are the right next step.

Related concepts

Compound interest is the operational form of **exponential growth**, the same mathematical pattern that drives population biology (Malthusian growth), epidemics (SIR models), Moore's Law transistor scaling, and viral content sharing on social networks. The defining property: the rate of change is proportional to the current value, so doubling at a fixed time interval is constant regardless of starting point. The continuous-time form is `dy/dt = ry`, with solution `y(t) = y₀ · e^(rt)`. Discrete compounding is its piecewise approximation; as the compound frequency approaches infinity, daily → hourly → continuous, the discrete formula converges on the exponential. **Albert Einstein** is widely quoted as calling compound interest the "eighth wonder of the world" or "the most powerful force in the universe", though no primary source has been verified — the attribution is likely apocryphal but the underlying claim is mathematically sound for long horizons.

Four adjacent **financial concepts** routinely appear next to compound interest. **Present value (PV)** inverts the question: "what is $1M in 30 years worth today, at a 7% discount rate?" Answer: ~$130K. PV is what makes pension liabilities, bond pricing, and acquisition valuations work. **Time-weighted vs money-weighted returns**: time-weighted ignores cash flow timing and measures pure portfolio performance; money-weighted (IRR) penalizes badly-timed contributions. The Modified Dietz method approximates IRR cheaply. **Annuity formulas** generalize compound interest to handle regular payments — the present value of an ordinary annuity is `PMT × (1 − (1+r)^-n) / r`. **Sinking fund** calculations invert the contribution side: how much must I save monthly to reach $1M in 25 years at 6%? Answer: ~$1,440/mo, computable from this tool by trial-and-error or directly from the sinking fund formula.

Three common **misconceptions** distort how people use compound interest calculators. **Linear vs exponential intuition**: humans systematically underestimate exponential growth — the classic chessboard / grains-of-rice puzzle exists precisely because 2^64 is unimaginable. This is why most people undersave for retirement. **Confusing average and median**: arithmetic mean returns overstate long-run compounding, because volatility punishes the mean — a 50% gain followed by a 33% loss is geometrically flat (×1.5 × 0.67 = 1.0) but arithmetically averages +8.5%. Use **geometric mean** (CAGR) for compounded scenarios, not arithmetic mean. **Survivorship bias**: long-run equity return estimates often draw on the S&P 500 because it has the cleanest 100-year record, but countries whose stock markets disappeared (Russia 1917, China 1949, Argentina multiple times) are excluded; the "long-run average" is partly conditional on the market surviving. The 7% / year rule of thumb is real but historically optimistic by ~1 percentage point relative to a globally diversified portfolio.

Related articles

Related tools