How to Calculate a Monthly Mortgage Payment
Your mortgage payment isn't a mystery. It's a calculation. If you're shopping for a home, refinancing, or just trying to understand your loan, knowing how your payment is calculated-and what pieces make it up-gives you real leverage. Most homebuyers see the payment number and accept it. But that number has a formula behind it, and understanding it means you can stress-test scenarios, shop lenders intelligently, and spot mistakes.
The Core Formula
M = P × [r(1 + r)^n] / [(1 + r)^n - 1]. Where M is your monthly payment, P is your loan principal, r is your monthly interest rate, and n is the number of payments. It looks complex; the payoff is simple.
Breaking down the mortgage payment formula
The formula above is the amortization formula. It's what every lender uses to calculate your payment. Let's walk through the pieces so it stops feeling like magic.
The variables
- P (principal): The amount you're borrowing. If you put 20% down on a $500,000 home, your principal is $400,000.
- r (monthly interest rate): Your annual rate divided by 12. If your rate is 6.5%, your monthly rate is 6.5% ÷ 12 = 0.541% (or 0.00541 in decimal form).
- n (number of payments): 30 years × 12 months = 360 payments. For a 15-year loan, it's 180 payments.
Worked example: $400,000 at 6.5% over 30 years
- P = $400,000
- r = 0.00541 (6.5% ÷ 12)
- n = 360 (30 years × 12)
- M = $400,000 × [0.00541(1.00541)^360] / [(1.00541)^360 - 1]
- M = $2,527/month (principal and interest only)
That's your principal and interest payment-the core of your mortgage. But your full monthly payment usually includes more.
What's in your full monthly mortgage payment
When your lender quotes a payment, it usually includes four components, often called PITI.
PITI: Principal, Interest, Taxes, Insurance
- Principal (P): The portion of your payment that pays down the loan balance. Early on, this is small; later, it grows.
- Interest (I): The lender's cut. In your first payment, almost all of your payment is interest; by year 30, almost all is principal.
- Property Taxes (T): State and local taxes on your home. Varies wildly by location-from under 0.3% in Hawaii to over 2% in New Jersey. Averaged nationwide: about 0.8% of home value per year.
- Homeowners Insurance (I): Required by lenders. Average cost: $1,200-$2,000/year, depending on home value and location.
Some mortgages also include PMI (if you put down less than 20%) or HOA fees (if applicable).
Real example: Full payment breakdown
Same $400,000 loan at 6.5%, but now let's assume:
- Home value: $500,000
- Property tax rate: 1% annually = $5,000/year
- Homeowners insurance: $1,500/year
- No PMI (20% down payment)
Monthly payment breakdown
- Principal & Interest$2,527
- Property Tax$417
- Homeowners Insurance$125
- Total Monthly Payment$3,069
That $3,069 is what you'd pay each month. But early on, most of it is interest. Here's the kicker: in your first payment, $2,162 goes to interest and only $365 goes toward paying down your loan balance.
How the interest vs. principal split works
Your payment stays the same each month ($2,527 for principal and interest), but how it's split between principal and interest changes. This is called amortization.
Early years: paying interest
In year 1, interest takes the lion's share. By year 5, you're still paying mostly interest. It's not until year 15 or so that principal starts to dominate.
Why? Math.
Interest is calculated on your remaining balance. When you owe $400,000, the interest charge is huge. As you pay it down to $390,000, then $380,000, the interest charge drops-and more of your payment goes toward principal.
Month 1: Balance: $400,000 | Interest: $2,162 | Principal: $365 | New balance: $399,635
Year 5 (Month 60): Balance: ~$374,000 | Interest: ~$2,008 | Principal: ~$519 | New balance: ~$373,481
Year 15 (Month 180): Balance: ~$275,000 | Interest: ~$1,476 | Principal: ~$1,051 | New balance: ~$273,949
How interest rates affect your payment
Even small rate changes have big effects over 30 years. Here's the same $400,000 loan at different rates:
Monthly P&I payment by interest rate (30-year loan)
- 5.0%$2,147
- 5.5%$2,271
- 6.0%$2,399
- 6.5%$2,527
- 7.0%$2,661
- 7.5%$2,799
The difference between 5.0% and 7.5% is $652/month-that's $235,000 more in interest over 30 years on the same loan size.
How loan term affects your payment
Shorter loans have higher monthly payments but lower total interest. Here's the same $400,000 at 6.5%:
Payment comparison by loan term (at 6.5%)
- 15-year mortgage$3,260/month
- 20-year mortgage$2,873/month
- 30-year mortgage$2,527/month
Total interest paid: 15-year: $187K | 20-year: $190K | 30-year: $309K
Using a mortgage payment calculator vs. doing the math yourself
You don't need to memorize the formula or punch numbers into a calculator. But understanding what the formula does-and what your payment includes-makes you a smarter borrower.
Why use our calculator?
USFinNexus's mortgage calculator does the formula work instantly. Input your loan amount, interest rate, and loan term-and it returns your monthly payment, total interest paid, and an amortization schedule that shows you exactly how much principal and interest you pay each month.
No email. No ads. No lender referrals. Just the math.
Common mistakes when calculating mortgage payments
Try USFinNexus
USFinNexus's mortgage payment calculator lets you plug in any loan amount, rate, and term-and instantly see your monthly payment, total interest, and a month-by-month breakdown of how much principal and interest you're paying.
Run scenarios: what if rates dropped to 6%? What if you chose a 15-year term instead of 30? What if you put down 25% instead of 20%? See the real-world impact on your payment and total cost.
Use it to shop lenders, stress-test your budget, or just understand your own mortgage better.


