Loan EMI Formula Explained, With a Worked Example
Every loan or EMI calculator, including the Loan & EMI Calculator on this site, runs the same standard amortization formula. Once you see what the formula does, three things that seem puzzling become obvious: why a longer loan has a smaller payment, why it costs more overall, and why the first year of payments barely dents the balance.
This is an explanation of the arithmetic, not financial advice. Real loans have fees, variable rates and lender-specific rounding that a simple formula leaves out.
The formula
For a fixed-rate loan repaid in equal monthly installments, the payment is:
M = P × [r(1+r)^n] / [(1+r)^n − 1]
- P is the principal, the amount you borrow.
- r is the monthly interest rate: the annual rate divided by 12, written as a decimal. A 6.5 percent annual rate gives r = 0.065 / 12 ≈ 0.005417.
- n is the total number of monthly payments: years times 12.
The result is a single fixed payment that, if made every month, brings the balance to exactly zero at the end of the term.
A worked example
Borrow 20,000 at 6.5 percent a year over 5 years. Here r ≈ 0.005417 and n = 60.
- Work out (1+r)^60. That is 1.005417 multiplied by itself 60 times, about 1.3828.
- The top of the fraction is r × 1.3828 ≈ 0.007490.
- The bottom is 1.3828 − 1 = 0.3828.
- Divide: 0.007490 / 0.3828 ≈ 0.019566.
- Multiply by the principal: 20,000 × 0.019566 ≈ 391.3 per month.
Over 60 payments you pay about 23,479 in total, so roughly 3,479 of it is interest. Run the same inputs through the calculator and you should land within a few cents; any difference is rounding.
Why a longer term lowers the payment but raises the cost
Change only the term to 10 years (n = 120) and the same formula gives a payment of about 227.1. The monthly bill drops by over 40 percent. But 120 payments of 227.1 add up to roughly 27,253, so interest is about 7,253. That is more than double the 5-year interest figure.
The mechanism is simple. A longer n spreads the same principal over more installments, so each is smaller. But the unpaid balance stays above zero for longer, and interest is charged on whatever is outstanding each month. More months with a high balance means more interest. A 30-year mortgage has a lower payment than a 15-year one for the same amount and rate, and costs far more in interest by the end.
Why early payments are mostly interest
Take the first payment of the 5-year example. Interest for month one is the full balance times the monthly rate: 20,000 × 0.005417 ≈ 108.3. The payment is 391.3, so only about 283 goes to principal. After that the balance is slightly lower, so next month's interest is slightly lower, and a little more of the same payment reduces principal. The split drifts, month by month, from mostly interest to mostly principal.
On the 10-year version the effect is stronger: the first payment of 227.1 has the same 108.3 of interest, which is nearly half. This is why paying a bit extra early has an outsized effect. Every extra unit of principal you clear early stops accruing interest for all the remaining months.
How to check your own numbers
- Open the Loan & EMI Calculator.
- Enter the loan amount (principal), the annual interest rate and the term in years.
- Read the monthly payment, total interest and total paid shown in the results.
- Change only the term, then only the rate, and compare. Seeing what one variable does on its own is the fastest way to build intuition.
- If you want to know what a small rate difference is worth, use the Percentage Calculator to express the change as a percentage of the total.
Where typical loan calculators fall short
Some online calculators ask for an email address before they show a full result. Others bury the answer under comparison widgets, lead forms or affiliate offers, or are tied to one lender's products and quietly assume that lender's fee structure. Those are fine for shopping, less so for neutral arithmetic. This one runs in your browser: the numbers you type stay on the page, there is no sign-up, and it computes the standard formula and nothing else.
Its honest limit is the same as the formula's. It assumes a fixed rate for the entire term, equal monthly payments, no fees, no insurance and no extra payments. Real quotes from a lender can differ, and the lender's own schedule is what you are legally bound by.
Everyday uses
- Comparing a car loan at 3, 4 and 5 years. See how much extra interest the lower payment buys.
- Sizing a home loan. Test what a half-point rate change does to the payment before talking to a bank.
- Checking a quote. If a lender's monthly figure is noticeably higher than the formula suggests, ask what fees or insurance are included.
- Planning an early payoff. Understand why overpaying in the first years saves the most.
- Student or personal loans. Check whether the advertised payment matches the stated rate and term.
Tips and mistakes to avoid
Do not enter the annual rate as the monthly rate. Dividing by 12 is the single most common manual error. Make sure the term is in months in the formula and in years in the calculator.
Compare total cost, not only the monthly payment. A low payment is attractive, but check the "total paid" line before accepting a longer term.
Watch for rates quoted as "flat" in some markets. A flat rate applies to the original principal for the whole term and works out to a much higher effective rate than the same number used with the reducing-balance formula above. Ask the lender for the annual percentage rate (APR) on a reducing balance basis.
Finally, rounding: lenders round each payment to the cent and adjust the last one, so your final installment may differ by a few cents from the formula.
What the formula leaves out
The textbook formula is a clean model, and real loans add layers on top of it. Knowing what they are helps you read a lender's offer with the right questions in mind.
- Fees. Arrangement, processing or early-repayment fees are not in the formula. Ask for the total cost of credit, not just the rate.
- Insurance and add-ons. Payment protection and similar products raise the real monthly outflow without changing the amortization maths.
- Variable rates. If the rate resets, r changes and the payment is recalculated on the remaining balance and remaining term. The formula still applies, but only one stretch at a time.
- Interest-only periods. During these, you pay just the interest and the balance does not fall, so the later payments are higher than a standard schedule would give.
- Day-count conventions. Some lenders charge daily interest, so month length slightly changes the interest portion.
None of that makes the formula useless. It gives you a baseline. If a quote is far above the baseline for the same principal, rate and term, the difference is fees, add-ons or a different rate than the one advertised, and that is a question worth asking before you sign anything.
Reading an amortization schedule
Lenders can provide a month-by-month table. Check the first row: the interest column should equal the balance times the monthly rate. Check the last row: the balance should reach zero, give or take a few cents of rounding. If both hold, the schedule follows the standard model.
Related reading
If you are also working with percentages in other situations, the Sales Tax Calculator works on the same kind of arithmetic. To keep paperwork organized around a loan or a freelance project, see Create a Freelance Invoice. For files you need to send to a lender, Merge PDFs Without Uploading explains how to bundle statements without handing them to a third-party server. The calculators category has the rest.
Frequently asked questions
- What is the EMI formula?
- EMI = P x r x (1+r)^n / ((1+r)^n - 1), where P is the principal, r is the monthly interest rate (annual rate divided by 12, as a decimal) and n is the number of monthly payments. It gives a fixed payment that clears the loan exactly at the end.
- How do I calculate monthly loan payments by hand?
- Convert the annual rate to a monthly decimal, work out (1+r)^n, then plug the values into the formula. For anything beyond a rough check, enter the principal, rate and years into a loan calculator, which does the same arithmetic without rounding mistakes.
- Why is most of my early payment interest?
- Interest is charged on the outstanding balance, which is largest at the start. A fixed payment is split into that month's interest first and the remainder goes to principal. As the balance falls, the interest share shrinks and the principal share grows.
- Does a longer loan term save money?
- It lowers the monthly payment but usually raises the total interest paid, because the balance stays outstanding for longer. A shorter term costs more each month and less overall. Which is better depends on what your budget can sustain.
- What if the interest rate is variable or there are fees?
- The formula assumes one fixed rate for the whole term and no fees. A variable-rate loan, an arrangement fee, or insurance changes the real cost, so treat the calculator's figure as an estimate and ask your lender for the full schedule.
- Is the MergeDoc loan calculator financial advice?
- No. It is an arithmetic tool that shows the monthly payment, total interest and total paid for the numbers you enter. It is not financial advice, and lender quotes can differ because of fees, rounding rules and rate changes.
Tools mentioned
More in Calculators
Related posts
How to Create a Freelance Invoice as a PDF, Free
What a freelance invoice should include, how to add sales tax correctly, and how to make a clean invoice PDF free in your browser. Not tax or legal advice.
How to Split a PDF Into Pages, Ranges or Single Files
Split a PDF into single pages or pull out ranges like 1-3,5, free and in your browser. Learn which tool fits, plus the limits worth knowing.
Rotate and Reorder PDF Pages Permanently, Free
Fix sideways scans and out-of-order pages. Rotate a PDF by 90, 180 or 270 degrees and rearrange or delete pages, all in your browser, with no upload.