Skip to main content

How Your Monthly Mortgage Payment Is Calculated

The Basic Formula Behind Your Monthly Payment

Your monthly mortgage payment is calculated using a fixed formula that divides your loan into equal pieces over time. The formula takes three pieces of information—how much you borrowed, the interest rate, and how many months you have to repay it—and produces one number: what you owe each month.

The formula is: M = P [ r(1 + r)^n ] / [ (1 + r)^n – 1 ]. In this formula, M is your monthly payment, P is the principal (the amount you borrowed), r is your monthly interest rate (your annual rate divided by 12), and n is the total number of payments (your loan term in years multiplied by 12). Every mortgage payment you receive from your lender is built from this same calculation.

This formula ensures that by the time you make your final payment, you will have paid back both the money you borrowed and the interest the lender charged. The payment stays the same every month for a fixed-rate mortgage, which is why you can count on the same amount due on the same day each month.

Key Takeaways

  • Your monthly payment depends on three things: how much you borrowed, your interest rate, and how many years you have to repay the loan.
  • The formula divides your total debt (principal plus interest) into equal monthly chunks so the payment never changes on a fixed-rate mortgage.
  • A higher interest rate or shorter loan term raises your monthly payment; a lower rate or longer term lowers it.
  • Your actual payment statement shows principal and interest separately, so you can see how much of each payment goes toward interest versus building equity.
  • Adjustable-rate mortgages use the same formula, but the interest rate changes on a set schedule, which means your payment will change too.

How Principal, Interest Rate, and Loan Term Work Together

The three inputs to the formula have different effects on your payment. If you borrow $300,000 at 6 percent interest over 30 years, your monthly payment (before taxes and insurance) will be different than if you borrow the same amount at 5 percent, or if you choose a 15-year term instead.

The principal is the amount you actually borrowed. A larger loan means a larger payment. If you put down 20 percent on a $400,000 house, your principal is $320,000. If you put down 10 percent, your principal is $360,000, and your monthly payment will be higher.

The interest rate is what the lender charges you for borrowing the money. Interest rates vary based on market conditions, your credit score, your down payment size, and the type of loan. A rate of 5 percent produces a lower monthly payment than a rate of 7 percent on the same loan. Over the life of the loan, the difference in total interest paid can be tens of thousands of dollars.

The loan term is how many years you have to repay the loan. A 30-year mortgage spreads your payments over 360 months, making each payment smaller. A 15-year mortgage spreads the same principal over 180 months, making each payment larger. You pay less total interest with a 15-year loan, but your monthly payment is higher.

Why Your Payment Statement Shows Principal and Interest Separately

When you receive your mortgage statement, it breaks down your payment into two parts: principal and interest. Early in the loan, most of your payment goes toward interest. Later, more of it goes toward principal. Both parts are calculated from the same monthly payment amount, but the split changes every month.

This happens because interest is calculated on the balance you still owe. In month one, you owe the full principal, so the interest portion is large. The remaining money from your payment goes to principal, reducing what you owe. In month two, you owe slightly less, so the interest portion is slightly smaller, and more of your payment can go to principal. This pattern continues for the entire loan.

For example, on a $300,000 loan at 6 percent over 30 years, your first payment might be roughly $1,799. Of that, about $1,500 goes to interest and $299 goes to principal. By payment 180 (halfway through), the split might be $750 to interest and $1,049 to principal. By the final payment, almost all of it goes to principal because you owe very little.

How Changes to Rate or Term Affect Your Payment

Small changes in interest rate create large changes in your monthly payment over time. A difference of one percentage point on a $300,000 loan over 30 years changes your payment by roughly $200 per month. Over 30 years, that one percentage point costs you tens of thousands of dollars in extra interest.

Shortening your loan term also raises your monthly payment, but it saves you money overall. A 15-year mortgage on the same $300,000 at 6 percent costs roughly $2,000 per month instead of $1,800, but you pay the loan off in half the time and pay far less total interest. The trade-off is whether you can afford the higher monthly payment.

