Ultimate Calculator
Finance guide

How mortgage payments are calculated

See the amortization formula behind a fixed-rate mortgage payment and how each payment splits between principal and interest over time.

A fixed-rate mortgage payment is calculated with the amortization formula, which sets one equal monthly payment that covers the interest due each month and repays the whole loan by the end of the term. Early payments are mostly interest, and later payments are mostly principal.

The amortization formula

M = P × r × (1 + r)^n ÷ ((1 + r)^n − 1)
  • M is the monthly payment for principal and interest.
  • P is the loan amount (the price minus your down payment).
  • r is the monthly interest rate: the annual rate divided by 12, as a decimal.
  • n is the total number of monthly payments: years × 12.

The mortgage calculator applies this formula and builds the full payment schedule for you. The same formula works for car loans and personal loans, which you can check with the loan payment calculator.

Worked example 1: $300,000 over 30 years at 6%

  1. Monthly rate: r = 0.06 ÷ 12 = 0.005
  2. Number of payments: n = 30 × 12 = 360
  3. (1 + r)^n = 1.005^360 ≈ 6.022575
  4. Numerator: 300,000 × 0.005 × 6.022575 ≈ 9,033.86
  5. Denominator: 6.022575 − 1 = 5.022575
  6. M = 9,033.86 ÷ 5.022575 ≈ $1,798.65 per month

Over 360 payments you pay about $647,515 in total. Of that, $300,000 is principal and roughly $347,515 is interest.

Worked example 2: $200,000 over 15 years at 5%

  1. Monthly rate: r = 0.05 ÷ 12 ≈ 0.0041667
  2. Number of payments: n = 15 × 12 = 180
  3. (1 + r)^n ≈ 2.113704
  4. M = 200,000 × 0.0041667 × 2.113704 ÷ 1.113704 ≈ $1,581.59 per month

Total interest over the term is about $84,686.

How each payment is split

Every month, the lender charges interest on the balance still owed. Whatever is left of the payment after interest reduces the principal.

Interest this month = balance × r
Principal this month = M − interest

For the $300,000 loan in example 1, the first month's interest is 300,000 × 0.005 = $1,500. The payment is $1,798.65, so only $298.65 goes to principal. The new balance is $299,701.35, next month's interest is slightly lower at $1,498.51, and the principal share rises to $300.14. That small shift repeats every month.

Payment numberInterestPrincipalBalance after
1$1,500$299$299,701
60 (year 5)$1,398$401$279,163
120 (year 10)$1,258$541$251,057
180 (year 15)$1,069$729$213,147
240 (year 20)$815$984$162,011
300 (year 25)$472$1,327$93,036

Figures are rounded to the nearest dollar. Notice that halfway through the term, at payment 180, about 71% of the loan is still owed. Principal does not overtake interest in the monthly split until around year 19.

Why the term matters so much

Take the same $300,000 at 6% over 15 years instead of 30. The payment rises to about $2,531.57, but total interest falls to about $155,683, less than half of the 30-year figure. A shorter term means a higher monthly payment and far less interest, because the balance shrinks faster and has less time to accrue interest.

Extra payments work the same way. Any amount paid beyond the scheduled payment goes straight to principal, which lowers every future interest charge.

What the formula leaves out

The formula gives principal and interest only. A real monthly housing bill often also includes:

  • Property tax
  • Homeowners insurance
  • Mortgage insurance, if the down payment is small
  • Homeowner association or service fees

These vary by location and lender, so add them separately when you budget.

Common mistakes

  • Using the annual rate in the formula. The rate must be monthly. For 6%, use 0.005, not 0.06.
  • Using years for n. A 30-year loan has 360 payments.
  • Using the house price as P. P is the amount borrowed, after the down payment.
  • Assuming half the term means half the loan is repaid. The schedule is back-loaded, as the table shows.
  • Applying it to adjustable-rate loans. The formula assumes the rate never changes. When a rate resets, the payment is recalculated from the remaining balance and remaining term.

This article explains the arithmetic only. Loan terms and costs differ between lenders, so compare actual offers before making a decision.

Common questions

What is the formula for a monthly mortgage payment?

M = P × r × (1 + r)^n ÷ ((1 + r)^n − 1), where P is the loan amount, r is the monthly interest rate as a decimal, and n is the total number of monthly payments.

Why is so much of an early mortgage payment interest?

Interest is charged on the outstanding balance, which is largest at the start. On a $300,000 loan at 6%, the first month's interest is $1,500 of a $1,798.65 payment.

Does the formula include taxes and insurance?

No. It covers principal and interest only. Property tax, insurance and any fees are added on top and vary by location and lender.