Skip to content

Compound Interest Calculator

Enter what you have, what you add, the rate and the years, and see the final balance, how much of it you put in and how much is interest. Pick the compounding (daily, monthly, quarterly, semiannually, annually or continuously), contribute at the start or end of each month or year, raise the contribution every year, take regular withdrawals and see the result in today's money after inflation. It draws a chart and a year-by-year table you can download as CSV, in the currency you choose. Everything is calculated in your browser.

Works anywhere in the world, wherever you are.

Everything is calculated in your browser; nothing is sent.

Final balance

$144,572.72

After 20 years at an effective annual rate of 7.229%.

Total put in
$58,000.00
Initial amount + contributions
Interest earned
$86,572.72
Total withdrawn
$0.00
In today's money
$144,572.72
No inflation set: add it under more options
Effective annual rate
7.229%
Nominal equivalent: 7%
Doubles in
9.9 years
At this rate; rule of 72: 10 years

How your money grows

BalanceWhat you put in

Rule of 72: at 7.229% a year, money doubles in about 72 ÷ 7.23 ≈ 10 years. The exact figure is ln 2 ÷ ln(1 + rate) = 9.93 years. The higher the rate, the further the rule drifts from the exact figure.

Want the monthly deposit that reaches a goal? Use the savings calculator. Will a nest egg last in retirement? Try the retirement calculator. What does a loan really cost? The APR calculator.

About this calculator

How compound interest is calculated

For a single deposit the formula is A = P × (1 + r/n)^(n·t): P is the starting amount, r the annual rate, n how many times a year it compounds and t the years. For example, $10,000 at 6% compounded monthly for 10 years grows to $18,193.97. Compounded annually it would be $17,908.48, quarterly $18,140.18, daily $18,220.29 and continuously (P × e^(r·t)) $18,221.19.

The frequency matters, but less than the rate and the time. What does matter is comparing rates on the same footing, and that is what the effective annual rate (APY, AER) does: (1 + r/n)^n − 1. A 12% nominal rate compounded monthly is a 12.68% effective annual rate.

With contributions, each deposit grows from the day it goes in. The calculator simulates month by month: it turns the rate into its exact monthly equivalent, (1 + APY)^(1/12), and applies contributions and withdrawals when you choose. With no contributions it gives exactly the formula above; with monthly deposits and monthly compounding it gives the annuity formula, FV = P(1 + i)^N + A × ((1 + i)^N − 1)/i.

Monthly contributions, start or end, and yearly raises

Putting $500 a month for 30 years at 7% compounded monthly, starting from zero, gives about $609,985.50: you put in $180,000 and the other $429,985.50 is interest. Contributing at the start of each month instead of the end gives every deposit one more month and the total rises to $613,543.75.

If you raise the contribution 3% every year (say, in line with your pay), the same 30 years end at $833,579.99, with $285,452.49 contributed. That is the 'Raise the contribution each year' option under 'Withdrawals, inflation and more'.

Yearly contributions work the same way, once a year. If the years are not whole (7.5, say), the last half-year is simulated month by month, and an end-of-year contribution for that unfinished year is never made.

Withdrawals: how long the money lasts

With regular withdrawals the calculator takes each one out and tells you if the money runs out. For example, $100,000 at 6% compounded monthly with $1,000 monthly withdrawals runs out in year 12, month 7: withdrawal number 139 can no longer be paid in full. Withdraw $500 a month, exactly the monthly interest (100,000 × 0.06 ÷ 12), and the balance stays at $100,000.

Contributions and withdrawals can run together (you save every month and take money out once a year, for example). The table shows them separately, year by year, next to each year's interest.

To plan retirement with inflation-linked withdrawals, ages and Social Security, use the retirement calculator; this tool keeps the withdrawal fixed.

Inflation, the rule of 72 and reading the result

With an inflation rate, the calculator also shows the balance in today's money: the balance divided by (1 + inflation)^years. The $18,193.97 from the first example, with 3% inflation, buys what $13,538.02 buys today. The real rate is (1 + APY)/(1 + inflation) − 1.

The rule of 72 estimates how many years money takes to double: 72 ÷ rate. At 8% a year, 72 ÷ 8 = 9 years; the exact figure, ln 2 ÷ ln(1.08), is 9.01. At 4% the rule says 18 years (exactly 17.67). The calculator shows both with your effective rate.

The year-by-year table has the start balance, contributions, withdrawals, interest, end balance and end balance in today's money. 'Download CSV' saves that table with plain numbers (point for decimals, no thousands separator) for Excel, Google Sheets or Numbers.

Nominal rate, effective rate and currency

If your bank or fund quotes an effective annual rate (APY in the US, AER in the UK, TEA in Latin America), choose 'Effective annual' under 'The rate you have is': the calculator uses it as is and shows the equivalent nominal rate for the compounding you picked. A 12% APY is an 11.39% nominal rate compounded monthly.

The currency only changes the format and decimals: Chilean pesos and Paraguayan guaraníes have no cents. The maths is the same in any currency.

Important limitations

  • It is a projection at a fixed rate. Real investments go up and down, and past returns do not guarantee future ones.
  • It does not take off taxes, fees or withholding; if your account charges them, use a net rate.
  • Deposits between compounding dates earn pro-rata interest (equivalent-rate method). A bank that credits interest only on the statement date can differ by a few cents.
  • Withdrawals are fixed and the yearly raise applies to contributions only.

Frequently asked questions

A = P × (1 + r/n)^(n·t) for a single deposit, and FV = P(1 + i)^N + A × ((1 + i)^N − 1)/i if you also add A every period, with i the rate per period and N the number of periods. With continuous compounding, A = P × e^(r·t).

At 7% compounded monthly, starting from zero, about $609,985.50, of which $180,000 is your own money. At 5% or 9% the answer changes a lot, so try several rates.

The more often interest compounds, the sooner interest starts earning interest. $10,000 at 6% for 10 years: annually $17,908.48, monthly $18,193.97, daily $18,220.29. The effective annual rate sums that difference up in one number.

A shortcut for how many years it takes money to double: 72 divided by the annual rate. At 8%, about 9 years (exactly 9.01). It drifts at high rates: at 20% it says 3.6 years and the exact figure is 3.8.

Yes. Under 'Withdrawals, inflation and more', enter a monthly or yearly withdrawal. The calculator shows what is left each year and, if the money runs out, the year and month it happens.

No. The calculations run in your browser and nothing is stored on a server. If you use the share button, the values travel in the link you copy.

This calculation runs in your browser and is never sent to a server. Your last values may be saved on your device only, for convenience. Results are estimates and are not financial, tax, accounting or legal advice.