Every fixed-rate loan payment — a car loan, a personal loan, a mortgage — comes from the same formula underneath. Once you understand it, loan offers stop feeling like a black box and start feeling like something you can actually check yourself. This guide breaks the formula down piece by piece, walks through real worked examples, and shows how changing the rate, term, or payment frequency shifts what you actually owe.
The formula behind every fixed loan payment
A standard fixed-rate installment loan uses what's called an amortization formula. Written out, it looks intimidating, but each piece maps to something you already understand from the loan offer in front of you:
M = P × [r(1+r)^n] / [(1+r)^n − 1]
Where:
- M = your monthly payment
- P = the principal (how much you're borrowing)
- r = your monthly interest rate (annual rate divided by 12)
- n = the total number of payments (loan term in years × 12)
You don't need to solve this by hand every time — a loan calculator does the math instantly — but understanding what's happening inside it is what lets you actually evaluate a loan offer instead of just trusting the number a lender hands you.
Worked example: a $20,000 auto loan
Say you're financing $20,000 for a car at a 6% annual interest rate over 5 years (60 months).
| Variable | Value |
|---|---|
| Principal (P) | $20,000 |
| Monthly rate (r) | 6% ÷ 12 = 0.005 |
| Number of payments (n) | 60 |
Plugging into the formula gives a monthly payment of roughly $386.66. Over the full 5 years, you'd pay about $23,199.60 total — meaning $3,199.60 of that is interest on top of the original $20,000 borrowed.
That interest total is the number most people underestimate when comparing loan offers, since two loans with a similar-looking monthly payment can have very different total interest costs depending on the term length.
Worked example: a $10,000 personal loan at a higher rate
Personal loans, especially for borrowers with average or below-average credit, often carry higher rates than auto loans or mortgages since they're usually unsecured (no collateral backing them). Say you borrow $10,000 at 12% APR over 3 years (36 months).
| Variable | Value |
|---|---|
| Principal (P) | $10,000 |
| Monthly rate (r) | 12% ÷ 12 = 0.01 |
| Number of payments (n) | 36 |
That works out to a monthly payment of about $332.14, with total interest of roughly $1,957 over the life of the loan. Compare that to the auto loan example above: a smaller principal but a higher rate still adds up to meaningful interest, which is exactly why comparing APR (not just the monthly payment) matters when shopping for a loan.
Why term length changes more than you'd expect
Stretching a loan over a longer term lowers the monthly payment, but it usually increases the total interest paid — sometimes by a lot. Take that same $20,000 auto loan at 6%, but compare a 3-year term against a 6-year term:
| Term | Monthly Payment | Total Interest Paid |
|---|---|---|
| 3 years (36 mo.) | ≈ $608.44 | ≈ $1,903.84 |
| 6 years (72 mo.) | ≈ $331.68 | ≈ $3,880.96 |
The 6-year loan cuts the monthly payment almost in half, but more than doubles the total interest paid. Neither choice is automatically wrong — a lower payment might be necessary for your budget — but it's worth seeing the actual tradeoff in dollars rather than only comparing the monthly number.
How extra payments change the math
Because interest accrues on your remaining balance, any extra payment applied directly to principal reduces the amount future interest is calculated on — which is why even small extra payments can meaningfully shorten a loan and cut total interest.
Using the 5-year, $20,000 auto loan example again: if you paid an extra $50 toward principal every month on top of the regular $386.66 payment, you'd pay the loan off close to 8 months early and save several hundred dollars in interest, without refinancing or changing your rate at all.
Before making extra payments, check your loan agreement for a prepayment penalty — most consumer loans don't have one, but some do, and it can offset the interest savings if the penalty is high enough.
Fixed-rate vs. variable-rate loans
Everything above assumes a fixed interest rate — the rate stays the same for the life of the loan, so the formula and your payment stay predictable. A variable-rate loan, common with some personal loans, HELOCs, and adjustable-rate mortgages, ties the rate to a benchmark index that can move up or down over time.
With a variable rate, the same formula still applies at any given moment, but r and therefore M can change at scheduled adjustment periods. That's a meaningfully different risk profile than a fixed loan — your payment is only predictable for the length of the current rate period, not the whole loan term.
Common mistakes when estimating a loan payment
- Comparing monthly payments without comparing total interest. A lower monthly payment from a longer term can quietly cost more overall — always check the total interest figure, not just the payment.
- Forgetting fees aren't part of the payment formula. Origination fees, closing costs, and other charges aren't captured in the basic amortization formula and need to be added separately to understand the real cost of borrowing.
- Using the annual rate instead of the monthly rate in the formula. This is the most common hand-calculation error — remember to divide your annual rate by 12 before plugging it into r.
- Assuming a quoted rate is the same as APR. Some lenders advertise an interest rate that excludes certain fees baked into the official APR — always compare APR to APR, not rate to APR.
How an amortization schedule actually splits your payment
Your monthly payment amount stays the same for the life of a fixed-rate loan, but what that payment actually goes toward changes every month. Early on, most of each payment covers interest, since interest is calculated on the full remaining balance and that balance starts out at its highest point. As the balance shrinks, more of each payment shifts toward principal.
Take the $20,000, 5-year auto loan example from earlier. In month 1, roughly $100 of the $386.66 payment goes to interest and the rest to principal. By month 50, that split has essentially flipped — the vast majority of the payment is reducing principal, with only a small sliver going to interest. This is why paying extra early in a loan's life has more impact than paying extra near the end: there's simply more interest left to eliminate.
How your credit score changes the number
The interest rate you're offered — and therefore the entire calculation above — is heavily influenced by credit score. Lenders use it as a shorthand for risk: a higher score generally signals a lower chance of missed payments, which translates into a lower offered rate.
The swing this creates is bigger than most people expect. On that same $20,000, 5-year auto loan, a borrower with excellent credit might be offered 5% while a borrower with fair credit is offered 11% for the identical loan amount and term. That difference alone moves the total interest paid from roughly $2,645 to roughly $6,090 — more than double, for the exact same car. This is a big part of why checking and improving your credit score before applying for a major loan is worth the effort.
Mortgages: the same formula, a few extra pieces
Mortgages run on the identical amortization formula, just with a longer typical term (15 or 30 years is standard) and a few extra costs layered on top of principal and interest. Your actual monthly housing payment is often quoted as "PITI" — principal, interest, taxes, and insurance — and sometimes includes private mortgage insurance (PMI) if your down payment is below 20%.
This matters because the number that comes out of the pure amortization formula (principal and interest only) is usually noticeably smaller than what actually leaves your bank account each month. When comparing mortgage offers, make sure you're comparing full PITI figures, not just the principal-and-interest number, since property tax rates and insurance costs vary by location and can shift the real comparison significantly.
Working backward: figuring out what loan amount you can afford
The formula also works in reverse. If you already know the maximum monthly payment that fits your budget, you can solve for the principal you can afford at a given rate and term, rather than starting from a loan amount and seeing what payment it produces.
A common budgeting guideline is keeping total debt payments (including the new loan) under roughly 36% of gross monthly income, though this varies by lender and loan type — mortgage lenders often use a similar but distinct debt-to-income threshold. Working backward from a payment you're comfortable with, rather than the maximum a lender approves you for, is one of the more reliable ways to avoid taking on a loan that's technically approved but practically tight.
When refinancing changes the math worth running again
Refinancing replaces an existing loan with a new one, usually to capture a lower rate, change the term, or both. Whenever you're evaluating a refinance offer, it's worth running the full amortization comparison rather than just looking at the new monthly payment, since a refinance that lowers your payment by extending the term can still increase your total interest paid over time — the same tradeoff as the original term-length comparison above, just applied mid-loan.
It's also worth factoring in any refinancing fees or closing costs into the comparison. A lower rate that saves $40 a month isn't a clear win if it costs $1,500 upfront and you plan to pay off or sell before that cost is recovered through the monthly savings.
Getting the number instantly instead of by hand
You don't need to memorize the amortization formula to use it day-to-day — a loan calculator runs the exact same math instantly, letting you test different rates and terms side by side in seconds. If you're working out what percentage of your income a payment represents, a percentage calculator makes that quick comparison easier, and if you're comparing a loan against paying cash with a discount, a discount calculator can help you weigh the two options side by side.
The value of understanding the formula isn't doing the math by hand every time — it's knowing enough to sanity-check the number a calculator or lender gives you, and to understand why changing one variable (rate, term, or extra payments) moves the outcome the way it does.
Free tools mentioned here
Frequently asked questions
What's the formula for calculating a monthly loan payment?
M = P × [r(1+r)^n] / [(1+r)^n − 1], where M is the monthly payment, P is the principal borrowed, r is the monthly interest rate (annual rate ÷ 12), and n is the total number of monthly payments over the loan term.
Does a longer loan term always cost more in total interest?
Usually yes, for the same principal and interest rate — a longer term lowers the monthly payment but gives interest more time to accrue on the remaining balance, which typically increases the total interest paid over the life of the loan.
How do extra payments affect a loan?
Extra payments applied directly to principal reduce the balance that future interest is calculated on, which can shorten the loan term and lower total interest paid — sometimes significantly, even with modest extra amounts. Check for prepayment penalties before making extra payments.
What's the difference between interest rate and APR?
The interest rate reflects only the cost of borrowing the principal, while APR (annual percentage rate) includes certain fees and costs on top of the rate, giving a more complete picture of what a loan actually costs. Always compare APR to APR when shopping between lenders.