What the payment has to do
An amortized loan is paid back with equal monthly payments. Each payment first covers the interest that built up on the balance since last month, and whatever is left over reduces the balance. The payment is set so that after the last one, the balance is exactly zero. That is all the formula does: it finds the one fixed amount that makes the math come out even. You can get the same answer by trial and error, guessing a payment and running the months forward until the balance lands on zero; the formula just skips the guessing.
The formula
M = P × r × (1 + r)^n / ((1 + r)^n - 1)
- M is the monthly payment.
- P is the principal, the amount you borrow.
- r is the monthly interest rate: the annual rate divided by 100 and then by 12. A 6% loan has r = 0.06 / 12 = 0.005.
- n is the number of monthly payments. Five years is 60.
The part that looks hard, (1 + r)^n, is just the growth factor: what one dollar becomes after n months of compounding at the monthly rate. The top of the fraction is the interest-and-growth side, the bottom spreads it across the payments. You only need to compute the factor once and reuse it.
A worked example
Take a $20,000 car loan at 6% a year, paid over 60 months.
- Monthly rate: r = 6 / 100 / 12 = 0.005.
- Growth factor: (1.005)^60 = 1.34885. Keep at least five decimals here. Rounding it to 1.35 would make the payment come out at $385.71, almost a dollar off, and the error compounds across 60 payments.
- Top of the fraction: 20,000 × 0.005 × 1.34885 = 134.885.
- Bottom of the fraction: 1.34885 - 1 = 0.34885.
- Payment: 134.885 / 0.34885 = 386.656..., which rounds to $386.66 a month.
Totals follow from that. 60 payments of $386.66 come to $23,199.60, so the interest over the life of the loan is about $3,199. A calculator that keeps the unrounded payment, as CalcMate does, shows $23,199.36 and $3,199.36; the 24 cents are rounding. Real lenders round each payment to the cent and adjust the last one by a few cents to land on zero.
Where each payment goes
The payment is fixed, but the split inside it is not. Interest for a month is the current balance times r. In month one that is 20,000 × 0.005 = $100.00, so only $286.66 of the first payment reduces the loan. Next month the balance is lower, the interest is a little lower, and a little more goes to principal. The table shows the first four months and the last two.
| Month | Payment | Interest | Principal | Balance after |
|---|---|---|---|---|
| 1 | $386.66 | $100.00 | $286.66 | $19,713.34 |
| 2 | $386.66 | $98.57 | $288.09 | $19,425.25 |
| 3 | $386.66 | $97.13 | $289.53 | $19,135.72 |
| 4 | $386.66 | $95.68 | $290.98 | $18,844.75 |
| ... | ||||
| 59 | $386.66 | $3.84 | $382.82 | $384.73 |
| 60 | $386.66 | $1.92 | $384.73 | $0.00 |
The balance is carried without rounding, as CalcMate does, so a row can look a cent off when you subtract the rounded figures.
Check month two yourself: 19,713.34 × 0.005 = 98.57 interest, and 386.66 - 98.57 = 288.09 principal. Over the first year you pay $4,639.92 and $1,103.81 of it is interest, about 24 cents of every dollar. By the final year it is a few dollars a month. This front-loading is normal and is simply what "interest on the remaining balance" means, but it is why paying a loan off early saves the most when you do it early.
Shorter term, extra payments, zero interest
The same $20,000 at 6% over 36 months instead of 60 means a payment of $608.44, which is $221.78 more each month, and total interest of about $1,904, which is about $1,300 less. A shorter term always trades a bigger payment for less interest, because the balance is high for fewer months.
You can get part of that effect without committing to the bigger payment. Pay $50 extra every month on the 60-month loan, $436.66 in total, and it is gone after 53 payments instead of 60, with about $2,770 in interest instead of $3,199. This assumes the lender applies the extra amount to principal and does not charge a prepayment penalty, so it is worth checking the loan terms first.
At 0% the formula breaks, because r = 0 makes both the top and the bottom of the fraction zero. The answer is just the principal divided by the months: 20,000 / 60 = $333.33, with the last payment adjusted by 20 cents to clear the rounding. Any good calculator handles this case separately; CalcMate does.
| Same $20,000 loan | Monthly | Total paid | Total interest |
|---|---|---|---|
| 60 months at 6% | $386.66 | $23,199 | $3,199 |
| 36 months at 6% | $608.44 | $21,904 | $1,904 |
| 60 months at 6%, plus $50 extra each month | $436.66 | $22,770 | $2,770 |
| 60 months at 0% | $333.33 | $20,000 | $0 |
Doing it in CalcMate
The CalcMate Loan Calculator asks for three things: the loan amount, the annual interest rate in percent, and the term in months, from 1 to 360, with plus and minus buttons or a field you can type into. It shows the monthly payment, the total of all payments and the total interest, and a Share button turns the result into an image card you can send to someone.
If you want the table above for your own loan, use the EMI Calculator in the same Finance section. It takes the same inputs, shows a bar that splits the total into Principal and Interest, and has a View Schedule button that lists every month with its payment, interest, principal and remaining balance. The Mortgage tool does the same for a home loan with a down payment, and Loan Comparison puts two offers side by side. Results are saved in History, and everything works offline.
These figures are estimates for a plain amortized loan. Lenders may add fees, insurance or taxes, may count interest daily rather than monthly, and may round differently, so the number on your contract can differ by a little. This guide is general information, not financial advice.
More guides from SempaQ.