← Back to Blog

How to Calculate Your Mortgage Payment (With Formula & Examples)

⚠️
Financial Disclaimer: This article is for educational purposes only and does not constitute financial advice. Loan rates, terms, and availability vary by lender and individual circumstances. Always consult with a qualified financial advisor and compare multiple offers before making borrowing decisions. Information is current as of March 13, 2026.

Most mortgage calculators give you a number—but they don't show you the math. If you've ever wondered how lenders actually arrive at your monthly payment, or why a tiny rate change can shift your costs by tens of thousands of dollars, this guide breaks it all down with real numbers.

Key Takeaways

  • The standard mortgage payment formula uses three variables: loan amount, monthly interest rate, and number of payments
  • A $400,000 loan at 6.23% costs $2,459/month for principal and interest alone—but your actual payment with taxes and insurance is closer to $3,000-$3,200
  • Dropping from 7% to 6.23% on a $400,000 loan saves you $193/month and $69,480 over 30 years
  • The median monthly mortgage payment in the US is $2,070 as of early 2026 (U.S. Census Bureau, American Housing Survey)
  • Understanding the formula helps you spot errors in loan estimates and negotiate better terms (the CFPB reports that comparing just 3 quotes saves borrowers $300+/year)

The Mortgage Payment Formula Explained

Here's the formula that every lender and mortgage calculator uses. It looks intimidating, but once you see it broken down, it's straightforward:

M = P × [r(1+r)^n] / [(1+r)^n - 1]

Where: - **M** = Monthly mortgage payment (principal + interest only) - **P** = Principal (the amount you borrow) - **r** = Monthly interest rate (annual rate divided by 12) - **n** = Total number of monthly payments (loan term in years × 12)

The key insight: this formula ensures each monthly payment is identical throughout the loan, while gradually shifting the ratio from mostly interest to mostly principal.

Step-by-Step Example: Calculating a Real Payment

Let's calculate the monthly payment on a typical 2026 home purchase:

**The scenario:** - Home price: $413,650 (median US home price, National Association of Realtors Q4 2025) - Down payment: 15% ($62,048—median down payment per NAR Profile of Home Buyers and Sellers 2025) - Loan amount: $351,602 - Interest rate: 6.23% (current average 30-year fixed rate) - Loan term: 30 years

**Step 1: Convert annual rate to monthly** r = 6.23% ÷ 12 = 0.5192% = 0.005192

**Step 2: Calculate total number of payments** n = 30 × 12 = 360 payments

**Step 3: Plug into the formula** M = $351,602 × [0.005192 × (1.005192)^360] / [(1.005192)^360 - 1]

M = $351,602 × [0.005192 × 6.4538] / [6.4538 - 1]

M = $351,602 × [0.033516] / [5.4538]

M = $351,602 × 0.006146

Mortgage payment calculation with calculator
M = $2,161 per month (principal and interest)

But this is just the P&I portion. Your actual monthly payment includes more.

The Full Picture: PITI Breakdown

Your mortgage payment isn't just principal and interest. Lenders collect four components, known as PITI:

| Component | Typical Amount | % of Payment | |-----------|---------------|-------------| | **P**rincipal | $573 (year 1 avg) | 18% | | **I**nterest | $1,588 (year 1 avg) | 49% | | **T**axes (property) | $430/month | 13% | | **I**nsurance (homeowners) | $167/month | 5% | | PMI (if <20% down) | $176/month | 5% | | **Total** | **$2,934/month** | 100% |

Notice something shocking: in year one, only 18% of your payment actually reduces what you owe. Almost half goes straight to the lender as interest. This is why understanding amortization matters—and why extra payments early in the loan have an outsized impact.

How Interest Rates Change Your Payment

The difference between rates that seem close—say 6% vs 7%—is enormous over 30 years. Here's a comparison on a $400,000 loan:

