Sample

Compound interest with an equal monthly investment# Compound interest with an equal monthly investment

##### The calculation of the accumulated amount with the monthly investiment

Сomply with request of user frouzen, who asked to make - calculating accreted amount when using compound interest and additional monthly investment. The alculation of interest is also expected to be monthly (most favorable case).

In order to do not distract the user from the calculator itself it's located below. Also there is a little bit of theory and formulas for those who need it.

Calculator

The formula of compound interest, accruing a few times during the year is , where m in our case is 12 and n - is a deposit period in years.

That's the simplest case when you make a contribution immediately and without further investment to it.

Now for the more complicated case - deposit replenishment with equal monthly installments..

Note that the factor degree *mn* nothing more than the number of periods of interest accrual.

Thus, for the very first deposit the accreted amount for the first few years will be the same.

For the deposit that has been made at the end of the first month, the amount of periods of interest accrual is one fewer and the formula would look like this

,

for the third deposit - like this

,

...

and for the last deposit, i.e. made in the las month before the end of the term - like this

,

General result is a sum of all these expressions. And there are similarity in these expressions - they are terms of geometric progression in which the first term is equal to

and the common ratio of a geometric progression is .

About the geometric progression see Geometric progression

Thus,the required amount of the sum of the geometric progression formula is

That's all for today

**Update**

Added the ability to specify individual size of the first installment(according to the user's request).

## Comments

## Login