The four numbers that determine what you pay each month

A mortgage payment is calculated from four pieces of information: the loan amount you borrowed, the interest rate the lender charges, the length of the loan in years, and the type of loan structure. Lenders use a standard formula that divides the total interest and principal across equal monthly payments. The formula is the same whether you are borrowing $150,000 or $500,000 — what changes is the numbers you plug in.

The monthly payment you see on your loan document is the result of this calculation. It includes principal (the money you borrowed) and interest (the lender's charge for lending it). Property taxes, homeowners insurance, and mortgage insurance, if required, are usually added on top of this base payment, but they are not part of the core mortgage calculation itself.

Key Takeaways

  • Your monthly payment is calculated using the loan amount, interest rate, and loan term — a 30-year mortgage at 6% on $300,000 produces a different payment than a 15-year mortgage at the same rate.
  • The interest rate you receive depends on your credit score, down payment size, debt-to-income ratio, and current market rates, and even a 0.5% difference changes your monthly payment by $100 or more.
  • Lenders use an amortization schedule to spread principal and interest across all monthly payments, so early payments are mostly interest and later payments are mostly principal.
  • Property taxes, homeowners insurance, and mortgage insurance are calculated separately and added to your base mortgage payment to arrive at your total monthly housing cost.

Principal, interest rate, and loan term: the three inputs

The principal is the amount you borrow. If you buy a $400,000 home and put down $100,000, your principal is $300,000. The lender does not calculate the down payment into the monthly payment — only the amount you still owe.

The interest rate is expressed as an annual percentage. A 6% interest rate means the lender charges 6% of the outstanding balance per year. This rate is set by the lender based on your credit score, the size of your down payment, your debt-to-income ratio, and the current market. Two borrowers with different credit scores can receive different rates on the same day from the same lender.

The loan term is how many years you have to repay the loan. A 30-year mortgage spreads payments across 360 months. A 15-year mortgage spreads the same principal across 180 months. The shorter the term, the higher your monthly payment, because you are paying back the money faster.

These three numbers — principal, rate, and term — are the only inputs the lender needs. The formula produces a fixed monthly payment that stays the same for the entire loan (on a fixed-rate mortgage) or adjusts on a schedule (on an adjustable-rate mortgage).

How the amortization schedule spreads your payments

Once the lender calculates your monthly payment amount, they create an amortization schedule — a month-by-month breakdown showing how much of each payment goes to principal and how much goes to interest. This schedule is why your first payment is not split 50-50 between principal and interest, even though that might seem fair.

In the early months of a 30-year mortgage, most of your payment covers interest. On a $300,000 loan at 6%, your first payment might be $1,799, but only about $200 of that reduces the principal you owe. The remaining $1,599 is interest. This happens because interest is calculated on the full outstanding balance each month, and at the start, that balance is highest.

As you make payments, the outstanding balance shrinks. Interest is calculated on a smaller number each month, so more of each payment goes toward principal. By year 20 of a 30-year loan, most of your payment is principal. By the final payment, almost all of it is principal and almost none is interest.

You can request an amortization schedule from your lender before you close the loan. This document shows you exactly how much principal and interest you will pay in each month, and how much you will owe after each payment.

Why your interest rate matters more than you might think

A small difference in interest rate produces a large difference in total cost. On a $300,000 loan over 30 years, the difference between 5.5% and 6.5% is roughly $150 per month — $54,000 over the life of the loan. The difference between 6% and 6.5% is roughly $75 per month, or $27,000 total.

Your interest rate is determined by several factors. Your credit score is the largest one — borrowers with scores above 740 typically receive lower rates than those with scores between 620 and 680. Your down payment size also matters; putting down 20% usually qualifies you for a better rate than putting down 5%. Your debt-to-income ratio — the percentage of your monthly income that goes to existing debts — affects the rate as well. Lenders also price in market conditions; rates change daily based on economic factors outside any individual borrower's control.

Before you lock in a rate, ask your lender for a Loan Estimate. This is a required document that shows your interest rate, your monthly payment, and all fees. You can compare Loan Estimates from multiple lenders to see which one offers the best rate for your situation.

The difference between fixed-rate and adjustable-rate mortgages

On a fixed-rate mortgage, your interest rate and monthly payment stay the same for the entire loan term — whether that is 15 years or 30 years. The calculation happens once, and the payment never changes (unless you refinance). This is the most common type of mortgage.

On an adjustable-rate mortgage (ARM), your interest rate is fixed for an initial period — often 3, 5, 7, or 10 years — and then adjusts periodically based on a market index. Your monthly payment stays the same during the fixed period, but once the rate adjusts, your payment changes. An ARM is calculated the same way as a fixed-rate mortgage during the fixed period, but the calculation is redone at each adjustment date using the new rate.

ARMs typically offer a lower starting rate than fixed-rate mortgages, which makes the initial monthly payment smaller. However, when the rate adjusts upward, your payment increases. Some ARMs have caps that limit how much the rate can rise at each adjustment and over the life of the loan, but the payment can still change significantly.

Property taxes, insurance, and mortgage insurance add to your base payment

The mortgage calculation itself produces only the principal and interest portion of your monthly payment. However, your actual monthly housing payment is usually higher because it includes other costs.

Property taxes are calculated by your local government based on your home's assessed value and your local tax rate. They vary widely by location — a home worth $400,000 might have annual property taxes of $4,000 in one county and $8,000 in another. Your lender collects property taxes as part of your monthly payment and holds them in an escrow account, then pays the tax bill when it is due.

Homeowners insurance is required by your lender and protects the home against fire, theft, and weather damage. The cost depends on the home's location, age, construction type, and the coverage limits you choose. Like property taxes, this is collected monthly and held in escrow.

Mortgage insurance is required if you put down less than 20%. It protects the lender if you stop paying, and it is added to your monthly payment. The cost is calculated as a percentage of the loan amount and varies by loan type and down payment size. Once you have paid down the loan to 80% of the home's original value, you can request to have mortgage insurance removed.

How to calculate your payment yourself

If you want to see how different loan amounts, rates, or terms affect your payment, you can use the standard mortgage formula or a mortgage calculator. The formula is: M = P [ r(1 + r)^n ] / [ (1 + r)^n – 1 ], where M is the monthly payment, P is the principal, r is the monthly interest rate (annual rate divided by 12), and n is the number of payments (years times 12).

Most people use an online mortgage calculator instead of doing this by hand. You enter the loan amount, interest rate, and loan term, and the calculator produces your monthly payment. Many lender websites offer calculators, and they all produce the same result because they use the same formula.

Keep in mind that a calculator shows only principal and interest. To get your true monthly housing cost, you need to add estimates for property taxes, homeowners insurance, and mortgage insurance if applicable. Your lender's Loan Estimate includes all of these, so it is more accurate than a calculator alone.

Frequently Asked Questions

Does my credit score affect my monthly payment?

Your credit score does not change the formula, but it changes the interest rate the lender offers you. A higher credit score typically qualifies you for a lower rate, which lowers your monthly payment. The difference between a 650 score and a 750 score can be 0.5% to 1% in interest rate, which translates to $100 to $200 per month on a $300,000 loan.

Can I pay off my mortgage faster by paying extra principal?

Yes. Any payment above your required monthly amount can be applied to principal, which shortens your loan term and reduces total interest paid. However, check your loan documents first — some mortgages have prepayment penalties, though these are rare on modern mortgages. Your lender can tell you whether extra payments are allowed.

What happens to my payment if I refinance?

Refinancing means taking out a new loan to pay off the old one. The new loan is calculated using the same formula, but with a new principal (what you still owe), a new interest rate, and possibly a new term. Your new monthly payment depends on these new numbers. Many borrowers refinance to lower their rate or shorten their term.

Why is my first payment mostly interest?

Interest is calculated on the outstanding balance each month. At the start of the loan, you owe the full principal, so the interest charge is highest. As you pay down the principal, the interest charge shrinks and more of each payment goes to principal. This is how amortization works on all loans.

Does the lender charge interest on interest?

No. Mortgage interest is simple interest, not compound interest. It is calculated only on the outstanding principal balance, not on interest you have already paid. Each month, interest is charged on whatever principal remains after your previous payment.