The Basic Formula for Monthly Mortgage Payment

Your monthly mortgage payment is calculated using a standard formula that accounts for the loan amount, interest rate, and number of months you have to repay it. 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 (annual rate divided by 12), and n is the total number of monthly payments (loan term in years multiplied by 12). This calculation assumes a fixed-rate mortgage where your interest rate stays the same for the entire loan.

Most people do not calculate this by hand. Mortgage calculators—available free on lender websites, real estate sites, and financial institutions—plug in your numbers and return the result instantly. But understanding what goes into the calculation helps you see why small changes in interest rate or loan term create large differences in what you pay 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 pay it back.
  • A higher interest rate or shorter loan term raises your monthly payment; a lower rate or longer term lowers it.
  • Your actual monthly payment includes principal and interest, but your lender may also collect property taxes, homeowners insurance, and mortgage insurance in the same payment.
  • Online mortgage calculators do the math for you, but you need your loan amount, interest rate, and loan term (usually 15, 20, or 30 years) to use them.
  • Changing your down payment changes your loan amount, which changes your monthly payment dollar-for-dollar.

What Numbers You Need to Gather

Before you calculate, collect four pieces of information. First, the loan amount—the total dollars you are borrowing after your down payment. If you are buying a $300,000 house and putting down $60,000, your loan amount is $240,000. Second, your interest rate, which your lender quotes as an annual percentage (for example, 6.5%). Third, your loan term in years—most mortgages are 15, 20, or 30 years, though other terms exist. Fourth, whether you are calculating principal and interest only or the full monthly payment including taxes, insurance, and mortgage insurance.

Your interest rate depends on market conditions, your credit score, your down payment size, and the type of loan. A lender will give you a rate quote before you commit. If you are comparing offers, make sure you are looking at the same loan term and down payment percentage, because those change the rate.

Your loan term is your choice within what the lender offers. A 30-year mortgage has a lower monthly payment but you pay more interest over time. A 15-year mortgage has a higher monthly payment but you build equity faster and pay less total interest. Some borrowers choose 20 years as a middle ground.

How Interest Rate and Loan Term Affect Your Payment

Small changes in interest rate create surprisingly large changes in your monthly payment. On a $300,000 loan over 30 years, the difference between 6% and 7% interest is roughly $200 per month—$1,799 versus $1,996. Over 30 years, that $200 difference adds up to $72,000 in extra payments.

Loan term works the opposite direction. Shortening the term raises your monthly payment but lowers your total interest paid. A $300,000 loan at 6% costs $1,799 per month over 30 years (total paid: $647,515) but $1,999 per month over 20 years (total paid: $479,933). You pay $200 more each month but save $167,582 in interest.

This is why shopping for a lower interest rate matters so much. A 0.5% rate reduction saves you tens of thousands of dollars over the life of the loan. It is also why choosing between a 15-year and 30-year mortgage is a real financial decision, not just a matter of preference—it changes both what you pay monthly and what you pay in total.

Principal and Interest Versus Your Full Monthly Payment

The formula above calculates principal and interest only. This is the portion that goes toward paying down the loan and the lender's profit. But your actual monthly mortgage payment often includes three other costs bundled together by your lender: property taxes, homeowners insurance, and mortgage insurance (if your down payment was less than 20%).

These additional costs vary by location and situation. Property taxes depend on your county and home value. Homeowners insurance depends on the home's replacement cost and your location (coastal areas and high-crime areas pay more). Mortgage insurance depends on your down payment percentage and credit score. Together, these can add $300 to $1,000 or more to your monthly payment on top of principal and interest.

When you use a mortgage calculator, look for one that lets you enter these costs separately so you can see the breakdown. Some calculators call this the "PITI" payment (Principal, Interest, Taxes, Insurance). Knowing the full number matters when you are deciding whether you can afford the house.

Using an Online Mortgage Calculator

Open a mortgage calculator on your lender's website, a real estate site like Zillow or Redfin, or a financial site like Bankrate. Enter your loan amount, interest rate, and loan term in years. The calculator will return your monthly principal-and-interest payment instantly.

