Your monthly mortgage payment comes from three numbers: the loan amount, the interest rate and the loan term. Put them into one standard formula and you get the principal-and-interest payment. This post walks through it with a real example.
What goes into the calculation?
- Loan amount (P): the price of the home minus your down payment.
- Monthly interest rate (r): the annual rate divided by 12. A 6.5% annual rate becomes 0.065 / 12 = 0.0054167.
- Number of payments (n): the term in years times 12. A 30-year loan has 360 payments.
The most common mistake is using the annual rate or the number of years directly. The formula needs monthly figures for both.
What is the mortgage payment formula?
The standard amortization formula is M = P × [r(1+r)^n] / [(1+r)^n − 1], where M is the monthly payment, P is the loan amount, r is the monthly rate and n is the number of payments.
The result covers principal and interest only. Taxes, insurance and similar costs come on top (see below).
Worked example: $300,000 at 6.5% for 30 years
These numbers are an illustration, not a quote.
- Set the inputs. P = 300,000. r = 0.065 / 12 = 0.0054167. n = 30 × 12 = 360.
- Compute (1+r)^n. 1.0054167 raised to the 360th power is about 6.9918.
- Top of the formula. r × 6.9918 = about 0.037872.
- Bottom of the formula. 6.9918 − 1 = 5.9918.
- Divide. 0.037872 / 5.9918 = about 0.006320.
- Multiply by the loan. 300,000 × 0.006320 = about $1,896 a month.
Over 360 payments that adds up to roughly $682,600, so about $382,600 of it is interest. Small rounding differences are normal when you do this by hand.
How do rate and term change the payment?
| Input you change | Effect on monthly payment | Effect on total interest |
|---|---|---|
| Higher interest rate | Goes up | Goes up |
| Shorter term | Goes up | Goes down |
| Longer term | Goes down | Goes up |
| Bigger down payment | Goes down | Goes down |
Run the same loan with different rates and terms to see the trade-off between a payment you can carry and the total you pay.
What the formula leaves out
The formula gives principal and interest. Your real monthly cost may also include these, which the full PITI payment adds in:
- Property taxes
- Homeowners insurance
- Private mortgage insurance (PMI), if your lender requires it
- HOA fees, if any
Ask your lender or look at your tax bill for these amounts, then add them to your principal-and-interest figure.
FAQ
Do I divide the interest rate by 12?
Yes. The formula works per month, so use the annual rate divided by 12 and the term in months.
Is the payment the same every month?
With a fixed-rate loan, the principal-and-interest payment stays the same. The split changes: early payments are mostly interest, later ones mostly principal.
Why doesn't my result match my lender's?
Lenders usually add taxes, insurance or PMI, and they may round differently. Compare the principal-and-interest line first.
To avoid doing the arithmetic by hand, enter your own loan amount, rate and term in the calculator on our home page. If you have a question about it, use the contact page.