How to Calculate Mortgage Payments: A Step-by-Step Guide

· 7 min read

Buying a home is one of the biggest financial decisions you will ever make, and understanding your monthly mortgage payment is the first step toward making that decision with confidence. Whether you are pre-approved and comparing loan options or just starting to explore what you can afford, knowing exactly how lenders calculate your payment puts you in control.

In this guide, we will break down the standard mortgage payment formula, walk through real-world examples, and show you how to use our free calculator to get instant answers without doing any math yourself.

The Mortgage Payment Formula

Every fixed-rate mortgage payment is calculated using the same formula. It looks intimidating at first, but once you understand each variable it becomes straightforward.

M = P [ i(1 + i)n ] / [ (1 + i)n - 1 ]

Here is what each variable means:

The formula accounts for how interest compounds over the life of the loan. In the early years, most of your payment goes toward interest. Over time, the balance shifts so that more of each payment reduces your principal.

Worked Example: $300,000 Loan at 6.5%

Let us calculate a monthly payment step by step for a common scenario: a $300,000 loan amount at 6.5% annual interest over 30 years.

Step 1: Find the Monthly Interest Rate

Divide the annual rate by 12:

i = 6.5% / 12 = 0.065 / 12 = 0.005417

Step 2: Find the Total Number of Payments

Multiply the loan term in years by 12:

n = 30 x 12 = 360

Step 3: Apply the Formula

Mortgage payment calculation for $300,000 at 6.5% over 30 years
ComponentValue
Loan principal (P)$300,000
Monthly interest rate (i)0.005417
Total payments (n)360
(1 + i)n6.9916
Numerator: i x (1 + i)n0.03786
Denominator: (1 + i)n - 15.9916
Monthly payment (M)$1,896

Your monthly principal and interest payment would be approximately $1,896. Remember, this is only the P&I portion. Your total housing payment will be higher once you add property taxes, homeowners insurance, and any PMI or HOA fees.

How Interest Is Split Over Time

One of the most important things to understand about mortgage payments is how the split between principal and interest changes every month. Here is how it looks for the first year of the $300,000 loan at 6.5%:

Principal vs. interest split in year one
MonthPaymentPrincipalInterestRemaining Balance
1$1,896$271$1,625$299,729
6$1,896$278$1,618$298,598
12$1,896$287$1,609$297,176

In month one, only $271 of your $1,896 payment goes toward reducing your loan balance. The remaining $1,625 is pure interest. This is why making extra payments toward principal in the early years can save you tens of thousands of dollars over the life of the loan.

By month 12, the principal portion has grown slightly to $287. The shift is slow at first, but it accelerates over time. By year 15, roughly half of each payment goes to principal. By year 25, the vast majority of your payment reduces your balance.

Factors That Change Your Payment

The formula is fixed, but the inputs vary. Here are the main factors that determine how much you pay each month:

Using Our Calculator Instead

While the formula is useful for understanding how payments work, you do not need to calculate it by hand. Our mortgage calculator does the math instantly and also factors in property taxes, homeowners insurance, PMI, and HOA fees to give you a complete monthly payment estimate.

Simply enter your home price, down payment percentage, interest rate, and loan term. The calculator shows your total monthly payment, a full amortization schedule, and the total interest you will pay over the life of the loan. You can also adjust extra payments to see how paying even $50 or $100 more per month cuts years off your mortgage.

Frequently Asked Questions

What is the formula for calculating mortgage payments?

The standard mortgage payment formula is M = P [ i(1 + i)n ] / [ (1 + i)n - 1 ], where M is the monthly payment, P is the loan principal, i is the monthly interest rate (annual rate divided by 12), and n is the total number of monthly payments.

How much of my first mortgage payment goes to interest?

In the early years of a 30-year mortgage, roughly 70% to 80% of each payment goes toward interest. For example, on a $300,000 loan at 6.5%, about $1,625 of the $1,896 monthly payment goes to interest in the first month.

Does the mortgage payment formula include taxes and insurance?

No. The standard formula only calculates principal and interest (P&I). Your total monthly housing payment, known as PITI, also includes property taxes, homeowners insurance, and any HOA dues or PMI. You need to add those separately.