Finance

How Loan Payments Are Calculated: The Math Behind Your Monthly Bill

By The hakaru Team·Last updated March 2026
Disclaimer: This guide is for educational purposes only and does not constitute financial advice. Actual loan terms vary by lender and borrower qualifications.

Quick Answer

  • 1. Loan payments are calculated using three inputs: principal (amount borrowed), interest rate, and term (number of payments).
  • 2. The formula M = P[r(1+r)^n] / [(1+r)^n - 1] produces a fixed payment that fully repays the loan by the end of the term.
  • 3. Early payments are mostly interest; later payments are mostly principal. This is called amortization.
  • 4. Shorter loan terms cost more per month but save dramatically on total interest paid.

Calculate any loan payment instantly

Enter your loan amount, rate, and term to see your monthly payment and full amortization schedule.

Calculate My Payment Free

The Loan Payment Formula Explained

Every fixed-rate loan — mortgage, auto, personal, student — uses the same payment formula. Understanding it removes the mystery from your monthly bill.

M = P x [r(1+r)^n] / [(1+r)^n - 1]

  • M = monthly payment
  • P = principal (the amount you borrow)
  • r = monthly interest rate (annual rate / 12)
  • n = total number of monthly payments (years x 12)

This formula calculates the exact fixed payment that will repay both principal and interest over the term. You do not need to memorize it — our payment calculator handles the math instantly. But knowing what drives the result helps you make better borrowing decisions.

A Worked Example

Let's calculate the payment on a $25,000 auto loan at 6% for 5 years:

  • P = $25,000
  • r = 0.06 / 12 = 0.005
  • n = 5 x 12 = 60
  • M = 25000 x [0.005(1.005)^60] / [(1.005)^60 - 1]
  • M = 25000 x [0.005 x 1.3489] / [1.3489 - 1]
  • M = 25000 x 0.006745 / 0.3489
  • M = $483.32

Total paid: $483.32 x 60 = $28,999. Total interest: $3,999. The interest cost is about 16% of the original loan amount.

How Amortization Works

Amortization is the process of splitting each payment between interest and principal. Here's how it works month by month:

In month 1, the lender calculates interest on the full $25,000 balance: $25,000 x 0.005 = $125 in interest. Your payment is $483.32, so $358.32 goes to principal. The new balance is $24,641.68.

In month 2, interest is calculated on the new balance: $24,641.68 x 0.005 = $123.21. Now $360.11 goes to principal. Each month, the interest portion shrinks and the principal portion grows — until the final payment where nearly the entire amount goes to principal.

How Each Variable Affects Your Payment

Principal (Loan Amount)

The relationship is perfectly linear. Double the loan amount and you double the payment. Borrow $50,000 instead of $25,000 at the same rate and term, and your payment is exactly $966.64 instead of $483.32.

Interest Rate

Rate changes have a bigger impact on longer loans. On a $300,000 mortgage, each 0.25% increase in rate adds roughly $45-$50 to the monthly payment. Over 30 years, that 0.25% increase adds $16,000-$18,000 in total interest. On a 5-year auto loan, the same rate change adds only about $3-$4/month.

Term Length

Term length is where most borrowers make or lose thousands. Here's the same $30,000 loan at 7%:

TermMonthly PaymentTotal Interest
3 years$926$3,353
5 years$594$5,644
7 years$453$8,059
10 years$348$11,791

The 10-year term costs $8,438 more in interest than the 3-year term. The monthly payment drops by $578, but you pay for that "savings" three times over in extra interest.

Fixed-Rate vs. Variable-Rate Loans

Fixed-rate loans keep the same interest rate for the entire term. Your payment never changes. Variable-rate loans (also called adjustable-rate) start with a lower rate that adjusts periodically based on a benchmark rate like SOFR.

Variable rates can save money if you plan to pay off the loan quickly (before the rate adjusts). But they carry risk: when rates rise, so does your payment. Adjustable-rate mortgages (ARMs) in particular can increase by 1-2% per year after the initial fixed period, potentially adding hundreds to your monthly payment.

Why Lenders Front-Load Interest

Amortization is not a lender trick — it's simply how compound interest works on a declining balance. But the practical effect is significant: on a 30-year mortgage, you do not reach the point where more than half of each payment goes to principal until roughly year 17-21 (depending on rate). This means most of the total interest you pay in the first decade of a mortgage is the "cost of money" — the price of borrowing.

This front-loading is exactly why extra payments early in the loan are so impactful. A $200 extra payment in year 2 eliminates far more future interest than the same payment in year 25.

The Bottom Line

Loan payments are driven by three simple inputs: how much you borrow, what rate you pay, and how long you take to pay it back. The formula is the same whether it's a $5,000 personal loan or a $500,000 mortgage. Understanding amortization — how interest front-loads and why shorter terms save money — puts you in control of your borrowing decisions.

Use our free payment calculator to see your monthly payment, total interest, and amortization schedule for any loan scenario.

Frequently Asked Questions

What is the formula for calculating a loan payment?

The standard loan payment formula is M = P[r(1+r)^n] / [(1+r)^n - 1], where M is the monthly payment, P is the principal (loan amount), r is the monthly interest rate (annual rate divided by 12), and n is the total number of payments. For a $25,000 loan at 6% over 5 years: r = 0.005, n = 60, and M = $483.32. This formula works for any fixed-rate installment loan — mortgages, auto loans, personal loans, and student loans.

Why does most of my payment go to interest at first?

Because interest is calculated on the outstanding balance each month. Early in the loan, the balance is highest, so the interest charge is largest. On a $200,000 mortgage at 7%, the first month's interest is $1,167 out of a $1,331 payment — only $164 goes to principal. By month 300, only $300 goes to interest and $1,031 goes to principal. This front-loading of interest is why extra payments early in the loan save so much — they reduce the balance that all future interest is calculated on.

How does the interest rate affect my monthly payment?

The interest rate has a significant impact, especially on long-term loans. On a $300,000 30-year mortgage, each 1% increase in rate adds approximately $180-$200 to the monthly payment. At 5%, the payment is $1,610. At 6%, it's $1,799. At 7%, it's $1,996. Over 30 years, the difference between 5% and 7% is nearly $139,000 in additional interest paid. On shorter loans, the rate impact per percentage point is smaller in dollar terms but still significant as a percentage of the total cost.

What is an amortization schedule?

An amortization schedule is a table showing every payment over the life of a loan, broken down into how much goes to principal and how much goes to interest. It shows the remaining balance after each payment. Amortization schedules are useful for understanding when your loan crosses the 'halfway point' where more than half of each payment goes to principal (which happens surprisingly late — around year 20 on a 30-year mortgage at 7%). Our payment calculator generates a full amortization schedule for any loan.

Is it better to choose a shorter or longer loan term?

Shorter terms mean higher monthly payments but dramatically less total interest. A $200,000 loan at 6.5% costs $91,000 in total interest over 15 years versus $255,000 over 30 years — a difference of $164,000. However, the 15-year payment is $1,742 versus $1,264 for the 30-year. The best approach depends on your cash flow and goals. If the higher payment leaves you with no savings buffer, the longer term with voluntary extra payments gives you flexibility to scale back if money gets tight.

See the full picture before you borrow

Compare different loan amounts, rates, and terms to find the payment that fits your budget.

Calculate My Payment Free