What the loan payment formula does

The loan payment formula calculates how much you owe each month so that by the end of the loan term, you will have paid back the full amount you borrowed plus interest. It takes three pieces of information — how much you borrowed, the interest rate, and how many months you have to repay — and produces one number: your monthly payment.

The formula exists because lenders need a way to spread your debt evenly across the life of the loan. Without it, you might pay $50 one month and $500 the next, with no clear path to being done. Instead, the formula ensures that every payment is the same size and that the loan ends on schedule.

Key Takeaways

  • The standard loan payment formula divides your loan into equal monthly payments that cover both principal (what you borrowed) and interest (what the lender charges).
  • The three inputs are loan amount, annual interest rate, and the number of months until the loan is paid off — change any one and your monthly payment changes.
  • Early in the loan, most of your payment goes toward interest; later, most goes toward principal, even though the payment amount stays the same.
  • Lenders use this formula for mortgages, car loans, personal loans, and student loans, though some student loans use different rules.

The three numbers you need

The formula requires exactly three pieces of information, and you can find all three on your loan documents or from your lender.

Principal is the amount you borrowed. If you took out a $20,000 car loan, the principal is $20,000. This is the starting point before any interest is added.

Interest rate is the annual percentage rate, or APR. This is the yearly cost of borrowing, expressed as a percentage. A 5% APR means you pay 5% of the outstanding balance per year. Your lender will give you this number in your loan agreement or promissory note.

Loan term is how long you have to repay the loan, usually expressed in months. A 5-year car loan is 60 months. A 30-year mortgage is 360 months. The longer the term, the smaller your monthly payment — but you pay more interest overall.

How the formula works in practice

The standard formula is:

Monthly Payment = [P × (r × (1 + r)^n)] / [((1 + r)^n) − 1]

In this formula, P is the principal, r is the monthly interest rate (the annual rate divided by 12), and n is the number of months. The exponent (^n) means you multiply (1 + r) by itself n times.

Here is a concrete example. You borrow $10,000 at 6% annual interest over 36 months.

  • P = $10,000
  • Annual rate = 6%, so monthly rate r = 0.06 ÷ 12 = 0.005
  • n = 36 months

Plugging these into the formula gives a monthly payment of approximately $299.71. You will make 36 payments of $299.71, which totals $10,789.56. The difference between $10,789.56 and $10,000 is $789.56 — that is the interest you paid.

If you had stretched the same loan over 60 months instead, your monthly payment would drop to about $193.33, but you would pay $11,599.80 total, meaning $1,599.80 in interest. The longer term means a smaller monthly payment but more interest paid overall.

Why your payment stays the same but the breakdown changes

Every month you make the same payment — say, $299.71 — but the way that payment is split between principal and interest shifts. Early in the loan, most of your payment covers interest. Later, most covers principal.

In month one of the $10,000 loan at 6%, you owe $10,000 × 0.005 = $50 in interest. Your $299.71 payment covers that $50 plus $249.71 toward principal, leaving a balance of $9,750.29. In month two, you owe interest only on $9,750.29, which is about $48.75. Now $250.96 of your payment goes to principal. The balance shrinks a little faster.

By month 35, the balance is small, so interest is small — maybe $5 — and $294.71 goes straight to principal. By month 36, you owe almost nothing, so your final payment is mostly principal with just a few cents in interest.

This is why paying extra toward principal early in the loan saves you the most money. Every dollar you add to principal reduces the balance that interest is calculated on for every remaining month.

How lenders use this formula for different loan types

Mortgages use the standard formula with terms of 15, 20, or 30 years. A 30-year mortgage at 7% on $300,000 produces a monthly payment of roughly $1,996 (not including property taxes, insurance, or HOA fees, which are added separately).

Car loans typically run 36 to 84 months. A $25,000 car loan at 5.5% over 60 months results in a monthly payment of about $472.

Personal loans usually range from 24 to 84 months. The formula works the same way, though the interest rate may be higher than a secured loan like a car or home loan.

Federal student loans are more complicated. Direct Unsubsidized and Stafford loans use the standard formula, but income-driven repayment plans calculate payments differently — they base the amount on your income rather than the loan balance and term. Private student loans typically use the standard formula.

What happens when you pay early or make extra payments

The formula assumes you make every payment on time for the full term. If you pay extra, you reduce the principal faster, which means less interest accrues in future months, and you finish the loan early.

If you have a $10,000 loan at 6% over 36 months with a $299.71 payment, and you pay $350 instead, the extra $50 goes directly to principal. Your balance drops faster, interest in the next month is slightly lower, and you will finish in fewer than 36 months. You will also pay less total interest.

Some loans charge a prepayment penalty if you pay off the loan early — the lender loses the interest they expected to collect. Check your loan documents to see whether yours does. Most mortgages and car loans do not; some personal loans and older mortgages do.

How to find your payment if you do not want to do the math

You do not have to calculate by hand. Your lender will tell you the exact payment amount in your loan agreement. You can also use a loan calculator — most banks and financial websites have free ones where you enter the principal, rate, and term and it shows you the monthly payment and total interest.

If you want to see how changing one number affects your payment, a calculator is faster than the formula. Increase the term from 36 to 48 months and see the payment drop. Raise the interest rate by 1% and see it rise. This helps you understand the trade-offs before you commit to a loan.

Frequently Asked Questions

Why does my payment go toward interest first instead of principal?

Your payment does not go to interest first — they are calculated together. But because interest is calculated on the remaining balance, and the balance starts high, interest takes up a larger share of your early payments. As the balance shrinks, interest shrinks with it, and more of each payment goes to principal. This is how all amortizing loans work.

If I pay off my loan early, do I save money?

Yes, you save on interest. If you pay off a $10,000 loan at 6% in 24 months instead of 36, you stop accruing interest after 24 months instead of 36. However, check your loan documents first — some loans charge a prepayment penalty that may offset the interest savings.

Does the formula work the same for all types of loans?

The standard formula works for mortgages, car loans, personal loans, and most private student loans. Federal student loans with income-driven repayment plans use different calculations based on your income, not your loan balance. Always check your loan documents to see which method applies to you.

What if my interest rate changes during the loan?

The formula assumes a fixed rate that does not change. If you have an adjustable-rate loan, the payment recalculates when the rate changes. Your lender will send you a new payment amount and explain how the rate adjustment affects it.

Can I use this formula to compare two loans?

Yes. Calculate the monthly payment and total interest for each loan using the same principal amount and term. The loan with the lower total interest cost is cheaper overall, even if the monthly payment is slightly higher. This helps you compare offers from different lenders.