Consistent investing over a long period of time can be an effective way to accumulate wealth. So let's use it in a practical example and see how this compound interest calculator created by our team here at Eagle Pro Web using JavaScript, can put this savings strategy to work.

Let's assume that a 6 years old little Bella has saved **$500.00** dollars from her allowances. Then Mateus, her older brother, decides to make a fixed deposit at the local Bank who promised to pay 5% annual interest rate in return, compounded monthly.

Little Bella's Father likes the idea so He decides to add periodic monthly payments of **100.00** dollars, made at the end of each month, to the savings account. If Mateus had to leave that money at the Bank for the next 13 years, at the time Bella is 19 years old, they would have saved about **$22,867.42** dollars.

### Note:

The formula for Compound Interest Calculator with Additional Deposits is a combination of: Compound Interest Formula " P(1+r/n)^(nt) " and Future Value of Series Formula " PMT × (((1 + r/n)^(nt) - 1) ÷ (r/n)) ", as explained at The Calculator Site.

We created the above Calculator using JavaScript language. But if you are not familiar with JavaScript, then you can use forms that can handle formulas like, SmartForms. All you need is just some knowledge on how to use financial formulas and a small line of code called "Math.pow(x,y)" to be used in the formula instead of the power **(^)**.

Please note that **^** means "to the power of", and if you were to use that code on the above formula, it should look as follows:

Compound Interest Formula

A= (P*Math.pow((1+(r/100)/n),(n*t)))

Future Value of Series Formula

A= PMT*((Math.pow((1+r/100/n),(n*t))-1)/(r/100/n)) =>> Assuming that deposits are made at the end of each period (month, year, etc).

A= PMT*((Math.pow((1+r/100/n),(n*t))-1)/(r/100/n))*(1+r/100/n) =>> Deposits made at the beggining of each period (month, year, etc).

Where:

A- the future value of the investment, including interest;

P = the principal investment amount (the initial deposit or loan amount);

PMT = periodic monthly payments;

r = the annual interest rate (decimal);

n = the number of times that interest is compounded per unit t;

t = the time the money is invested or borrowed for.

Please also note that I have divided r by a 100 so it may return the value (rate) in percentage.