The basic formula and what each number means

Your monthly mortgage payment is calculated using a formula that takes three pieces of information: the loan amount you borrowed, the interest rate your lender set, and how many months you have to repay it. The formula is called an amortization calculation, and it produces a single number that covers principal (the money you borrowed) and interest (what the lender charges you for lending it).

The formula itself is: M = P [ r(1 + r)^n ] / [ (1 + r)^n – 1 ]. In this formula, M is your monthly payment, P is the principal (loan amount), r is your monthly interest rate (annual rate divided by 12), and n is the total number of payments (years multiplied by 12). You do not need to memorize this—calculators and lenders do the work—but understanding what goes into it helps you see why your payment is what it is.

Key Takeaways

  • Your monthly payment depends on three numbers: how much you borrowed, your interest rate, and how many years you have to repay it.
  • A higher interest rate or shorter loan term raises your monthly payment; a lower rate or longer term lowers it.
  • Your actual monthly bill may be higher than the calculated payment because it often includes property taxes, homeowners insurance, and mortgage insurance.
  • Online mortgage calculators let you plug in your numbers and see the result when ready without doing the math by hand.
  • The payment stays the same every month on a fixed-rate mortgage, but on an adjustable-rate mortgage it can change when the interest rate resets.

How interest rate and loan term change your payment

The interest rate has the largest effect on your monthly payment. A difference of even 0.5% can add or subtract hundreds of dollars per month. If you borrow $300,000 at 6% over 30 years, your payment is roughly $1,799. At 6.5%, it rises to about $1,896. At 5.5%, it drops to about $1,703. The higher the rate, the more of each payment goes toward interest rather than paying down what you owe.

The loan term—how many years you have to repay—works the opposite way. A shorter term means higher monthly payments but less interest paid overall. A 15-year mortgage on $300,000 at 6% costs about $2,332 per month, compared to $1,799 for a 30-year loan at the same rate. Over the life of the loan, you pay roughly $120,000 less in interest with the 15-year term, but your monthly budget has to absorb the higher payment.

The principal amount is straightforward: the more you borrow, the higher your payment. Borrowing $400,000 instead of $300,000 at the same rate and term increases your payment by one-third.

What gets added to your base payment

The number your lender calculates using the formula above is only the principal and interest portion. Your actual monthly bill—called a PITI payment—usually includes four things: Principal, Interest, Taxes, and Insurance. Property taxes and homeowners insurance are often rolled into your mortgage payment and held in an escrow account by your lender, who pays them on your behalf when they are due.

If you put down less than 20% of the home's purchase price, your lender will also require private mortgage insurance (PMI), which protects the lender if you stop paying. PMI is added to your monthly payment and typically costs between 0.3% and 1.5% of the loan amount per year, divided into 12 monthly payments. This cost disappears once you have paid down the loan to 80% of the home's original value, though you may need to request its removal.

Your lender should provide a Loan Estimate within three days of your process. This document shows your base principal-and-interest payment, plus estimates for taxes, insurance, and PMI. The total shown on the Loan Estimate is closer to what you will actually pay each month than the principal-and-interest number alone.

Using a calculator versus doing the math yourself

Online mortgage calculators—available from most lenders, from sites like Bankrate or NerdWallet, and from the Consumer Financial Protection Bureau—let you enter your loan amount, interest rate, and term, and they return your monthly payment when ready. These calculators are free and require no account. They are the fastest way to see how changes in rate or term affect your payment, and they are accurate enough for planning purposes.

Doing the calculation by hand using the amortization formula is possible but tedious and error-prone without a spreadsheet or financial calculator. If you want to understand the math, a spreadsheet like Excel or Google Sheets can be set up to do it, but for a one-time answer, a web calculator saves time. If you are comparing multiple scenarios—different rates, different down payments, different loan terms—a calculator lets you run those comparisons in minutes.

How fixed-rate and adjustable-rate mortgages differ

On a fixed-rate mortgage, your interest rate is locked in for the entire loan term—15 years, 30 years, or whatever you agreed to. Your monthly principal-and-interest payment never changes. This makes budgeting predictable. The rate you see when you lock in is the rate you pay for the life of the loan.

