Free to use

Compound interest calculator

Put in what you start with, what you add each month, a rate and a number of years. The table below shows every year, and separates the money that was paid in from the money that was not.

Dollars. Zero is fine, and is the point.

Added at the end of each month.

Compounded monthly. This is a number you choose, not a forecast.

Up to 60.

After 40 years

$131,241

You paid in

$24,000

You did not

$107,241

82% of that final balance is money nobody paid in. That is the whole idea, and it is the part that is hard to believe until you see the years written out. Change the number of years and watch that percentage move more than any other number on the page.

Year by year

Balance, contributions and interest for each year of the scenario
Year Paid in Interest Balance
1 $600 $20 $620
2 $1,200 $84 $1,284
3 $1,800 $197 $1,997
4 $2,400 $360 $2,760
5 $3,000 $580 $3,580
6 $3,600 $858 $4,458
7 $4,200 $1,200 $5,400
8 $4,800 $1,610 $6,410
9 $5,400 $2,093 $7,493
10 $6,000 $2,654 $8,654
11 $6,600 $3,299 $9,899
12 $7,200 $4,035 $11,235
13 $7,800 $4,867 $12,667
14 $8,400 $5,802 $14,202
15 $9,000 $6,848 $15,848
16 $9,600 $8,013 $17,613
17 $10,200 $9,306 $19,506
18 $10,800 $10,736 $21,536
19 $11,400 $12,313 $23,713
20 $12,000 $14,046 $26,046
21 $12,600 $15,949 $28,549
22 $13,200 $18,032 $31,232
23 $13,800 $20,310 $34,110
24 $14,400 $22,795 $37,195
25 $15,000 $25,504 $40,504
26 $15,600 $28,451 $44,051
27 $16,200 $31,655 $47,855
28 $16,800 $35,134 $51,934
29 $17,400 $38,908 $56,308
30 $18,000 $42,999 $60,999
31 $18,600 $47,428 $66,028
32 $19,200 $52,221 $71,421
33 $19,800 $57,403 $77,203
34 $20,400 $63,004 $83,404
35 $21,000 $69,053 $90,053
36 $21,600 $75,582 $97,182
37 $22,200 $82,627 $104,827
38 $22,800 $90,225 $113,025
39 $23,400 $98,415 $121,815
40 $24,000 $107,241 $131,241

How it is worked out

Each month, the balance grows by one twelfth of the annual rate, and then the monthly contribution is added. Interest first, contribution second, which is called an ordinary annuity. Adding the contribution at the start of the month instead gives a slightly higher answer, and it is the usual reason two calculators disagree about the same scenario.

balance = balance × (1 + rate / 12) + monthly
repeated 12 times a year, for the number of years

Written as one expression, the closed form most textbooks give is:

FV = P(1 + i)n + PMT × [ ((1 + i)n − 1) / i ]

i = annual rate / 12    n = years × 12

The loop and the formula give the same answer. The loop is used here because it is the one a student can check a line at a time, and because it is what produces the table.

Using this with a class

The exercise that works is not the calculation, it is the comparison. Have the class run the same monthly amount over ten years and over forty, and ask why the balance is not four times bigger. The percentage in the bold line above is the answer, and students argue about it before they believe it.

The second one: hold the years fixed and halve the monthly amount, then double the rate. Most students expect those to cancel out. They do not, and the reason they do not is the thing worth an hour of lesson time.

The numbers in the boxes travel in the link, so a scenario you set up can be copied out of the address bar and handed to a class.

This is arithmetic, not advice. The rate is a number you typed, not a prediction, and nothing here is a recommendation to do anything with money. The result ignores tax, fees, inflation and the fact that real returns are not the same every year. It is a teaching tool for a classroom.

Also free, no account needed: full lessons from every course · key terms, defined · which states require personal finance to graduate

There is a lesson behind this

Compound growth is the opening unit of the personal finance course, and the first lesson of every unit is readable without an account, in full, with the quiz.

Read the lessons