| Rate | Monthly P&I | Total Paid | Total Interest | |------|-----------|-----------|---------------| | 5.5% | $2,271 | $817,572 | $417,572 | | 6.0% | $2,398 | $863,353 | $463,353 | | 6.23% | $2,459 | $885,252 | $485,252 | | 6.5% | $2,528 | $910,178 | $510,178 | | 7.0% | $2,661 | $958,034 | $558,034 | | 7.5% | $2,797 | $1,006,858 | $606,858 |

Run the numbers for your situation: Use our free loan amortization calculator to see your exact monthly payment, total interest, and full amortization schedule.

The difference between 5.5% and 7.5% on the same $400,000 loan? **$526/month and $189,286 in total interest.** That's why rate shopping isn't optional—it's one of the most valuable financial activities you can do.

15-Year vs. 30-Year: Running the Numbers

Many buyers default to 30-year loans without considering the 15-year option. Here's the math on a $350,000 loan:

| | 30-Year at 6.23% | 15-Year at 5.56% | |---|---|---| | Monthly payment | $2,151 | $2,877 | | Total interest paid | $424,360 | $167,860 | | Interest savings | — | **$256,500** | | Monthly difference | — | +$726 |

The 15-year loan costs $726 more per month but saves over a quarter million in interest. If your budget can handle it, the 15-year is mathematically superior. But don't stretch—having a lower required payment gives you flexibility during tough months.

What About Extra Payments?

One of the most powerful financial moves you can make is adding extra to your principal each month. The math is compelling:

On a $400,000 loan at 6.23% for 30 years:

| Extra Monthly Payment | Years Saved | Interest Saved | Total Savings | |---|---|---|---| | $100/month | 3.2 years | $54,850 | $54,850 | | $200/month | 5.7 years | $98,200 | $98,200 | | $500/month | 10.8 years | $186,400 | $186,400 | | $1,000/month | 15.2 years | $263,100 | $263,100 |

An extra $200/month saves almost $100,000 and gets you mortgage-free nearly 6 years early. The secret is that extra payments bypass the interest charge entirely—every dollar goes directly to reducing principal, and that reduced principal means less interest on every future payment.

Common Mistakes When Calculating Mortgage Payments

**Mistake 1: Forgetting property taxes vary wildly.** According to the Tax Foundation, New Jersey homeowners pay an average effective rate of 2.47% of home value annually. Hawaii homeowners pay just 0.32%. On a $400,000 home, that's the difference between $823/month and $107/month in taxes alone.

**Mistake 2: Ignoring PMI.** If you put less than 20% down on a conventional loan, you'll pay private mortgage insurance—typically 0.5% to 1.5% of the loan amount per year. On a $350,000 loan, that's $146 to $438 per month until you reach 20% equity.

House keys and mortgage documents

**Mistake 3: Using the wrong rate.** The interest rate on your mortgage offer isn't the same as the APR. The APR includes fees and points, giving a more accurate picture of total cost. Always compare APRs, not just interest rates.

**Mistake 4: Not accounting for escrow changes.** Your monthly payment can increase annually because property taxes and insurance premiums are reassessed. A home that appreciated 10% might see a proportional tax increase, raising your payment by $50-100/month.

The DTI Rule: How Lenders Decide What You Can Afford

Lenders don't just look at the payment—they compare it to your income using the debt-to-income ratio:

**Front-end DTI** = Housing costs (PITI + HOA + PMI) ÷ Gross monthly income - Conventional loans: Max 28% - FHA loans: Max 31%

**Back-end DTI** = All debts (housing + car + student loans + credit cards) ÷ Gross monthly income - Conventional loans: Max 36-43% - FHA loans: Max 43-50%

Example: If you earn $8,000/month gross, your maximum housing payment at 28% front-end DTI is $2,240. That limits your loan size at 6.23% to roughly $340,000 (after accounting for taxes and insurance).

How to Lower Your Mortgage Payment