On an adjustable-rate mortgage (ARM), your interest rate is fixed for an initial period—often 3, 5, 7, or 10 years—and then it resets periodically (usually once a year) based on market conditions. When the rate resets, your monthly payment recalculates using the new rate. An ARM typically starts with a lower rate than a fixed mortgage, which makes the initial payment smaller. But when the rate adjusts upward, your payment rises, sometimes significantly. ARMs are riskier because you cannot predict what your payment will be after the initial period ends.

Most borrowers choose fixed-rate mortgages because the payment is predictable and does not change. ARMs are sometimes used by borrowers who plan to sell or refinance before the rate resets, or who expect their income to rise enough to absorb a higher payment later.

What happens to your payment over time

On a fixed-rate mortgage, your monthly payment amount stays the same, but the breakdown of that payment changes. Early in the loan, most of your payment goes toward interest. As you pay down the principal, more of each payment goes toward principal and less toward interest. After 15 years of a 30-year mortgage, you may have paid only half the principal but paid most of the interest.

This is why paying extra toward principal early in the loan saves you significant interest. An extra $100 per month on a $300,000 mortgage at 6% over 30 years can cut several years off the loan and save tens of thousands in interest. Your lender should allow you to make extra payments without penalty—check your loan documents to confirm.

If you refinance—taking out a new loan to pay off the old one—your payment recalculates based on the new rate, the remaining balance, and a new term. Refinancing can lower your payment if rates have dropped, or it can shorten your payoff time if you choose a shorter term.

Common mistakes when calculating or comparing payments

The most common mistake is comparing only the principal-and-interest payment without including taxes, insurance, and PMI. A lender might quote you a payment of $1,500, but your actual monthly bill could be $1,900 once taxes and insurance are added. Always ask for the full PITI estimate, not just the base payment.

Another mistake is assuming your payment will never change. On a fixed-rate mortgage, the principal-and-interest portion does not change, but property taxes and homeowners insurance can increase over time. If your taxes or insurance go up, your escrow payment (the amount your lender collects each month) may increase. On an ARM, the entire payment can jump when the rate resets.

A third mistake is not accounting for the cost of PMI. If you are putting down less than 20%, factor in the PMI cost when comparing loans. Some borrowers can avoid PMI by putting down 20% or by using a piggyback loan (a second mortgage that covers part of the down payment), but those options have their own costs and trade-offs.

Frequently Asked Questions

Why does my actual monthly payment not match the number the calculator gave me?

The calculator probably showed only principal and interest. Your actual bill includes property taxes, homeowners insurance, and possibly PMI, which the calculator may not have included. Check your Loan Estimate from your lender—that document shows the full monthly payment you will owe.

Can I lower my monthly payment after I have already taken out the mortgage?

You can refinance to a lower rate or longer term, which recalculates your payment downward. You can also pay extra toward principal, which shortens the loan and reduces total interest, though it does not lower the monthly payment itself. Refinancing has closing costs, so it only makes sense if the savings outweigh those costs.

What is the difference between a 15-year and 30-year mortgage payment?

A 15-year mortgage has a higher monthly payment but you pay off the loan faster and pay much less interest overall. A 30-year mortgage has a lower monthly payment but you pay interest for twice as long. The choice depends on whether your budget can handle the higher payment and whether you want to pay off the home sooner.

Does my credit score affect my monthly payment?

Your credit score does not directly change the payment calculation, but it affects the interest rate your lender offers you. A higher credit score usually qualifies you for a lower rate, which lowers your payment. A lower credit score may result in a higher rate, which raises your payment.

What happens to my payment if interest rates drop after I lock in my rate?

On a fixed-rate mortgage, your payment does not change—you are locked into your original rate. If rates drop significantly, you can refinance to a new loan at the lower rate, but refinancing has closing costs. On an ARM, a rate drop during the initial fixed period does not affect your payment, but a drop after the rate resets will lower your payment at the next adjustment.