How a mortgage payment is calculated
A fixed-rate mortgage payment comes from one formula. It sets a payment that stays the same every month and still clears the loan on the last payment. Once you see how it works, you can check any quote and compare terms.
Please note: This page is general education, not financial, tax or investment advice. Check your own numbers and talk to a qualified professional before you decide.
Mortgage payment calculator
The amortisation formula
- P is the amount borrowed: price minus down payment.
- r is the monthly rate: the annual rate divided by 12, as a decimal.
- n is the number of payments: years × 12.
Example. Suppose a loan of $300,000 at 6.5% for 30 years.
- r = 0.065 ÷ 12 = 0.0054167, n = 360
- (1 + r)360 ≈ 6.991
- M = 300,000 × 0.0054167 × 6.991 ÷ 5.991 = $1,896.20 per month
- Total paid: $1,896.20 × 360 ≈ $682,633, so total interest ≈ $382,633
All figures are rounded to the cent or the dollar as shown.
Where each payment goes
Each month the lender first takes interest on the balance still owed. The rest of the payment reduces the balance. In month one of the example, interest is 300,000 × 0.0054167 = $1,625.00, so only $271.20 pays down the loan. As the balance falls, the interest part shrinks and the principal part grows.
| After year | Balance left |
|---|---|
| 1 | $296,646.82 |
| 5 | $280,832.93 |
| 10 | $254,328.38 |
| 15 | $217,677.42 |
| 20 | $166,995.85 |
| 25 | $96,912.49 |
In the first year, $19,401.27 of the $22,754.40 paid is interest. More than half the loan is still owed after 21 years; the balance first drops below $150,000 with payment 257.
Comparing terms and rates
| $300,000 loan | Monthly payment | Total interest |
|---|---|---|
| 30 years at 6.5% | $1,896.20 | $382,633.47 |
| 15 years at 6.5% | $2,613.32 | $170,397.98 |
| 30 years at 5.5% | $1,703.37 | $313,212.12 |
| 30 years at 7.5% | $2,097.64 | $455,151.67 |
The shorter term costs $717.12 more each month but cuts total interest by more than half. In practice a 15-year loan often carries a lower rate too, which widens the gap.
Paying extra
Extra principal reduces the balance that future interest is charged on. In the same example, adding $100 each month clears the loan after 312 payments instead of 360 and saves about $60,995 in interest. Check first that your loan has no prepayment penalty and that the lender applies extra money to principal.
What the formula leaves out
- Property tax and home insurance, often collected monthly in an escrow account.
- Mortgage insurance, which some lenders require with a small down payment.
- HOA dues, closing costs and points.
- Adjustable rates. The formula assumes the rate never changes.
Compare offers using the APR and the official Loan Estimate form, and see the CFPB’s homebuyer guides for plain explanations.
FAQ
Why is my lender’s figure higher?
It usually includes tax, insurance and mortgage insurance. The calculator shows principal and interest only.
Does a 0% rate work in the formula?
The formula divides by zero, so the calculator uses P ÷ n instead.