Are you thinking of buying a house? The most important number in the process is your monthly mortgage payment: It determines which homes are really affordable, how much home you can afford, and how much the loan will cost you over its lifetime. A good mortgage calculator shows you that number in seconds, and this guide explains exactly what's included and how the math behind it works.
Below you will learn how the mortgage payment formula converts the price of the house, the down payment, the interest rate and the term of the loan in a single fixed monthly payment; Then we'll look at a real example so you can check the numbers yourself.
What is a monthly mortgage payment?
A monthly mortgage payment has two central parts: principal and interest (P&I). The principal repays the amount you borrowed; Interest is the lender's charge for lending it to you. In a fixed-rate loan, the principal and interest amount never changes, but the ratio does. The first payments are almost all interest, and over time, more of each payment goes toward principal.
Your actual monthly housing expense is usually greater than the principal and interest. Most lenders add property taxes and home insurance (with principal and interest, the four together are called PITI; HOA dues, if any, are separate). Many lenders collect taxes and insurance each month into an escrow account and pay them for you. The figures in this guide cover principal and interest only – taxes and insurance vary widely by state and home, so consider them an extra on top of your payment.
How your payment is calculated (5 steps)
- Subtract the down payment. Home price minus down payment = loan amount (principal). On a $400,000 home with 20% down ($80,000), you borrow $320,000.
- Convert the annual rate to monthly rate. Divide the APR by 12. A rate of 6.5% becomes a monthly rate of 0.005417.
- Count the payments. A 30-year loan has 360 monthly payments; a 15-year one is 180.
- Apply the formula. Payment = P × r × (1+r)n / ((1+r)n − 1), where P is the loan amount, r is the monthly rate and n is the number of payments.
- Add the extras. The principal and interest is the base; then add the monthly property tax, insurance, and HOA dues to get the true cost of the home.
Worked example: $400,000 house at 6.5% for 30 years
House price $400,000, 20% down payment ($80,000) → loan amount $320,000 at 6.5% fixed for 30 years (360 payments):
- Monthly rate r = 6.5 ÷ 12 ÷ 100 = 0.005417
- Monthly payment (principal and interest) = 320,000 × 0.005417 × (1.005417)360 / ((1.005417)360 − 1) = $2,022.62
- Total paid in 30 years = $2,022.62 × 360 = $728,142
- Total interest = $728,142 − $320,000 = $408,142
In total, the house costs $808,142 before taxes and insurance: your down payment of $80,000 plus $728,142 in loan payments. That interest figure shows why a lower rate—or a larger down payment—matters so much: they both reduce the balance on which interest accrues. Note that these numbers exclude property taxes, home insurance and HOA dues, which vary depending on location. Test your own scenario in our mortgage calculator to compare rates and terms.
The mortgage payment formula, explained simply
Payment = P × r × (1+r)n / ((1+r)n − 1)
- P = loan amount (home price minus down payment)
- r = monthly interest rate (annual APR ÷ 12 ÷ 100)
- n = total number of monthly payments (360 for 30 years)
The formula finds the fixed payment that exactly pays off the loan, leaving a balance of $0 after the last payment. In simple terms: the rate part (r) decides what each dollar borrowed costs per month, and the exponent part (n) distributes the balance so that it pays off evenly. You never need to calculate it by hand, but knowing that a higher rate or longer term raises the payment helps you verify the quote from any lender.
Common mistakes you should avoid
- Forgetting taxes and insurance. Lenders quote principal and interest, but escrow can add hundreds more a month. Budget the PITI, not just the principal and interest.
- Chasing the lowest monthly payment. A 30-year term beats the 15-year term in payment size, but roughly doubles the lifetime interest. Compare the total interest, not just the monthly figure.
- Ignoring points and closing costs. Discount points lower your rate but cost cash up front, and closing costs typically add up to 2–5% of the price. Two quotes at the “same rate” can cost very different amounts.
- Putting little down without a plan. Small down payments mean private mortgage insurance (PMI) on conventional loans – an additional monthly charge until you reach 20% equity.
- Skipping the affordability check. Pass your income through Housing affordability calculator before you fall in love with a property: apply the 28/36 rule that lenders use.
A quick note
This guide is for general information only and is not financial advice. Mortgage rates, taxes, insurance and lending rules change frequently and vary by lender and state - confirm each figure with an approved lender before making any decisions. Nothing here is a recommendation to borrow, refinance, or choose a particular product.