The basic mortgage calculation: principal, interest rate, and loan term
A mortgage payment is calculated using three numbers: the amount you borrow (called principal), the interest rate the lender charges, and how many months you have to repay it. Lenders use a standard formula that divides the total interest across all your payments so that early payments cover mostly interest and later payments cover mostly principal.
The formula is: M = P [ r(1 + r)^n ] / [ (1 + r)^n – 1 ], where M is your monthly payment, P is the principal, r is the monthly interest rate (annual rate divided by 12), and n is the total number of payments. You do not need to do this by hand — mortgage calculators do it instantly — but understanding what goes into the number helps you see why different loan terms and rates produce such different payments.
For example, a $300,000 loan at 6.5% interest over 30 years produces a different monthly payment than the same loan over 15 years, even though the interest rate is identical. The shorter timeline means you pay off the principal faster, so less interest accrues overall, but your monthly payment is higher because you are spreading the same principal across fewer months.
Key Takeaways
- Your monthly payment depends on three things: how much you borrow, the interest rate, and whether you chose a 15-year, 30-year, or other loan term.
- A lower interest rate reduces both your monthly payment and the total interest you pay over the life of the loan.
- Shortening your loan term (from 30 years to 15 years, for instance) raises your monthly payment but cuts the total interest you pay significantly.
- Your actual monthly payment also includes property taxes, homeowners insurance, and mortgage insurance if your down payment was less than 20 percent — these are not part of the base calculation but are rolled into what you owe each month.
- Online mortgage calculators let you test different scenarios (different rates, different down payments, different terms) to see how each choice affects your payment.
How interest rate changes affect your payment
Even a small change in interest rate produces a noticeable change in your monthly payment and a large change in total interest paid. A $300,000 loan at 5.5% over 30 years costs roughly $1,703 per month; the same loan at 6.5% costs roughly $1,896 per month — a difference of about $193 each month, or $69,480 over 30 years.
This is why shopping for the best rate matters. Lenders offer different rates based on your credit score, down payment size, loan type, and current market conditions. A rate that is 0.5% lower can save you tens of thousands of dollars. Conversely, if you lock in a rate when rates are high, you pay more for the entire 15, 20, or 30 years of the loan.
How loan term length changes your payment
A 15-year mortgage has a higher monthly payment than a 30-year mortgage on the same principal and rate, but you pay far less interest overall because you are paying off the loan in half the time. A $300,000 loan at 6.5% costs roughly $1,896 per month over 30 years but roughly $3,087 per month over 15 years — about $1,191 more each month.
Over the full life of the loan, however, the 15-year option saves you roughly $200,000 in interest compared to the 30-year option. The trade-off is whether your budget can handle the higher monthly payment. Some borrowers choose a 30-year loan for lower monthly payments and then pay extra toward principal when they can afford it, which lets them shorten the loan without committing to a higher payment from the start.
What happens when you change your down payment
Your down payment reduces the principal you need to borrow. A $400,000 home with a 20% down payment ($80,000) means you borrow $320,000; a 10% down payment ($40,000) means you borrow $360,000. The larger the down payment, the smaller the loan, and the lower your monthly payment.
Down payments below 20% also trigger private mortgage insurance (PMI), an extra monthly cost that protects the lender if you default. PMI typically costs 0.5% to 1% of the loan amount per year, divided into your monthly payment. A $360,000 loan with PMI might cost an extra $150 to $300 per month. Once your equity reaches 20% (through a combination of payments and home appreciation), you can request that PMI be removed, which lowers your payment.
Understanding the full monthly payment: PITI
Your mortgage statement shows a number called PITI, which stands for Principal, Interest, Taxes, and Insurance. The principal and interest are what the formula calculates. Taxes and insurance are added on top.
Property taxes vary by location and are set by your county or municipality; they are typically 0.5% to 2% of your home's value per year, divided into 12 monthly payments. Homeowners insurance is required by lenders and covers fire, theft, and weather damage; it typically costs $800 to $2,000 per year depending on the home's value and location. If you put down less than 20%, PMI is also part of your monthly payment. A lender can give you an estimate of taxes and insurance before you close, so you know the full monthly cost before you commit.
Using a mortgage calculator to test scenarios
Rather than working through the formula yourself, use a free online mortgage calculator. Enter the loan amount, interest rate, and loan term, and the calculator shows your monthly payment instantly. Most calculators also let you add property taxes and insurance estimates to see your full PITI payment.
Test different scenarios: what if you put down 15% instead of 10%? What if rates drop 0.5%? What if you choose a 20-year loan instead of 30? Each change shows you immediately how it affects your payment. This helps you understand which levers matter most to your budget and which trade-offs are worth making.
How to read a loan estimate and verify the calculation
When a lender gives you a Loan Estimate (a required document you receive within three business days of applying), it shows your estimated monthly payment, the total interest you will pay, and the total amount you will pay over the life of the loan. The monthly payment on the Loan Estimate should match what a calculator shows for the same principal, rate, and term.
The Loan Estimate also breaks down all fees: origination fees, appraisal fees, title insurance, and others. These fees are separate from the monthly payment but are often rolled into the loan amount, which increases your principal slightly. Review the Loan Estimate carefully to make sure the rate, term, and principal match what you discussed with the lender. If the payment seems wrong, ask the lender to explain the difference.
Frequently Asked Questions
Does paying extra toward principal actually shorten my loan?
Yes. Extra payments go directly to principal and reduce the amount of interest that accrues in future months. If you pay an extra $200 per month on a 30-year loan, you can shorten it to 20 or 25 years and save tens of thousands in interest. Check your loan documents to make sure there is no prepayment penalty, though most mortgages allow this.
What is the difference between a fixed-rate and adjustable-rate mortgage?
A fixed-rate mortgage locks in the same interest rate for the entire loan term (15, 20, or 30 years), so your payment never changes. An adjustable-rate mortgage (ARM) has a lower rate for the first few years, then adjusts periodically based on market conditions. ARMs are riskier because your payment can rise sharply after the initial period, but they can save money if you plan to sell or refinance before the rate adjusts.
Can I use a calculator to figure out how much house I can afford?
A calculator shows what a payment would be for a given loan amount, but affordability depends on your income, debts, and savings. Most lenders use a debt-to-income ratio: they want your total monthly debt payments (including the mortgage) to be no more than 43% of your gross monthly income. A financial advisor or mortgage lender can help you determine a realistic budget based on your situation.
What if my interest rate is locked in but rates drop before closing?
Once you lock in a rate, it is protected for a set period (usually 30 to 60 days). If rates drop, you cannot lower your rate unless your lender offers a rate-lock extension or you refinance after closing. Some lenders offer a "float down" option that lets you lock in a lower rate if it drops before closing, though this may cost a fee.