If the calculator shows a payment that stretches your budget, here are proven strategies:

**1. Increase your down payment.** Every additional 1% reduces your loan amount and may eliminate PMI. Going from 10% to 20% down on a $400,000 home saves about $380/month (lower P&I plus no PMI).

**2. Buy discount points.** Paying 1% of the loan amount upfront typically reduces your rate by 0.25%. On a $400,000 loan, one point costs $4,000 but saves about $60/month. Breakeven: roughly 5.5 years.

**3. Extend the term.** Switching from a 15-year to 30-year loan cuts payments dramatically (though increases total interest). Consider this as a cash flow tool, not a savings strategy.

**4. Shop for better insurance.** Homeowners insurance varies by hundreds of dollars per year between providers. Get at least 5 quotes annually.

**5. Challenge your property tax assessment.** The National Taxpayers Union Foundation estimates 30-60% of properties are over-assessed. A successful appeal can save hundreds per year permanently.

Frequently Asked Questions

How do I calculate my mortgage payment manually? Use the formula M = P × [r(1+r)^n] / [(1+r)^n - 1], where P is loan amount, r is monthly interest rate (annual rate divided by 12), and n is total months. For a $300,000 loan at 6% for 30 years: r = 0.005, n = 360, giving M = $1,799 per month for principal and interest.

What is the average mortgage payment in the US right now? According to the U.S. Census Bureau American Housing Survey, the median monthly mortgage payment in America is approximately $2,070 as of early 2026. However, payments vary dramatically by location—from under $1,000 in affordable markets like Indiana to over $4,000 in San Francisco and San Jose.

Does a mortgage payment include property taxes? Yes, most mortgage payments include property taxes collected through an escrow account. Your lender holds these funds and pays your tax bill on your behalf. This is part of PITI—principal, interest, taxes, and insurance.

How much does a 1% rate increase add to my payment? On a $400,000 30-year loan, each 1% increase in interest rate adds approximately $260-270 per month and over $95,000 in total interest paid over the life of the loan.

Can I reduce my mortgage payment after closing? Yes, through refinancing (if rates drop), removing PMI (once you reach 20% equity), appealing property taxes, shopping for cheaper insurance, or recasting your loan after a large principal payment.

What percentage of income should go to mortgage? Most financial advisors recommend spending no more than 28% of your gross monthly income on housing costs (the front-end DTI ratio). Lenders may approve up to 43-50% total DTI, but that leaves little room for other financial goals.

Is it better to make biweekly or monthly mortgage payments? Biweekly payments result in 26 half-payments per year (equivalent to 13 full monthly payments instead of 12). This one extra annual payment can shave 4-5 years off a 30-year mortgage and save tens of thousands in interest with minimal monthly impact.

How much house can I afford on a $100,000 salary? At 28% front-end DTI, your maximum monthly housing payment would be $2,333. After subtracting estimated taxes ($400) and insurance ($150), that leaves about $1,783 for P&I, supporting a loan of approximately $290,000 at 6.23%. With 10% down, that's roughly a $322,000 home.

Understanding the mortgage payment formula isn't just academic—it's practical knowledge that helps you make better decisions at every stage of homeownership. Whether you're comparing loan offers, deciding between 15 and 30 years, or figuring out how much extra to pay each month, the math tells the real story that marketing materials won't.

Ready to run the numbers for your specific situation? Use our free amortization calculator to see your exact monthly payment, full payment schedule, and how extra payments could save you thousands.

Ready to Calculate Your Loan Payments?

Use Amortio's free calculator to see your monthly payment, full amortization schedule, and how extra payments can save you thousands in interest.

Try the Free Calculator
Neil Prasad

Neil Prasad

Personal Finance Writer

Got my CPA, worked in corporate finance for 6 years, realized I hated it. Pivoted to financial writing because I actually like explaining things. My CPA is inactive now but the knowledge stuck....

View all articles by Neil