How the calculator works

What each input means, the formulas behind the results, and what the results leave out.

How to use the calculator

Enter what you invest today, how much you plan to add regularly and the return you expect. The results update as you type: the final balance, how much of it you paid in yourself, how much is interest, a chart of the growth and a year-by-year table.

Initial investment

The amount you invest at the start, for example savings you move into a fund today. Enter 0 if you start from nothing and only make regular contributions.

Expected annual return

The yearly growth rate in percent. For a savings account or a term deposit, use its interest rate. For shares and funds nobody knows the future return, so it helps to try a cautious and an optimistic rate side by side (see Compare scenarios below). The calculator applies the same rate every year.

Investment period

How long the money stays invested, in whole years from 1 to 100.

Regular contribution

An amount you add every month or every year, for the whole period. Set it to 0 to see the growth of a one-off investment.

More options

Compare scenarios

Choose Compare with another scenario to work with up to three scenarios. A new scenario starts as a copy of the current one, so you can change a single input, such as the return or the monthly amount, and see the difference on one chart.

Share or save your inputs

The page address always contains your inputs. Copy link copies it, and anyone who opens the link sees the same scenarios. Your last inputs are also remembered in this browser, so they are still there when you come back.

How the calculation works

The calculator uses compound interest: in every period, interest is earned on the whole balance, including the interest earned before. For a one-off investment, the value after t years is:

FV = P × (1 + r/n)n×t

Here P is the initial investment, r the annual rate as a decimal (7 % is 0.07) and n the number of compounding periods per year: 1, 12 or 365. Regular contributions add the future value of an annuity:

FV = PMT × ((1 + r/n)n×t − 1) / (r/n)

PMT is the contribution per period. When contributions are made at the start of each period, this part is multiplied by (1 + r/n), because every payment grows for one period longer.

The calculator works through the years one contribution at a time, which is also how it fills the year-by-year table. When contributions and compounding follow different schedules, for example monthly contributions with yearly compounding, the growth per contribution period is (1 + r/n)n/m, where m is the number of contributions per year. With 7 % a year, each monthly contribution grows by 1.071/12, so after twelve months the balance has grown by exactly 7 %. When both schedules match, the results equal the formulas above.

With the default inputs (10,000 invested today, 200 a month, 7 % a year compounded yearly for 20 years) you end up with 140,204.12. You paid in 58,000.00 of that yourself, and the remaining 82,204.12 is interest.

What the results leave out

Open the calculator and try it with your own numbers.