Compound Interest Calculator

%
years
Contribution timing

How to use the compound interest calculator

  1. Enter your initial deposit (it can be zero if you only make regular contributions).
  2. Set the annual interest rate, the number of years and how often interest is compounded.
  3. Optionally add a regular contribution, choose whether it is monthly or annual, and whether you pay it at the start or end of each period.

The future value, total contributions, interest earned and APY appear instantly, along with a stacked chart and a year-by-year table showing how much of your balance is your own money and how much is interest.

Compound interest formulas

Lump sum: A = P × (1 + r/n)^(n·t) continuous: A = P × e^(r·t) APY: g − 1, where g = (1 + r/n)^n (or e^r) Contributions: FV = C × ((1 + i)^k − 1) ÷ i × (1 + i if paid at the start) i = g^(1/p) − 1, k = p × t

Here P is the initial deposit, r the annual rate as a decimal, n the compounding periods per year, t the years, C the contribution, p the contributions per year and k the total number of contributions.

Method for mixed frequencies: when contributions are made at a different frequency than interest compounds (for example, monthly deposits with quarterly or daily compounding), we convert the nominal rate into the exactly equivalent rate per contribution period, i = (1 + r/n)n/p − 1. Every deposit then grows at the same effective annual rate as the initial deposit. Some banks instead pay simple interest on deposits made part-way through a compounding period, which gives a very slightly lower figure.

Worked example

You invest $10,000 at 7% compounded monthly for 10 years, adding $200 at the end of every month:

Switching to contributions at the start of each month raises the total to $54,915.51, because every deposit earns one extra month of interest.

Effect of compounding frequency

$10,000 at 7% for 10 years, no contributions:

CompoundingAPYValue after 10 years
Annually7.000%$19,671.51
Quarterly7.186%$20,015.97
Monthly7.229%$20,096.61
Daily7.250%$20,136.18
Continuously7.251%$20,137.53

Tips to make compounding work for you

Compound Interest Calculator by AllOnlineCalcs