Quick answer: a fixed-rate mortgage payment is M = P × r × (1 + r)n ÷ ((1 + r)n − 1). For a 320,000.00 loan at 6.5% over 30 years, principal and interest come to 2,022.62 a month.
A mortgage quote can feel like a black box, yet the monthly payment on a standard fixed-rate loan comes from one short formula. Knowing how it works helps you compare offers, see why a shorter term costs more each month but less overall, and check a lender's figures. This guide walks through the calculation with real numbers.
The three inputs you need
- Loan amount (P): the home price minus your down payment. A home priced at 400,000 with 20% down gives a loan of 320,000.00.
- Monthly interest rate (r): the yearly rate divided by 12 and by 100. A 6.5% yearly rate becomes 6.5/1200 = 0.005417.
- Number of payments (n): years multiplied by 12. A 30-year loan has 360 payments.
The formula
M = P × r × (1 + r)n ÷ ((1 + r)n − 1)
M is the monthly payment of principal and interest. If the interest rate is 0%, the formula does not apply and the payment is simply P ÷ n.
Step-by-step example
- Loan amount: P = 320,000.00.
- Monthly rate: r = 6.5 ÷ 12 ÷ 100 = 0.005417.
- Payments: n = 30 × 12 = 360.
- Growth factor: (1 + r)n = 6.9918.
- Payment: M = 320,000.00 × 0.005417 × 6.9918 ÷ (6.9918 − 1) = 2,022.62 per month.
Over 360 payments you would pay about 728,142.36 in total, of which 408,142.36 is interest.
Where the first payment goes
Interest is charged on the balance you still owe. In month one the balance is the full 320,000.00, so the interest part is 320,000.00 × 0.005417 = 1,733.33 and only 289.28 reduces the loan. The next month the balance is slightly lower, so a little less goes to interest and a little more to principal. This is why early payments feel like they barely touch the balance, and why extra payments made early save the most interest.
How the term changes the payment
Using the same 320,000.00 loan at 6.5%:
| Term | Monthly payment | Total interest |
|---|---|---|
| 15 years | 2,787.54 | 181,757.84 |
| 20 years | 2,385.83 | 252,600.17 |
| 30 years | 2,022.62 | 408,142.36 |
A shorter term raises the monthly payment but cuts the total interest by a large amount, because the balance falls faster. A longer term does the opposite: it is easier on the monthly budget but costs more overall.
What the formula leaves out
- Property tax and home insurance. Often collected monthly with the mortgage payment. Add one twelfth of each yearly amount to the figure above.
- HOA or condo fees. Paid separately in many cases, but they belong in your monthly housing budget.
- Private mortgage insurance (PMI). Some loans with a small down payment add it. Lenders set the rate.
- Closing costs and fees. These are one-off costs and are not part of the monthly payment.
- Variable rates. The formula assumes one fixed rate for the whole term. Adjustable-rate loans change the payment when the rate changes.
Skip the maths with the calculator
You can run all of this instantly. Enter the home price, down payment, rate and term in our Mortgage Calculator to get the full monthly payment with tax, insurance and fees, plus a yearly schedule. For loans without property costs, such as a car or personal loan, use the Loan EMI Calculator.
This guide is for general information and is not financial advice. Lenders may calculate payments slightly differently, so confirm figures with your lender.
Frequently asked questions
What is the formula for a monthly mortgage payment?
M = P × r × (1 + r)^n ÷ ((1 + r)^n − 1), where P is the loan amount, r is the monthly interest rate and n is the number of monthly payments.
Why is most of my early payment interest?
Interest is charged on the remaining balance, which is highest at the start. As the balance falls, the interest part of each payment shrinks and the principal part grows.
Does the payment include property tax and insurance?
The formula gives principal and interest only. Many lenders collect property tax and home insurance through the monthly payment as well, so the amount you actually pay can be higher.
Is my lender's figure going to match this calculation?
It should be close for a fixed-rate loan, but rounding, compounding rules and fees can make small differences. Always confirm the exact figure with your lender.
Related tools
Last updated: November 14, 2026