How to Calculate Your Monthly Mortgage Payment
Your monthly mortgage payment comes from one formula. Learn the amortization equation, what each variable means, how taxes, insurance, and PMI add on top, and how to run the math yourself before you talk to a lender.
Your monthly mortgage payment comes from one formula — the same amortization equation every calculator on this site uses. Knowing how it works lets you estimate a payment before you talk to a lender, understand why each input moves the number, and add the taxes, insurance, and PMI that turn principal and interest into your true housing cost.
Principal and interest first, then PITI
The formula gives you only principal and interest. Your full payment — PITI — adds property taxes and homeowners insurance (and PMI if you put down less than 20%). Lenders quote principal and interest, but your budget should use the full PITI number, which is meaningfully higher.
The Amortization Formula
The monthly principal-and-interest payment on a fixed-rate loan is:
M = P × [ r(1 + r)n ] / [ (1 + r)n − 1 ]
The variables are: P is the loan amount (the home price minus your down payment), r is the monthly interest rate (the annual rate divided by 12), and n is the total number of monthly payments (360 for a 30-year loan, 180 for a 15-year loan). The formula produces the constant payment that pays off the loan, with interest, exactly over the term.
Walking Through an Example
Say you buy a $400,000 home with 20% down. The loan amount P is $320,000. At a 6.5% annual rate, the monthly rate r is 0.065 / 12 = 0.005417. For a 30-year loan, n = 360.
Plugging in: the factor [ r(1 + r)n ] / [ (1 + r)n − 1 ] works out to about 0.006322. Multiply by P ($320,000) and the monthly principal-and-interest payment is about $2,023. That single number stays the same every month for 30 years.
How Each Input Changes the Payment
| Change | Effect on Payment |
|---|---|
| Higher loan amount | Higher payment (directly proportional) |
| Higher interest rate | Higher payment (rises with rate) |
| Longer term (30 vs 15 yr) | Lower payment, more lifetime interest |
| Larger down payment | Lower loan amount, lower payment |
Adding Taxes and Insurance
Principal and interest are only part of PITI. Property taxes are usually billed annually by your local government; divide the annual amount by 12 to get the monthly figure. Homeowners insurance is billed yearly as a premium; divide by 12 for the monthly cost. Most lenders collect both through an escrow account, so they are part of your monthly payment.
On the example above, if annual property taxes are $4,200 ($350 a month) and insurance is $1,500 a year ($125 a month), the full PITI rises from $2,023 to about $2,498 — a meaningful jump that the principal-and-interest formula alone hides. Our PITI guide covers each piece in detail.
Adding PMI
If your down payment is below 20% on a conventional loan, add PMI. PMI is a yearly percentage of the loan, billed monthly. On a $320,000 loan with a 0.5% PMI rate, the annual premium is $1,600, or about $133 a month. Add that to PITI to get your true monthly housing cost while PMI is in effect.
Why the Term Matters So Much
The number of payments (n) has a powerful effect. A 30-year loan spreads the balance over 360 payments, keeping each one low; a 15-year loan compresses it into 180 payments, raising each one but cutting lifetime interest sharply. On the same $320,000 loan at 6.5%, the 30-year payment is about $2,023; the 15-year payment is about $2,790 — higher each month, but with roughly $230,000 less total interest over the life of the loan. Our 15- vs. 30-year comparison lays out the full trade-off.
What the Formula Does Not Capture
The amortization formula assumes a fixed rate, fixed term, and payments made exactly on schedule. It does not reflect adjustable rates that change, extra payments that shorten the term, or the taxes and insurance that rise over time. It also excludes one-time costs like closing costs and ongoing costs like HOA dues and home maintenance. Use the formula to estimate principal and interest, then layer the rest on top for a realistic budget.
Running the Math Yourself
You can compute the formula by hand, in a spreadsheet, or — far more easily — with a calculator that applies it for you. The value of understanding the formula is not in calculating by hand; it is in seeing why each input matters and how a change in rate, term, or loan amount ripples through the payment. Once you see that, you can read any loan offer critically and compare options on equal terms.
Run the math on your own numbers. Open the Mortgage Payment Calculator to compute principal, interest, taxes, insurance, and PMI together.
About the numbers in this guide
All payment, interest, and savings figures are calculated with the standard amortization formula — the same math used by every calculator on this site — so you can verify each result yourself. Named individuals in the examples are illustrative composites built from industry-typical numbers, not real clients.
Published October 27, 2026 by Maya Ellison (Senior Financial Editor); last reviewed October 27, 2026 by Priya Natarajan. Our editorial staff are editors and researchers, not licensed lenders or financial advisors — read our methodology and editorial standards and our full disclaimers. Mortgage regulations, tax rules, fees, and lending practices vary by state, region, and lender; confirm the specifics that apply to your situation with a licensed mortgage professional before acting on any figure in this guide.
