How a Mortgage Payment Is Calculated
A mortgage payment looks like one number, but it is the result of a short formula with three inputs: how much you borrow, the interest rate, and how many years you take to repay it. Once you understand the formula, you can see exactly why a small change in rate adds up to tens of thousands over the life of a loan, and which levers are actually worth pulling.
This guide walks through the calculation for a standard fixed-rate loan, with real numbers you can check against the Toolyard Mortgage Calculator. The examples use US-style 30-year and 15-year fixed loans, but the same maths applies to any loan that is repaid in equal monthly instalments.
The formula
For a fixed-rate loan, the monthly payment M is:
- P is the loan amount (the principal), meaning the price minus your down payment.
- r is the monthly interest rate: the annual rate divided by 12. A 6.5% annual rate becomes 0.065 / 12 = 0.0054167.
- n is the total number of monthly payments: years × 12. A 30-year loan has n = 360.
The formula finds the one fixed payment that, paid every month for n months, brings the balance to exactly zero, given that interest is charged every month on whatever you still owe.
A worked example: $300,000 at 6.5% for 30 years
Take P = $300,000, an annual rate of 6.5% and a 30-year term.
- Monthly rate: r = 0.065 / 12 = 0.0054167
- Number of payments: n = 30 × 12 = 360
- Plug these into the formula to get a monthly payment of about $1,896.20.
Over 360 payments that is $682,633 in total, so you repay the $300,000 you borrowed plus roughly $382,633 in interest. That ratio surprises many first-time buyers: on a 30-year loan at this rate, the interest is larger than the amount borrowed.
Where each payment actually goes
Every payment is the same size, but its contents change over time. This is called amortization. In the first month, interest is charged on the full $300,000:
- Interest: $300,000 × 0.0054167 = $1,625.00
- Principal: $1,896.20 − $1,625.00 = $271.20
So in month one, only about 14% of your payment reduces the balance. The next month, interest is charged on a slightly smaller balance, so a little more goes to principal, and so on. Near the end of the loan the proportions flip and almost the entire payment is principal. This is why paying extra early in the loan is far more powerful than paying extra late.
What the formula leaves out
The number above is the principal and interest payment only. Your real monthly housing cost is usually higher because it may also include:
- Property tax, often collected monthly into an escrow account.
- Homeowners insurance, which is typically required by the lender.
- Private mortgage insurance (PMI), common in the US when your down payment is under 20%.
- HOA or condo fees, if the property has them.
The Toolyard Mortgage Calculator includes fields for taxes and insurance so you can see the full picture rather than just the loan payment.
How interest rate and term change the payment
Here is the same $300,000 loan with different rates and terms. All figures are principal and interest only.
| Rate | Term | Monthly payment | Total interest |
|---|---|---|---|
| 5.5% | 30 years | $1,703.37 | $313,212 |
| 6.5% | 30 years | $1,896.20 | $382,633 |
| 7.5% | 30 years | $2,097.64 | $455,152 |
| 6.5% | 15 years | $2,613.32 | $170,398 |
Two things stand out. First, one percentage point on the rate changes the monthly payment by roughly $200 here, which is why shopping for a rate matters. Second, the 15-year loan costs about $717 more per month but saves around $212,000 in interest compared with the 30-year loan at the same rate. A shorter term is almost always cheaper overall, but only if the higher payment fits comfortably in your budget.
The effect of your down payment
A larger down payment reduces P directly. If you put 20% down on a $300,000 home, you borrow $240,000 instead of $300,000, and the payment at 6.5% for 30 years drops from $1,896.20 to about $1,516.96. It can also help you avoid PMI, which adds to the monthly cost on smaller down payments.
What happens if you pay extra
Because interest is charged on the remaining balance, anything you add on top of the required payment goes entirely to principal and reduces all future interest. On the $300,000 loan at 6.5%, adding just $200 every month:
- pays the loan off in about 277 months (roughly 23 years) instead of 360,
- so it finishes about 6 years and 11 months early, and
- cuts total interest from about $382,633 to about $279,185, a saving of roughly $103,000.
Before making extra payments, check with your lender that there is no prepayment penalty, and that extra money is applied to principal.
A note on these numbers. The figures here are illustrations of how the formula behaves, not an offer or a quote. Actual lender rates, fees, taxes and insurance vary by borrower and location. This guide is general information, not financial advice.
Questions to ask before you commit
- Is the rate fixed or adjustable? If adjustable, when and how much can it change?
- What are the closing costs and any points, and what does paying points save over time?
- Is there a prepayment penalty?
- How much will taxes, insurance and any PMI add each month?
- Can I still afford the payment if my other expenses rise?
Frequently asked questions
Is the interest rate the same as the APR?
No. The interest rate is the cost of borrowing the principal. The APR also folds in some lender fees and costs, so it is usually a little higher and is better for comparing loan offers. The payment formula above uses the interest rate.
Why is so little of my early payment going to principal?
Interest is charged on the full outstanding balance, and at the start the balance is at its largest. As the balance falls, the interest portion shrinks and the principal portion grows, even though the total payment stays the same.
Does a bi-weekly payment help?
Paying half the monthly amount every two weeks results in 26 half-payments, equal to 13 full payments a year instead of 12. That extra payment goes to principal and shortens the loan, much like the extra-payment example above.
Can I use this for car loans or personal loans?
Yes. Any loan with a fixed rate and equal monthly payments follows the same formula. For those, try the Loan / EMI Calculator.