October 25, 2026 · Finance

How to Calculate Your Monthly Mortgage Payment (Step-by-Step)

Understand the math behind your mortgage payment and make better decisions.

Buying a home is one of the biggest financial decisions most people will ever make. And yet, many buyers sign their mortgage papers without fully understanding how their monthly payment was calculated. That number — the amount you pay every month for 15 or 30 years — is not arbitrary. It comes from a precise formula that takes three things into account: how much you borrow, the interest rate, and how long you take to pay it back.

In this guide, I will walk you through the exact formula lenders use, show you a real example with numbers, and explain how small changes in your down payment or interest rate can save (or cost) you tens of thousands of dollars over the life of the loan. By the end, you will have a clear picture of where your money goes each month.

The Mortgage Payment Formula

For a fixed-rate mortgage, the monthly payment is calculated using this formula:

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

Where:

At first glance, this formula can look intimidating. But when you break it down, it simply means: your payment must be large enough to cover the interest for that month, plus enough principal to pay off the loan by the end of the term. If you only paid interest, you would never own the home. If you paid only principal, the lender would not make money. The formula balances both.

A Real Example: $350,000 Home with 20% Down

Let's say you buy a $350,000 home and put down 20% ($70,000). That means you borrow $280,000. Your interest rate is 6.5% annually, and you choose a 30-year term. Here is how the numbers work out:

Plugging these into the formula, your monthly payment comes out to approximately $1,770. That is principal and interest only. Over 30 years, you will have paid about $637,000 in total — meaning roughly $357,000 went to interest alone. That is more than the original loan amount. This is why the interest rate matters so much.

If you are curious how your own numbers would look, you can try our free Mortgage Calculator to see the result instantly.

How Your Down Payment Changes Everything

A larger down payment reduces the principal you borrow, which lowers your monthly payment and the total interest you pay. But there is another benefit: if your down payment is at least 20%, you usually avoid private mortgage insurance (PMI). PMI is an extra monthly cost that protects the lender, not you, and it can add hundreds of dollars to your payment each month.

For example, if you put down only 10% on that same $350,000 home, you would borrow $315,000. At the same 6.5% rate over 30 years, your monthly payment would rise to about $1,991 — roughly $221 more per month. Over 30 years, that difference adds up to nearly $80,000. Saving for a larger down payment is not always easy, but the long-term savings are substantial.

How the Loan Term Affects Your Payment

A 15-year mortgage has higher monthly payments than a 30-year mortgage, but you pay far less interest overall. Using the same $280,000 loan at 6.5%, a 15-year term would mean a monthly payment of about $2,440 — significantly higher than the 30-year payment of $1,770. However, the total interest paid over 15 years would be roughly $159,000, compared to $357,000 over 30 years. You pay more each month, but you save nearly $200,000 in interest.

The choice between 15 and 30 years depends on your budget and goals. A 30-year loan offers lower monthly payments and more cash flow, while a 15-year loan builds equity faster and costs less overall.

What This Formula Does Not Include

It is important to understand that the mortgage formula only calculates principal and interest. Your actual monthly payment will likely be higher because it may also include:

When you see a mortgage quote, ask whether the number includes these costs. A payment that looks affordable at first glance may be higher once taxes and insurance are added.

Frequently Asked Questions

Does a lower interest rate always mean a lower payment?

Yes, all else being equal. Even a small difference in rate can change your payment significantly over 30 years. For example, dropping from 7% to 6.5% on a $280,000 loan saves roughly $90 per month — over $32,000 across the loan term.

Can I pay off my mortgage faster?

Yes. Making extra payments toward the principal reduces your balance faster and lowers total interest. Even an extra $100 per month can shave years off a 30-year loan. Use our Amortization Calculator to see how extra payments affect your schedule.

Is a 30-year mortgage always worse than a 15-year?

Not necessarily. A 30-year loan offers lower monthly payments and more flexibility. If you invest the difference or need the cash flow, a 30-year loan can make sense. The "better" choice depends on your personal financial situation.

Final Thoughts

Understanding how your mortgage payment is calculated gives you power as a buyer. You can see exactly how your down payment, interest rate, and loan term interact — and you can make decisions based on numbers rather than guesses. Before you sign anything, run the numbers yourself. A few minutes with a calculator can save you tens of thousands of dollars over the life of your loan.

Try our free Mortgage Calculator to see how different scenarios affect your payment. It runs entirely in your browser, so your numbers stay private.