Compound Interest Calculator
Enter a starting amount, what you add each month, and the return you expect. You get the future value, what it is worth in today's money, how much of it is genuinely growth, and what fees and tax took along the way.
Balance after the full term
$0
In today's money: $0
- Total you put in
- $0
- Investment growth
- $0
- Paid in fees
- $0
- Paid in tax
- $0
- Total withdrawn
- $0
- Your actual return
- 0%
The working
The effective annual rate is what your nominal rate becomes once the compounding frequency is applied. Fees, tax and contributions are then applied month by month, which a single formula cannot express.
If you changed the compounding frequency
Same inputs, different compounding. The gap between daily and annual is real but far smaller than most people assume.
| Compounding | Final balance | Difference |
|---|
Year-by-year breakdown
Where the money came from and where it went, one row per year. The last column restates the closing balance in today's money.
| Year | Opening | Contributed | Growth | Fees + tax | Withdrawn | Closing | Closing (today's money) |
|---|
How to use it
Start with the basics
Starting amount, what you add each month, how long for, and the return you want to assume. That alone gives you the classic gross projection.
Add the real-world drag
Set inflation, your fund's expense ratio, and a tax rate if the account is taxable. Watch the headline number and the today's-money number separate.
Model the drawdown
Turn on the withdrawal phase to see whether the balance survives the years you plan to spend from it, and in which year it would run out.
Check the schedule
Scroll the year-by-year table to find the point where annual growth overtakes your annual contributions. For most plans that crossover is the whole story.
The compound interest formula
The textbook formula for a lump sum with no contributions is straightforward. Every extra feature on this page is a departure from it, which is exactly why the calculator simulates month by month instead of evaluating it once.
A = P (1 + r/n)^(n·t)
A is the final amount, P the principal, r the nominal annual rate as a decimal, n the number of compounding periods per year, and t the number of years. With continuous compounding this becomes A = P·e^(r·t).
Daily, monthly, quarterly and yearly compounding
Compounding frequency converts a nominal rate into a higher effective rate, because earlier interest starts earning too. At a nominal 8%, annual compounding gives an 8.00% effective rate, monthly gives 8.30%, and daily gives 8.33%. The gain from monthly to daily is roughly three hundredths of a percent — real, but nowhere near as decisive as the rate itself. The comparison table above recalculates all six frequencies against your own figures.
Compound interest with monthly contributions
Once you add regular deposits, the calculation becomes an annuity on top of the lump sum. Contributions are applied at the end of each month, so a deposit never earns a month of return before it existed. The optional annual escalation compounds on top: raising contributions 3% a year for 25 years means the final year's deposits are more than double the first year's.
Compound interest on stocks and index funds
Applied to equities, "compound interest" is shorthand for compound growth: price appreciation plus reinvested dividends, which do not arrive smoothly. A constant rate is still the right tool for understanding the mechanics and comparing plans, but it will never reproduce any actual decade. If you specifically want to model dividend reinvestment rather than a blended growth rate, use the DRIP calculator instead.
What most compound interest calculators leave out
The well-known calculators from brokerages and government sites give you a gross nominal figure. That number is correct and also close to useless for planning, because four things stand between it and money you can spend.
Inflation: what the balance is actually worth
A balance decades away is quoted in future money. At 2.5% inflation, money loses about 46% of its purchasing power over 25 years — so a $500,000 projection is worth roughly $270,000 in today's terms. This calculator shows both figures side by side, and the year-by-year table restates every closing balance in today's money.
Fees: the expense ratio drag
An annual fee is charged on the whole balance, so it compounds against you exactly as returns compound for you. The difference between a 0.03% index fund and a 0.75% actively managed fund looks trivial annually and is not: on a 25-year plan it commonly removes a low six-figure sum. Fees here are deducted monthly from assets and reported as a running total.
Tax on gains
In a taxable brokerage account, part of each year's gain is lost to tax and therefore never compounds again. The model applies one rate to the year's gain net of fees, and charges nothing in a losing year. It is deliberately simple: it does not model brackets, allowances, loss carry-forward or the distinction between realized and unrealised gains. Set the rate to 0 for a sheltered account.
Withdrawals and drawdown
Accumulation and drawdown are usually presented as two separate calculators, which hides the question people actually have: will this last? Turning on the withdrawal phase continues the same simulation, subtracting a monthly amount from the chosen year onward and telling you the year the balance would hit zero. Note the constant-return caveat: a real drawdown is far more exposed to a poor first decade than a fixed rate can show.
Worked examples
Each of these is reproducible with the calculator above.
- $10,000 start, $500 a month, 25 years, 8% monthly compounding. Roughly $549,000 gross. Of that, about $160,000 is your own money and $389,000 is growth.
- The same plan in today's money at 2.5% inflation. Around $296,000 — the projection has not changed, only the honesty of the unit it is quoted in.
- The same plan with a 0.75% fund instead of a 0.03% one. The fee column alone accounts for a difference in the tens of thousands over the term.
- Raising contributions 3% a year. Final-year deposits are more than double the first year's, and the closing balance rises well past the flat-contribution case.
- Drawing $2,000 a month from year 20. The schedule shows whether growth still outruns withdrawals, and names the year the balance would be exhausted if not.
Compound interest calculator FAQ
The questions people ask most about compounding, contributions and what the result really means.
The basics
What is compound interest?
Interest earned on your original money and on the interest already added. Because each period's earnings join the balance, growth accelerates over time rather than staying flat — which is why the final years of a long plan contribute far more than the first.
What is the difference between simple and compound interest?
Simple interest is always calculated on the original principal only. Compound interest is calculated on the running balance. Over one year the difference is negligible; over thirty it is the entire point.
How do I calculate compound interest by hand?
Use A = P(1 + r/n)^(n·t), where P is the principal, r the annual rate as a decimal, n the compounding periods per year and t the years. For $10,000 at 8% compounded monthly for 25 years: 10000 × (1 + 0.08/12)^(12 × 25) ≈ $73,402.
What is the formula when I also contribute monthly?
You add the future value of an annuity: FV = P(1+i)^N + PMT × [((1+i)^N − 1) / i], where i is the periodic rate and N the number of periods. This page does not use that formula directly, because it cannot express fees, tax, escalating contributions or withdrawals — a month-by-month simulation can.
What is the rule of 72?
A mental shortcut: divide 72 by the annual return to estimate the years needed to double your money. At 8% that is about 9 years. It is an approximation and drifts at high rates, but it is remarkably good in the 4% to 12% range.
How much of my final balance will be growth rather than my own money?
The result panel splits this out explicitly. On a typical 25-year plan with steady contributions, growth commonly accounts for around two-thirds of the closing balance — and the crossover where annual growth first exceeds annual contributions is visible in the year-by-year table.
Inputs and settings
What return rate should I use?
There is no correct answer, only a defensible one. Many people use 6% to 8% for a diversified equity portfolio as a long-run planning figure, and lower for bonds or cash. Run the calculation two or three times across a range rather than trusting one number.
Which compounding frequency should I choose?
For a savings account, use whatever the bank states. For stocks and funds, the concept does not strictly apply — returns are continuous and uneven — so monthly or annual is a reasonable convention. The comparison table shows how little the choice changes the outcome.
What does continuous compounding mean?
The mathematical limit as the compounding interval approaches zero, given by A = P·e^(r·t). It is the theoretical ceiling: at 8%, continuous compounding produces an 8.33% effective rate, essentially identical to daily.
Why would I increase my contributions each year?
Because most incomes rise, and a fixed dollar contribution quietly shrinks in real terms every year. Setting the escalation to match expected pay rises makes a plan realistic; setting it to match inflation keeps your saving rate constant in real terms.
Should I pick biweekly contributions?
If you are paid every two weeks, yes — 26 payments a year is meaningfully more than 12 payments of the same size, and the calculator uses the correct annual total. The within-year timing is approximated to monthly steps, which has a negligible effect over a long horizon.
Can I enter a negative return?
Yes. It is a useful sanity check — modeling a sustained decline shows how quickly a withdrawal plan fails when returns do not cooperate, which a positive-only calculator hides from you.
Inflation, fees and tax
Why does the calculator show a smaller inflation-adjusted number?
Because a balance thirty years out is denominated in future dollars, which buy less. Dividing by cumulative inflation restates it in today's purchasing power. That second figure is the one to plan around; the first is the one that looks good in a brochure.
What inflation rate should I use?
Long-run US inflation has averaged roughly 2.5% to 3%. Central banks in developed economies commonly target 2%. Using 2.5% is a reasonable default; if your plan only works at 0% inflation, it does not work.
How much difference does an expense ratio really make?
More than almost anyone expects, because the fee is charged on the whole balance every year and therefore compounds against you. Run the same plan at 0.03% and 0.75% and compare the fees total — on a long horizon the gap is routinely a six-figure sum.
What tax rate should I enter?
For a tax-sheltered account such as a 401(k), IRA or ISA, enter 0. For a taxable brokerage account, enter the rate you expect to pay on annual gains and dividends. The model is a simplification and is not a substitute for tax advice.
Exactly how is tax applied?
Once a year, at a single rate, to that year's investment gain after fees, and only when that figure is positive. There is no loss carry-forward, no bracket modeling, and no distinction between realized and unrealised gains — those would each change the answer and depend on your jurisdiction.
Are fees deducted before or after growth?
After. Each month the balance grows, then the pro-rata fee is deducted from the resulting assets, then the contribution is added. This matches how a fund expense ratio actually behaves.
Accuracy and limits
What does "your actual return" mean?
It is the money-weighted return: the internal rate of return over the real monthly cash flows, annualised. Unlike a start-to-end percentage it does not count your own deposits as growth, so it answers what you earned on the money while it was actually invested.
Why does this differ from investor.gov or my bank's calculator?
Those show a gross nominal figure. Set inflation, fees and tax to 0 here and the headline number will line up with them. The difference is entirely the real-world drag they omit.
Does this account for market crashes?
No. It applies a constant return every year. That is fine for comparing plans and understanding the mechanics, but it materially understates risk during a withdrawal phase, where the order of returns matters as much as the average.
What is sequence-of-returns risk?
The danger that poor returns arrive early in retirement, when withdrawals are eating into a shrinking balance. Two portfolios with identical average returns can end very differently depending on the order those returns arrive. A constant-rate model cannot show this, so treat the drawdown output as a best case.
How is the year my balance runs out calculated?
The simulation flags the first month the balance reaches zero after withdrawals, and reports the year that falls in. Because returns are constant, the real-world date is uncertain and could easily be earlier.
Why is my spreadsheet answer slightly different?
Check three conventions: whether contributions land at the start or end of the period, whether your formula uses the nominal or the effective rate, and whether fees are applied to the balance before or after growth. Those three account for nearly every discrepancy people report.
Is there a limit on the values I can enter?
Yes, sanity bounds: up to 80 years, returns from −50% to 100%, and fees up to 10%. They exist to keep the arithmetic meaningful, not to restrict legitimate use.
Other calculators
Same approach — your assumptions, visible working, no signup.
DCF Calculator
Two-stage discounted cash flow with a fade period, a reverse DCF that shows the growth the price already implies, and a full sensitivity grid.
DRIP Calculator
Reinvest dividends and see the result next to what taking them as cash would have produced. Dividend growth, yield on cost, tax and monthly income included.
CAPE Ratio Calculator
Cyclically adjusted P/E from your own earnings history, with each year inflation-adjusted — shown next to the plain one-year P/E so the difference is visible.
Benjamin Graham Formula Calculator
Graham's growth formula, the bond-yield revised version, and the Graham Number — all three on one page, clearly labelled as the different things they are.
Method and limitations
This calculator runs a month-by-month simulation over the term you specify. The nominal rate is converted to an effective annual rate using your compounding frequency, growth is applied first, the pro-rata annual fee is deducted from assets next, the contribution is added at month end, and any withdrawal is taken after that. Tax is charged once a year on the year's gain net of fees. Contribution escalation is applied at the start of each year, and the inflation-adjusted column divides each closing balance by cumulative inflation.
Returns are assumed constant, which no real market delivers. Years are twelve equal months, with no leap-year or day-count adjustment. The tax treatment is a single-rate simplification with no brackets, allowances or loss carry-forward. Nothing here is investment or tax advice, and the output is a consequence of your assumptions rather than a prediction.