How an EMI is worked out, with a home loan as the example
An equal monthly payment has to do two jobs at once: pay the interest that month, and pay back a slice of the loan, so that after the last payment nothing is owed. There is exactly one payment that does this, and the formula for it is P × i / (1 − (1 + i)^−n). P is the amount borrowed, i is the monthly rate (the yearly rate divided by 12, as a decimal) and n is the number of months.
Take a small loan first, because it can be checked on paper. Borrow 10,000 at 6% a year for 12 months. The monthly rate is 0.06 / 12 = 0.005. 1.005 raised to the power −12 is 0.941905, so the bottom of the formula is 1 − 0.941905 = 0.058095. The top is 10,000 × 0.005 = 50. 50 divided by 0.058095 is 860.66, the monthly payment. Twelve payments of 860.66 are 10,327.97, so the loan costs 327.97 in interest. In the first month, interest is 10,000 × 0.005 = 50, so 810.66 of the payment goes to the balance.
Now a typical Indian home loan: ₹10,00,000 at 9% for 20 years. The monthly rate is 0.0075 and there are 240 months. The formula gives an EMI of ₹8,997.26. Over 240 months you pay ₹21,59,342 in total, which means ₹11,59,342 in interest: more than the amount you borrowed. In the first month, interest is ₹7,500, so only ₹1,497.26 of the EMI reduces the loan. That is why the outstanding balance seems to fall so slowly in the first years of a long loan.
Extra payments change the picture sharply. Pay ₹2,000 a month on top of the same EMI and the loan is cleared in 154 months instead of 240, a little under 13 years instead of 20. Total interest falls from ₹11,59,342 to about ₹6,86,193, a saving of roughly ₹4,73,000 for ₹2,000 a month. Type the numbers above with an extra payment of 2,000 and the table shows the month the balance reaches zero.
The calculator has limits you should know. It assumes the rate never changes, while many home loans float with a benchmark rate. It leaves out processing fees, insurance, taxes and any prepayment charge. Some lenders round each payment or calculate interest daily, so their schedule can differ by small amounts. Use the result to compare options and to plan, and rely on your lender’s own statement for the exact figures. It is a calculation, not financial advice.