I have to calculate the annuity amount to be paid monthly on a loan of 5000 with 5% interest rate in 2 years. The annuity should be calculated monthly. The interest will change on the basis of remaining amount. My problem is that every calculator and formulae I am using is giving me the amount of 362, while the actual annuity amount should be 219.36. I do not know how I am getting this amount. Only this Calculator has given me the correct amount. But they have not shown the process they have used to calculate the annuity payout.
This is the loan details:
Loan Amount 5000 €
Nominal Interest Rate 5.00 %
Duration 2 years
Start-Date 01.01.2018
I will have to use only above input parameters to calculate below result.
This is the repayment plan of loan that I will get:
+------------+---------+-----------+----------+-------------------------------+---------------------------------+
| Date | Annuity | Principal | Interest | Initial Outstanding Principal | Remaining Outstanding Principal |
+------------+---------+-----------+----------+-------------------------------+---------------------------------+
| 01.01.2018 | 219.36 | 198.53 | 20.83 | 5000 | 4801.47 |
+------------+---------+-----------+----------+-------------------------------+---------------------------------+
| 01.02.2018 | 219.36 | 199.35 | 20.01 | 4801.47 | 4602.12 |
+------------+---------+-----------+----------+-------------------------------+---------------------------------+
| ... | ... | ... | ... | ... | ... |
+------------+---------+-----------+----------+-------------------------------+---------------------------------+
| 01.12.2019 | 219.28 | 218.37 | 0.91 | 218.37 | 0 |
+------------+---------+-----------+----------+-------------------------------+---------------------------------+
I don't know what formulas you have, but if the effective rate for one month is $i$, the annuity will be $$A=M_0\frac{i(1+i)^N}{(1+i)^N-1},$$ whit $M_0$ being the initial debt (that is the capital to pay at the beginning) and $N$ is the number of periods to pay. You have $N=2\times 12=24$ and $i=\frac{.05}{12}$ if, as I suppose, the $5\%$ is a yearly nominal rate. $M_0=5000$. Try those numbers in the formula and you'll get the answer you are looking for.
To get the formula you can think as follows:
Now, we can use the formula to see that $$M_1=(1+i)M_0-A;$$
$$M_2=(1+i)M_1-A=$$ $$=(1+i)\big((1+i)M_0-A\big)-A=$$ $$=(1+i)^2M_0-A\big(1+(1+i)\big);$$
$$M_3=(1+i)M_2-A=$$ $$=(1+i)\Big((1+i)^2M_0-A\big(1+(1+i)\big)\Big)-A=$$ $$=(1+i)^3M_0-A\big(1+(1+i)+(1+i)^2\big);$$
$$\vdots$$
$$M_n=(1+i)^nM_0-A\big(1+(1+i)+(1+i)^2+\cdots+(1+i)^{n-1}\big)$$ $$=(1+i)^nM_0-A\frac{(1+i)^n-1}i.$$ (in the last step I used the formula $$1+q+q^2+\cdots+q^{n-1}=\frac{q^n-1}{q-1},\quad q\neq1$$ for the sum with the dots.)
Now, you want that at the last period $N$ your remaining debt be zero, that is $M_N=0$, so $A$ has to be such that $$M_N=(1+i)^NM_0-A\frac{(1+i)^N-1}i=0,$$ and solving the equation for $A$ gives the formula $$A=M_0\frac{i(1+i)^N}{(1+i)^N-1}.$$