Lenders often show you payment comparisons when you are shopping for a mortgage. These comparisons use the same formula with different inputs so you can see the real cost of choosing a higher rate, a longer term, or a larger loan amount.

Adjustable-Rate Mortgages and How the Formula Changes

An adjustable-rate mortgage (ARM) uses the same payment formula, but the interest rate is not fixed for the entire loan. Instead, it starts at a lower rate for a set period (often 3, 5, 7, or 10 years), then adjusts up or down based on market conditions at regular intervals.

During the fixed period, your payment is calculated and stays the same, just like a fixed-rate mortgage. When the rate adjusts, the lender recalculates your payment using the new rate, the remaining principal, and the remaining loan term. Your new payment may be higher or lower depending on whether rates have risen or fallen.

Some ARMs have rate caps that limit how much the rate can increase at each adjustment and over the life of the loan. Others do not. If you are considering an ARM, the payment formula matters most after the fixed period ends, because that is when your payment becomes unpredictable.

What the Formula Does Not Include

The basic mortgage payment formula calculates only principal and interest. Your actual monthly payment to your lender usually includes other costs: property taxes, homeowners insurance, and possibly mortgage insurance if you put down less than 20 percent.

These costs are often bundled together in what lenders call a PITI payment (Principal, Interest, Taxes, Insurance). The formula we described produces only the PI part. Your lender will add the T and I based on your location, home value, and insurance needs. These amounts can change year to year as tax assessments and insurance rates change.

If you have an escrow account, your lender collects money for taxes and insurance each month along with your principal and interest payment, then pays those bills on your behalf. If you do not have an escrow account, you pay taxes and insurance separately.

How to Use the Formula Yourself

You do not need to do the math by hand. Most mortgage lenders provide a calculator on their website where you enter the loan amount, interest rate, and term, and it shows you the monthly payment. Many banks and financial websites also offer free calculators.

If you want to understand what happens when you change one number, a calculator lets you experiment. Try raising the interest rate by half a percent and see how the payment changes. Try shortening the term from 30 years to 25 years. Try increasing the down payment so the principal is smaller. Each change shows you the real cost of that choice.

When you are comparing loan offers from different lenders, the formula is the same, but the inputs are different. One lender might offer 6 percent for 30 years; another might offer 5.9 percent for 30 years. The formula produces different payments, and you can see exactly how much you save or spend with each choice.

Frequently Asked Questions

Why does my payment stay the same every month if I am paying off the loan?

The formula spreads your total debt (principal plus all the interest) into equal monthly pieces before you start paying. Each payment is the same size, but the split between principal and interest changes. Early payments are mostly interest; later payments are mostly principal. By the final payment, you will have paid back everything.

What happens to the formula if I make extra payments toward principal?

Extra payments reduce the principal faster, which means you owe less interest in future months and you pay off the loan sooner. The formula itself does not change, but your loan term shortens. Your regular monthly payment stays the same unless you formally refinance or modify the loan.

Does the formula work the same way for a 15-year mortgage as a 30-year mortgage?

Yes, the formula is identical. The only difference is the input: a 15-year mortgage uses 180 payments instead of 360. This produces a higher monthly payment but much lower total interest. The formula divides your debt into fewer, larger pieces.

Can I calculate my payment if I do not know my exact interest rate yet?

Yes. Lenders often show you estimated payments based on current market rates or the rate you have been quoted. You can use any rate to see how the payment changes. Once your rate is locked in, the lender will give you the exact payment amount based on the final rate and loan terms.

Why do two mortgages with the same payment amount have different total costs?

Because the formula produces the same monthly payment from different combinations of rate, term, and principal. A 30-year loan at 5 percent and a 15-year loan at 4 percent might have similar monthly payments, but you pay far less total interest on the 15-year loan because it is shorter. Always compare total interest paid, not just the monthly payment.