Home › Guides › How to Calculate a Mortgage Payment

How to Calculate a Mortgage Payment (Formula and Worked Example)

Quick answer: a fixed-rate mortgage payment is M = P × r × (1 + r)n ÷ ((1 + r)n − 1). For a 320,000.00 loan at 6.5% over 30 years, principal and interest come to 2,022.62 a month.

By FormatVolt · Updated November 14, 2026

A mortgage quote can feel like a black box, yet the monthly payment on a standard fixed-rate loan comes from one short formula. Knowing how it works helps you compare offers, see why a shorter term costs more each month but less overall, and check a lender's figures. This guide walks through the calculation with real numbers.

The three inputs you need

The formula

M = P × r × (1 + r)n ÷ ((1 + r)n − 1)

M is the monthly payment of principal and interest. If the interest rate is 0%, the formula does not apply and the payment is simply P ÷ n.

Step-by-step example

  1. Loan amount: P = 320,000.00.
  2. Monthly rate: r = 6.5 ÷ 12 ÷ 100 = 0.005417.
  3. Payments: n = 30 × 12 = 360.
  4. Growth factor: (1 + r)n = 6.9918.
  5. Payment: M = 320,000.00 × 0.005417 × 6.9918 ÷ (6.9918 − 1) = 2,022.62 per month.

Over 360 payments you would pay about 728,142.36 in total, of which 408,142.36 is interest.

Where the first payment goes

Interest is charged on the balance you still owe. In month one the balance is the full 320,000.00, so the interest part is 320,000.00 × 0.005417 = 1,733.33 and only 289.28 reduces the loan. The next month the balance is slightly lower, so a little less goes to interest and a little more to principal. This is why early payments feel like they barely touch the balance, and why extra payments made early save the most interest.

How the term changes the payment

Using the same 320,000.00 loan at 6.5%:

TermMonthly paymentTotal interest
15 years2,787.54181,757.84
20 years2,385.83252,600.17
30 years2,022.62408,142.36

A shorter term raises the monthly payment but cuts the total interest by a large amount, because the balance falls faster. A longer term does the opposite: it is easier on the monthly budget but costs more overall.

What the formula leaves out

Skip the maths with the calculator

You can run all of this instantly. Enter the home price, down payment, rate and term in our Mortgage Calculator to get the full monthly payment with tax, insurance and fees, plus a yearly schedule. For loans without property costs, such as a car or personal loan, use the Loan EMI Calculator.

This guide is for general information and is not financial advice. Lenders may calculate payments slightly differently, so confirm figures with your lender.

Frequently asked 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 and n is the number of monthly payments.

Why is most of my early payment interest?

Interest is charged on the remaining balance, which is highest at the start. As the balance falls, the interest part of each payment shrinks and the principal part grows.

Does the payment include property tax and insurance?

The formula gives principal and interest only. Many lenders collect property tax and home insurance through the monthly payment as well, so the amount you actually pay can be higher.

Is my lender's figure going to match this calculation?

It should be close for a fixed-rate loan, but rounding, compounding rules and fees can make small differences. Always confirm the exact figure with your lender.

Related tools

Last updated: November 14, 2026