The Mortgage Payment Formula Explained Simply
Ever looked at your mortgage payment and wondered how exactly that number was calculated? It's not just the loan amount divided by the number of months. There's a specific mathematical formula that determines your monthly payment, and understanding it gives you a much clearer picture of where your money goes each month. Don't worry if math isn't your thing - we'll walk through it step by step with real numbers.
The Formula
The standard mortgage payment formula calculates the fixed monthly payment for a fully amortizing loan. Here it is:
Where:
- M = your monthly mortgage payment
- P = the principal (the amount you borrow)
- r = your monthly interest rate (annual rate divided by 12)
- n = the total number of monthly payments (loan term in years multiplied by 12)
At first glance, this looks intimidating. But once you break it apart, each piece is straightforward.
Step-by-Step Example: $300,000 Loan at 6.5%
Let's calculate the monthly payment on a $300,000 loan at 6.5% interest over 30 years.
Step 1: Identify Your Variables
- P (principal) = $300,000
- Annual interest rate = 6.5%, so r (monthly rate) = 0.065 / 12 = 0.005417
- Loan term = 30 years, so n (total payments) = 30 x 12 = 360
Step 2: Calculate (1 + r)^n
First, add 1 to the monthly rate: 1 + 0.005417 = 1.005417
Now raise that to the power of 360 (the total number of payments):
This number represents how much a dollar would grow to if compounded monthly at your interest rate over the full loan term. It's central to the entire calculation.
Step 3: Calculate the Numerator
The numerator of our formula is:
That's: 0.005417 x 6.9913 = 0.037878
Then multiply by P: $300,000 x 0.037878 = $11,363.40
Step 4: Calculate the Denominator
The denominator is:
That's: 6.9913 - 1 = 5.9913
Step 5: Divide to Get Your Monthly Payment
M = $11,363.40 / 5.9913 = $1,896
That's your monthly principal and interest payment. Over 30 years (360 payments), you'll pay a total of $682,633 - meaning $382,633 goes to interest. That's more than the original loan amount. This is exactly why the interest rate matters so much.
Verify with the Calculator
Don't want to do the math by hand? Use the calculator below to check your work or try different scenarios. Plug in $300,000 at 6.5% over 30 years and you should see the same $1,896 monthly payment.
Mortgage Calculator
Monthly P&I
$2,076
PMI (if applicable)
None
Total Interest
$427,185
Total Cost
$827,185
Why the Formula Works This Way
You might be wondering: why not just divide the principal by the number of payments? If you borrowed $300,000 over 360 months, a simple division gives you $833 per month. That would be an interest-free loan, which obviously isn't how mortgages work.
The formula accounts for the fact that interest accrues on the outstanding balance every month. In the early years of your mortgage, most of your payment goes toward interest because the balance is so large. Over time, as you pay down principal, more of each payment shifts toward principal reduction. This process is called amortization.
Here's what that looks like for our $300,000 example in the first few months:
- Month 1: Interest = $300,000 x 0.005417 = $1,625. Principal = $1,896 - $1,625 = $271. Remaining balance: $299,729.
- Month 2: Interest = $299,729 x 0.005417 = $1,624. Principal = $1,896 - $1,624 = $272. Remaining balance: $299,457.
- Month 3: Interest = $299,457 x 0.005417 = $1,622. Principal = $1,896 - $1,622 = $274. Remaining balance: $299,183.
Notice the pattern: each month, the interest portion decreases slightly and the principal portion increases slightly. But the total payment stays the same at $1,896. That's what the formula guarantees - a fixed monthly payment that fully pays off the loan by the end of the term.
The Interest-to-Principal Shift Over Time
In our example, your first payment is 86% interest and 14% principal. That ratio gradually shifts over the life of the loan:
- Year 1: About 85% interest, 15% principal
- Year 10: About 73% interest, 27% principal
- Year 20: About 51% interest, 49% principal
- Year 25: About 33% interest, 67% principal
- Year 30: Almost 100% principal, minimal interest
This is why the early years of a mortgage feel like you're barely making a dent in the balance. You're not imagining it. After 5 years of payments totaling about $113,760, you'd have only paid down about $21,000 of principal. The other $92,760 went to interest.
How Extra Payments Change the Math
One of the most powerful things about understanding the formula is realizing how extra payments accelerate your payoff. When you make an extra payment toward principal, that money doesn't just reduce your balance by that amount - it eliminates all the future interest that would have accrued on that portion.
For example, an extra $200 per month on our $300,000 loan at 6.5%:
- Without extra payments: 30 years, $382,633 in total interest
- With $200/month extra: About 24 years, $287,000 in total interest
- Savings: 6 years off the loan, roughly $95,633 in interest saved
That $200 per month in extra payments saves you nearly $96,000. This works because each extra dollar of principal paid today eliminates interest for every remaining month of the loan.
Other Versions of the Formula
The formula we covered calculates principal and interest (P&I) only. Your actual monthly mortgage payment typically includes additional components, often abbreviated as PITI:
- P - Principal (portion that reduces your loan balance)
- I - Interest (the lender's fee for lending you money)
- T - Property taxes (usually paid monthly into an escrow account)
- I - Insurance (homeowner's insurance, also escrowed)
If you put less than 20% down, add PMI (private mortgage insurance) as well. The formula only handles the P&I portion. Property taxes and insurance are added on top as flat monthly amounts.
Applying the Formula to Different Scenarios
Let's quickly run through a few more examples to see how changing variables affects the payment:
Same Loan, Different Rates
- $300,000 at 5.0% for 30 years: M = $1,610 (total interest: $279,767)
- $300,000 at 6.5% for 30 years: M = $1,896 (total interest: $382,633)
- $300,000 at 8.0% for 30 years: M = $2,201 (total interest: $492,468)
Same Loan, Different Terms
- $300,000 at 6.5% for 15 years: M = $2,613 (total interest: $170,413)
- $300,000 at 6.5% for 20 years: M = $2,236 (total interest: $236,623)
- $300,000 at 6.5% for 30 years: M = $1,896 (total interest: $382,633)
The 15-year loan has a payment that's $717 higher each month, but it saves you $212,220 in total interest. Seeing the formula in action across different scenarios helps you appreciate just how much the term and rate influence your total cost.
The Bottom Line
The mortgage payment formula isn't just academic. Understanding it helps you see why interest rates matter so much, why early payments are mostly interest, and why extra principal payments are so effective. You don't need to calculate by hand - that's what calculators are for. But knowing the mechanics behind the numbers puts you in a much stronger position to evaluate loan offers, compare scenarios, and make smarter decisions about one of the biggest financial commitments of your life. Run different scenarios in the calculator above, and you'll develop real intuition for how mortgage math works.
Ready to Plan Your Financial Future?
Use our free financial simulator to project your income, expenses, savings, and net worth over time. See how today's decisions shape tomorrow's outcomes.
Start Simulating