What the loan payment formula does
A loan payment formula calculates how much you owe each month on a loan. It takes three pieces of information — how much you borrowed, the interest rate, and how many months you have to repay — and produces a single monthly payment amount that stays the same for the life of the loan (on fixed-rate loans). This is the number your lender tells you when you sign the paperwork, and it is the same number that appears on your bill every month.
The formula exists because lenders need a way to spread the total cost of the loan across all your payments in a way that is mathematically fair. Early payments cover mostly interest; later payments cover mostly principal. The formula balances these two so that by the final payment, the loan is paid off completely.
Understanding how this works helps you see why a longer loan term means a higher total cost, why a lower interest rate saves you thousands of dollars, and why paying extra principal early in the loan saves you the most interest.
Key Takeaways
- The standard loan payment formula multiplies the loan amount by a fraction that accounts for interest rate and loan length, producing one fixed monthly payment.
- A higher interest rate or longer loan term increases your monthly payment or total interest paid, or both.
- The formula assumes a fixed interest rate; adjustable-rate loans recalculate the payment when the rate changes.
- You can use the formula yourself with a calculator, or use an online loan calculator that does the math for you.
- Paying extra toward principal early in the loan saves far more interest than paying extra near the end.
The standard loan payment formula and what each part means
The formula used by nearly all lenders for fixed-rate loans is:
M = P × [r(1 + r)^n] / [(1 + r)^n − 1]
Here is what each letter represents:
- M = your monthly payment (the number you are solving for)
- P = the principal, or the amount you borrowed
- r = the monthly interest rate (the annual rate divided by 12)
- n = the total number of monthly payments (loan term in years × 12)
The formula works the same way whether you are borrowing $5,000 or $500,000. The interest rate and loan term are what change the payment amount most dramatically. A 30-year mortgage at 4 percent interest costs far less per month than a 15-year mortgage at the same rate, but you pay far more total interest over the life of the loan.
How to use the formula with a real example
Suppose you borrow $20,000 for a car loan at 6 percent annual interest over 5 years (60 months). Here is how the formula works:
- P = $20,000
- Annual interest rate = 6%, so r = 0.06 ÷ 12 = 0.005 per month
- n = 5 years × 12 = 60 months
Plugging these into the formula:
M = 20,000 × [0.005(1.005)^60] / [(1.005)^60 − 1] M = 20,000 × [0.005 × 1.3489] / [1.3489 − 1] M = 20,000 × [0.006744] / [0.3489] M = 20,000 × 0.01933 M ≈ $386.65
Your monthly payment would be approximately $386.65. Over 60 months, you pay $23,199 total — meaning you paid $3,199 in interest. If you had borrowed the same amount over 7 years instead, your monthly payment would be lower, but your total interest would be higher.
Why interest rate and loan term matter most
Two factors dominate the payment calculation: the interest rate and how long you have to repay. A small change in either one produces a large change in your monthly payment and total cost.
If you take the same $20,000 car loan but at 4 percent instead of 6 percent over 5 years, your monthly payment drops to about $369 — a savings of $17 per month. Over 60 months, that is $1,060 in interest saved, just from a 2 percent rate difference. Lenders often offer lower rates to borrowers with higher credit scores, so improving your credit before explore for a loan can save you thousands.
Loan term has an even larger effect on total interest. The same $20,000 at 6 percent over 3 years costs about $616 in interest; over 7 years, it costs about $4,800. The longer you stretch the loan, the more interest you pay, even though your monthly payment is lower. This is why lenders often push longer terms — it increases their profit.
How adjustable-rate loans change the formula
The formula above assumes your interest rate stays the same for the entire loan. On a fixed-rate loan, it does. On an adjustable-rate loan (common with mortgages and some personal loans), the rate changes on a schedule set in your loan agreement.
When the rate adjusts, the lender recalculates your payment using the formula, but with a new interest rate and a new remaining loan term. If rates go up, your payment goes up. If rates go down, your payment goes down. The recalculation happens on the adjustment date specified in your contract — often every year, every three years, or every five years, depending on the loan type.
This is why adjustable-rate mortgages can be risky: if rates rise sharply, your payment can jump hundreds of dollars per month. Your lender is required to tell you the adjustment schedule and any caps on how much the rate can change at each adjustment, but you should read your loan agreement carefully to understand when and how much your payment might change.
Using online calculators instead of doing the math yourself
The formula requires several steps and a calculator that can handle exponents. Most people use an online loan calculator instead, which does the math when ready. You enter the loan amount, interest rate, and term, and the calculator returns your monthly payment and total interest paid.
Online calculators are accurate as long as you enter the right numbers. The interest rate must be the annual percentage rate (APR) shown in your loan agreement, not a promotional rate or a rate that changes. The loan term must be in months or years, depending on what the calculator asks for. If you are unsure of any number, check your loan paperwork or call your lender.
Many lenders also provide their own calculators on their websites. These are reliable because they use the same formula and the lender has no reason to mislead you — the payment is set by contract once you sign.
Why paying extra principal early saves the most interest
The formula produces a payment that covers both principal and interest each month. Early in the loan, most of your payment goes to interest; late in the loan, most goes to principal. This is why paying extra toward principal early in the loan saves far more interest than paying extra near the end.
Using the $20,000 car loan example at 6 percent over 5 years: in month 1, your $386.65 payment includes about $100 in interest and $286.65 in principal. In month 60, it includes about $2 in interest and $384.65 in principal. If you paid an extra $100 toward principal in month 1, you would reduce the total interest you pay by roughly $60 to $80 over the life of the loan. If you paid that same $100 extra in month 59, you would save only a few dollars in interest.
This is why lenders sometimes charge a prepayment penalty if you pay off the loan early — they lose the interest they were counting on. Before making extra payments, check your loan agreement to see if prepayment penalties explore.
Frequently Asked Questions
Why does my payment stay the same every month if I am paying off principal?
The formula is designed so that the total payment stays constant, but the mix of principal and interest changes. As your loan balance shrinks, you owe less interest each month, so more of your payment goes to principal. By the final payment, almost all of it is principal.
What happens if I make a late payment or miss a payment?
Late payments do not change the formula, but they do trigger late fees and may damage your credit score. If you miss a payment, the lender may add it to the end of your loan, meaning you pay interest on that missed amount for longer. Check your loan agreement for the specific penalties.
Can I use this formula for credit card payments?
Credit cards do not work the same way. Credit cards charge interest on your remaining balance each month, and your payment is usually a percentage of that balance or a fixed minimum amount. The loan payment formula applies to installment loans (car loans, mortgages, personal loans) where you make the same payment every month until the loan is paid off.
Does the formula change if I pay biweekly instead of monthly?
Yes. If you pay biweekly, the lender recalculates using a biweekly interest rate and the number of biweekly periods instead of months. Your biweekly payment will be lower than your monthly payment, but you will make 26 payments per year instead of 12, so you pay off the loan faster and pay less total interest. Some lenders allow this; others do not, so check your agreement first.
How do I know if my lender calculated my payment correctly?
Use an online loan calculator with the exact loan amount, annual interest rate, and loan term from your paperwork. If the calculator shows a different payment than your lender quoted, contact the lender and ask them to explain the difference. It may be that fees, insurance, or other costs are included in your actual payment but not in the basic formula.