Mortgage Payment Formula: How to Calculate Your Monthly Payment
The exact mortgage payment formula with a worked example. Learn principal, interest, PMI, and taxes — with a free mortgage calculator.
Introduction
You found a house you want to buy. The listing price is $350,000, you have $70,000 saved for a down payment, and the bank is offering you a 30-year mortgage at 6.75% interest. The real question is: what will you actually owe every single month?
Most people look up a mortgage calculator, type in the numbers, and accept whatever figure comes out. That works — but it leaves you completely blind to how the number changes when interest rates shift, when you make extra payments, or when you need to compare two loan offers side by side. Understanding the formula gives you negotiating power, helps you spot errors on loan documents, and lets you run quick back-of-the-envelope calculations without needing an app.
This article walks through the exact mortgage payment formula, every variable that feeds into it, a full worked example with real numbers, and the most common mistakes borrowers make. By the end, you will know not just the answer but why the answer is what it is.
The Core Mortgage Payment Formula
The monthly mortgage payment formula calculates only the principal and interest portion of your payment. This is the mathematically precise version:
M = P × [r(1 + r)^n] / [(1 + r)^n - 1]
Where:
| Variable | Meaning |
|---|---|
| M | Monthly payment (what you are solving for) |
| P | Principal — the loan amount (purchase price minus down payment) |
| r | Monthly interest rate — annual rate divided by 12 |
| n | Total number of monthly payments — loan term in years multiplied by 12 |
This is a standard amortizing loan formula. The logic behind it is that each payment covers the interest that accrued that month, plus a slice of the principal. Early in the loan, most of each payment goes toward interest. Later, more goes toward principal. The formula is designed so the payment stays exactly the same every month despite this shifting split — which is what makes it useful.
Why the Formula Looks the Way It Does
The term (1 + r)^n is a compounding factor. It represents how much $1 grows to over n periods at interest rate r. The numerator r(1 + r)^n scales that growth by the monthly rate. The denominator (1 + r)^n - 1 subtracts 1 to isolate only the growth above your original dollar. Dividing one by the other produces the fraction of the loan you owe per month to fully pay it off in exactly n payments.
If r equals zero (a zero-interest loan), the formula reduces to P divided by n — which makes intuitive sense.
Step-by-Step Worked Example
Let’s use a realistic scenario and work through every calculation manually.
Scenario:
- Home purchase price: $350,000
- Down payment: $70,000 (20%)
- Loan amount (principal): $280,000
- Annual interest rate: 6.75%
- Loan term: 30 years
Step 1 — Identify the Principal
P = $350,000 - $70,000 = $280,000
Step 2 — Convert Annual Rate to Monthly Rate
r = 6.75% ÷ 12 = 0.5625% = 0.005625
Step 3 — Calculate Total Number of Payments
n = 30 years × 12 months = 360 payments
Step 4 — Calculate the Compounding Factor
(1 + r)^n = (1 + 0.005625)^360 = (1.005625)^360
To compute this without a scientific calculator: use logarithms, or just note that (1.005625)^360 ≈ 7.6939.
Step 5 — Apply the Formula
M = 280,000 × [0.005625 × 7.6939] / [7.6939 - 1]
M = 280,000 × [0.04328] / [6.6939]
M = 280,000 × 0.006466
M ≈ $1,810.37
Your principal and interest payment is approximately $1,810 per month.
Step 6 — Add the Other Components of a Real Payment
Most mortgage payments include more than just P&I. Lenders typically require four components, often called PITI:
Property Taxes
Property taxes vary by location. A common ballpark is 1–1.5% of the home’s value annually. At 1.2% on a $350,000 home:
Annual tax = $350,000 × 0.012 = $4,200
Monthly tax = $4,200 ÷ 12 = $350
Homeowners Insurance
Average homeowners insurance in the US is roughly $1,200–$2,000 per year. Using $1,500:
Monthly insurance = $1,500 ÷ 12 = $125
Private Mortgage Insurance (PMI)
Because the down payment in this example is exactly 20%, PMI does not apply. PMI is required when the down payment is under 20%. It typically costs 0.5%–1.5% of the loan amount per year. On a $280,000 loan at 1%, PMI would add:
Annual PMI = $280,000 × 0.01 = $2,800
Monthly PMI = $2,800 ÷ 12 ≈ $233
If the down payment had been only 10% instead of 20%, PMI alone would add over $230 to the monthly payment.
Full Monthly Payment (this scenario):
| Component | Monthly Amount |
|---|---|
| Principal & Interest | $1,810.37 |
| Property Taxes | $350.00 |
| Homeowners Insurance | $125.00 |
| PMI | $0.00 |
| Total | $2,285.37 |
The raw formula gives you $1,810. The real check you write every month is $2,285. That gap matters enormously for budgeting.
Step 7 — Understand the Amortization Split
In month 1, your $1,810 payment breaks down like this:
Interest portion = $280,000 × 0.005625 = $1,575.00
Principal portion = $1,810.37 - $1,575.00 = $235.37
Your loan balance drops to $279,764.63 after payment 1. The next month’s interest is calculated on that lower balance, so the principal portion grows by a tiny amount. This process repeats 360 times until the balance reaches zero.
After 15 years (payment 180), the split looks quite different:
Remaining balance ≈ $205,000
Interest portion ≈ $1,153
Principal portion ≈ $657
By year 15, you are paying almost three times as much principal per month as you did in month 1.
Common Mistakes When Calculating Mortgage Payments
Mistake 1 — Using the Annual Rate Directly
One of the most frequent errors is plugging the annual interest rate into the formula without dividing by 12. If you use 6.75% instead of 0.5625%, your answer will be wildly wrong. Always convert to a monthly rate first.
Mistake 2 — Forgetting PMI on Low Down Payment Loans
The formula produces a P&I number only. If your down payment is less than 20%, PMI can add $100–$400 per month depending on the loan size. Many first-time buyers are blindsided by this.
Mistake 3 — Ignoring Property Taxes and Insurance
Lenders quote your P&I payment prominently, but PITI is what you actually pay. In high-tax areas, property taxes alone can add $500–$800 per month. Always ask for the full PITI estimate, not just the base payment.
Mistake 4 — Confusing Nominal and APR Rates
The Annual Percentage Rate (APR) includes fees rolled into the cost of the loan and is always higher than the stated interest rate. For the formula, use the stated interest rate (also called the nominal rate), not the APR. The APR is useful for comparing loan offers but not for calculating your monthly payment.
Mistake 5 — Not Accounting for HOA Fees
If you are buying a condo or property governed by a homeowners association, the HOA fee is a mandatory recurring cost separate from your mortgage. HOA fees range from $100 to over $1,000 per month. They do not appear anywhere in the mortgage formula, but they absolutely affect affordability.
Mistake 6 — Applying Monthly Compounding to a Bi-Weekly Payment Strategy
Some borrowers make bi-weekly payments (26 half-payments per year instead of 12 full payments) to pay off the mortgage faster. The math works, but you cannot simply divide the monthly formula by two. The calculation requires adjusting n and r for a bi-weekly period. Use a dedicated bi-weekly calculator rather than modifying the formula yourself.
Frequently Asked Questions
Q1: Does the mortgage payment formula change for adjustable-rate mortgages (ARMs)?
Yes, but only at each adjustment date. During the fixed period of an ARM — typically 5, 7, or 10 years — the payment is calculated exactly the same way using the initial fixed rate and the full loan term. When the rate adjusts, the formula is recalculated using the new rate and the remaining balance as the new principal, with n reset to the remaining number of payments.
Q2: How does making extra principal payments affect my loan?
Extra payments reduce your principal balance immediately. Because interest each month is calculated on the outstanding balance, a lower balance means less interest charged that month — and a larger fraction of every future regular payment goes toward principal. Even a single $1,000 extra payment early in a 30-year mortgage can save several thousand dollars in interest over the life of the loan. The monthly payment itself does not change unless you refinance; instead, you pay off the loan earlier.
Q3: What is the difference between a 15-year and a 30-year mortgage payment?
Using the same $280,000 at 6.75%: a 30-year mortgage produces a $1,810 monthly P&I payment. A 15-year mortgage at the same rate produces approximately $2,479 per month — about 37% more. However, you pay interest for only 15 years instead of 30, meaning the total interest paid on the 15-year loan is roughly $165,000 compared to roughly $372,000 on the 30-year loan. You pay more each month but dramatically less overall.
Q4: Why does my actual loan balance barely decrease in the first few years?
Because in the early years, most of each payment goes to interest rather than principal. On the $280,000 loan example, month 1’s payment of $1,810 includes $1,575 in interest and only $235 in principal reduction. This is called front-loaded amortization and is a built-in feature of how standard amortizing mortgages work. It is not a bank trick — it is simply the mathematical consequence of charging interest on the outstanding balance each period.
Q5: Can I calculate my mortgage payment without a formula?
You can use mortgage payment tables or an online mortgage calculator for a quick answer without doing any algebra. However, tables and calculators are only as accurate as the inputs you give them. Knowing the formula helps you verify calculator outputs, understand why payments change when rates change, and catch data entry errors. For any calculation that will influence a major financial decision, understanding the underlying math is worth the effort.
Conclusion
The mortgage payment formula is not complex once you break it into its parts: convert your annual rate to a monthly rate, count your total payments, and plug three numbers into the amortization equation. The hard part is not the math — it is remembering that the formula gives you only the principal and interest. Property taxes, homeowners insurance, and potentially PMI are all real costs that add up fast and belong in any honest affordability calculation.
Working through the formula yourself, even once, changes how you look at a mortgage. You stop thinking of it as a black box and start seeing it as a schedule of payments — each one a mix of interest and principal, with the mix shifting month by month until the balance reaches zero.
For a faster answer on any loan scenario, try the mortgage calculator at NovaCalculator.com. You can adjust the purchase price, down payment, interest rate, and loan term to see how each variable affects your monthly payment in real time — useful whether you are comparing two homes, evaluating refinance options, or stress-testing your budget against a rate increase.
Frequently Asked Questions
What is the mortgage payment formula? +
M = P × [r(1 + r)^n] / [(1 + r)^n - 1], where P is the loan principal, r is the monthly interest rate (annual rate divided by 12), and n is the total number of monthly payments.
Does the formula include property taxes and insurance? +
No. The formula calculates only principal and interest (P&I). Property taxes, homeowners insurance, and PMI must be added separately to find the full PITI payment.
What is PMI and when is it required? +
Private Mortgage Insurance (PMI) is required when your down payment is less than 20% of the purchase price. It typically costs 0.5%–1.5% of the loan amount per year and is added to your monthly payment.
How does a 15-year mortgage compare to a 30-year mortgage? +
On a $280,000 loan at 6.75%, a 30-year mortgage produces roughly $1,810 per month while a 15-year mortgage produces roughly $2,479 per month. The 15-year loan costs more monthly but saves over $200,000 in total interest.
What happens when you make extra principal payments? +
Extra payments reduce your outstanding balance immediately, which reduces the interest charged each subsequent month. The monthly payment stays the same, but the loan is paid off earlier and total interest paid decreases.
NovaCalculator Editorial Team
NovaCalculator Editorial Team
Our writers combine mathematical expertise with clear writing to make calculations accessible to everyone. Content is peer-reviewed for accuracy against authoritative sources including NIST, WHO, and CFPB.
Try the Calculator
Mortgage Calculator
Use the free tool to calculate instantly — no signup needed.