How to Calculate Your Mortgage Payment: The Complete Guide

ByJere Salmisto· Founder, CalcFi
Published April 3, 2026· Updated May 28, 2026
Reviewed April 21, 2026 · Next review July 21, 2026 · methodology

Understanding how to calculate your mortgage payment is one of the most important financial skills you can learn. Whether you're a first-time homebuyer trying to figure out what you can afford or a homeowner considering refinancing, knowing the math behind your monthly payment puts you in control. In this guide, we'll break down the mortgage payment formula, walk through real examples, and show you how every variable — from interest rates to loan term — affects what you pay each month. You can also try our free mortgage payment calculator to run your own numbers instantly.

The Mortgage Payment Formula Explained

Your monthly mortgage payment for principal and interest is calculated using this formula:

M = P × [r(1 + r)n] / [(1 + r)n − 1]

Where:

  • M = Monthly payment (principal + interest)
  • P = Principal (the loan amount, not the home price)
  • r = Monthly interest rate (annual rate ÷ 12)
  • n = Total number of payments (years × 12)

This formula calculates only the principal and interest portion. Your actual monthly payment — often called PITI — also includes property taxes and homeowners insurance.

Step-by-Step Mortgage Payment Calculation

Let's calculate the monthly payment on a typical home purchase:

  • Home price: $400,000
  • Down payment: 20% ($80,000)
  • Loan amount (P): $320,000
  • Interest rate: 6.5% annual → 0.005417 monthly (r)
  • Loan term: 30 years → 360 payments (n)

Plugging into the formula: M = $320,000 × [0.005417(1.005417)360] / [(1.005417)360 − 1]

The result: $2,023 per monthfor principal and interest. Over 30 years, you'll pay $728,280 total — meaning $408,280 goes to interest alone. This is why understanding amortization matters.

What Is PITI? Understanding Your Full Mortgage Payment

Your lender quotes principal and interest, but your actual payment includes four components — known as PITI:

  • Principal: The portion that reduces your loan balance. In early years, this is a small fraction of your payment.
  • Interest: The cost of borrowing. In the first month of our example, $1,733 of the $2,023 payment goes to interest.
  • Taxes: Property taxes vary widely by location. The national median is about 1.1% of home value, or roughly $367/month on a $400,000 home.
  • Insurance: Homeowners insurance averages $150-$200/month. If your down payment is less than 20%, you also pay PMI ($100-$300/month).

For our $400,000 example, the full PITI payment is approximately $2,540-$2,590/month. Use our mortgage affordability calculator to see how this fits your budget.

How Interest Rates Affect Your Mortgage Payment

Interest rates have an enormous impact on your monthly payment and total cost. Here's how the same $320,000 loan changes across different rates:

Interest RateMonthly P&ITotal Interest (30yr)
5.0%$1,718$298,480
5.5%$1,817$334,120
6.0%$1,919$370,840
6.5%$2,023$408,280
7.0%$2,129$446,440
7.5%$2,238$485,680

Each 0.5% increase adds roughly $100-$110 to your monthly payment and $35,000-$40,000 in total interest. This is why rate shopping matters — even a 0.25% lower rate saves tens of thousands over the life of the loan.

15-Year vs 30-Year Mortgage: How Loan Term Changes Your Payment

The other major variable is your loan term. Here's how a $320,000 loan at 6.5% compares:

  • 30-year: $2,023/month — $408,280 total interest
  • 20-year: $2,393/month — $254,320 total interest
  • 15-year: $2,789/month — $182,020 total interest

Choosing a 15-year mortgage saves $226,260 in interest but requires $766 more per month. For many homebuyers, the sweet spot is a 30-year mortgage with voluntary extra payments — you get the flexibility of lower required payments while still accelerating payoff when your budget allows. Check our extra mortgage payment calculator to see the impact.

How Amortization Works

Mortgage payments are front-loaded with interest. In the first year of our $320,000 loan at 6.5%, here's the breakdown:

  • Total payments in year 1: $24,276
  • Interest paid: $20,692 (85%)
  • Principal paid: $3,584 (15%)

By year 15, the split is roughly 50/50. By year 25, about 75% goes to principal. This amortization schedule is why building equity is slow at first but accelerates over time. You can see the full breakdown with our mortgage payment calculator.

How Down Payment Size Affects Your Payment

A larger down payment reduces your loan amount and can eliminate PMI. On a $400,000 home:

  • 5% down ($20K): $380K loan → $2,402/mo P&I + ~$190/mo PMI = $2,592
  • 10% down ($40K): $360K loan → $2,276/mo P&I + ~$135/mo PMI = $2,411
  • 20% down ($80K): $320K loan → $2,023/mo P&I, no PMI = $2,023

The difference between 5% and 20% down is $569/month — or $6,828/year. However, saving an extra $60,000 for the larger down payment may take years. Use our down payment savings calculator to plan your timeline.

Tips to Lower Your Mortgage Payment

  1. Improve your credit score. A score above 760 qualifies you for the best rates. Even going from 680 to 740 can save 0.5% on your rate.
  2. Shop multiple lenders. Get at least 3-5 quotes. Rates can vary by 0.5% or more between lenders on the same day.
  3. Buy discount points. Paying 1% of the loan amount upfront can reduce your rate by 0.25%. Worth it if you plan to stay 5+ years.
  4. Choose a longer term. A 30-year term has lower payments than 15-year, giving you flexibility.
  5. Put more down. Every additional dollar down reduces your monthly payment and potentially eliminates PMI.
  6. Appeal your property tax assessment. High property taxes inflate your PITI. Many homeowners overpay because they never challenge the assessment.

Frequently Asked Questions About Mortgage Payments

What is the formula for calculating a mortgage payment?

The mortgage payment formula is M = P × [r(1+r)n] / [(1+r)n − 1], where M is the monthly payment, P is the loan principal, r is the monthly interest rate (annual rate divided by 12), and n is the total number of monthly payments. For a 30-year mortgage, n = 360.

How much is a mortgage payment on a $300,000 house?

For a $300,000 home with 20% down ($240,000 loan) at 6.5% interest over 30 years, the principal and interest payment is approximately $1,517/month. Adding property taxes (~$250/mo) and insurance (~$100/mo), total PITI is roughly $1,867/month. With less than 20% down, add PMI of $100-$200/month.

Does paying extra on my mortgage save money?

Yes, significantly. An extra $200/month on a $300,000 30-year mortgage at 6.5% saves approximately $82,000 in interest and pays off the loan 6 years early. Even one extra payment per year can save tens of thousands over the life of the loan. Use our extra mortgage payment calculator to see your specific savings.


Ready to run your own numbers? Try our free mortgage payment calculator — instant results, no signup required. You can also explore refinance savings, rent vs buy analysis, and mortgage affordability.