Most calculators also have fields for property taxes (enter your annual tax bill or estimate based on the home's value), homeowners insurance (get a quote from an insurer), and mortgage insurance (the calculator can estimate this based on your down payment). Some calculators let you enter your down payment percentage instead of the loan amount, and they will calculate the loan amount for you.

Run the calculation several times with different numbers to see the impact. Try a 15-year term versus 30 years. Try a 0.5% higher interest rate and a 0.5% lower rate. This shows you concretely what each choice costs you monthly. Many calculators also show you an amortization schedule—a month-by-month breakdown of how much of each payment goes to principal versus interest. Early in the loan, most of your payment is interest; later, most is principal.

How Down Payment Size Changes Your Monthly Payment

Your down payment directly determines your loan amount. A larger down payment means you borrow less, which lowers your monthly payment. On a $300,000 house: a 10% down payment ($30,000) means a $270,000 loan; a 20% down payment ($60,000) means a $240,000 loan. At 6% interest over 30 years, that difference is roughly $180 per month.

Down payment size also affects your interest rate and whether you pay mortgage insurance. Lenders offer lower rates to borrowers who put down 20% or more, because the lender's risk is lower. Borrowers who put down less than 20% must pay private mortgage insurance (PMI), which protects the lender if you default. PMI typically costs 0.5% to 1% of your loan amount per year, added to your monthly payment. Once you have paid down the loan to 80% of the home's original value, you can request to have PMI removed.

This means a smaller down payment costs you twice: a higher monthly payment due to the larger loan, plus PMI on top of that. But a smaller down payment also means you keep more cash on hand for emergencies or other needs, which is a real trade-off to consider.

What Happens When Interest Rates Change

If you are shopping for a mortgage, interest rates change daily based on market conditions. A rate quote from your lender is usually good for 30 to 60 days—after that, rates may have moved. When rates rise, your monthly payment rises; when rates fall, your monthly payment falls. This is why timing matters when you lock in a rate.

If you already have a mortgage with a fixed rate, your payment never changes (unless your property taxes or insurance costs rise, which affects the tax and insurance portion of your payment). If you have an adjustable-rate mortgage (ARM), your interest rate can change after an initial fixed period, which means your monthly payment can jump. ARMs are less common now than they were before 2008, but they still exist.

If rates drop significantly after you lock in your mortgage, you can refinance—take out a new loan at the lower rate to pay off the old one. Refinancing has closing costs, so it only makes sense if the rate drop is large enough that you will save money over time. A mortgage calculator can help you figure out the break-even point.

Frequently Asked Questions

What is the difference between a fixed-rate and adjustable-rate mortgage?

A fixed-rate mortgage has the same interest rate for the entire loan term, so your principal-and-interest payment never changes. An adjustable-rate mortgage (ARM) has a fixed rate for an initial period (often 3, 5, 7, or 10 years), then the rate adjusts annually or semi-annually based on market conditions. After the initial period, your payment can rise or fall. Fixed-rate mortgages are more predictable; ARMs often start with a lower rate but carry the risk that payments will increase later.

Can I pay off my mortgage early without a penalty?

Most fixed-rate mortgages allow you to pay extra toward principal without penalty. Some adjustable-rate mortgages and certain loan products do have prepayment penalties, so check your loan documents or ask your lender. Paying extra principal reduces the total interest you pay and shortens your loan term. Even small extra payments add up over time.

How much house can I afford based on my monthly payment?

Lenders typically use two ratios: your housing payment should not exceed 28% of your gross monthly income, and your total debt payments (including car loans, credit cards, and student loans) should not exceed 36% of gross income. If you earn $5,000 per month, a 28% ratio means your housing payment should not exceed $1,400. This is a guideline, not a rule—some lenders are stricter, some more flexible. Your actual affordability also depends on your savings, job stability, and other financial obligations.

What does amortization mean?

Amortization is the process of paying down a loan over time through regular monthly payments. An amortization schedule shows how much of each payment goes to principal and how much to interest. Early in the loan, most of your payment is interest; as you pay down the principal, more of each payment goes toward principal. By the end of the loan, almost all of your payment is principal.

Does my credit score affect my mortgage payment?

Your credit score does not change the formula for calculating your payment, but it affects the interest rate your lender offers you. Borrowers with higher credit scores typically receive lower interest rates, which lowers the monthly payment. The difference between a 740 credit score and a 620 credit score can be 0.5% to 1% in interest rate, which translates to $100 to $300 per month on a typical loan.