How your mortgage payment is calculated
A monthly house payment has four main parts, known as PITI: principal, interest, taxes and insurance. Principal and interest come from the standard amortization formula. Your lender collects taxes and insurance in an escrow account and pays those bills for you.
M = P × r ÷ (1 − (1 + r)^−n)
P = loan amount (price − down payment)
r = annual rate ÷ 12
n = years × 12
Worked example: a $400,000 home
With 20% down ($80,000) you borrow $320,000. At 6.5% for 30 years, principal and interest come to $2,022.62 a month. Add $366.67 of property tax (1.1% a year) and $150 of insurance and the full payment is $2,539.28. Over 30 years you would pay about $408,000 in interest, more than the amount you borrowed.
Ad space · In-article · fluid
Why the early years are mostly interest
Interest is charged on the remaining balance, so at the start almost every dollar goes to the bank. In the first year of the loan above, about $20,700 goes to interest and only $3,600 to principal. The split flips over time, which the chart in the calculator shows year by year. Extra principal payments early in the loan have the biggest effect on total interest.
15-year or 30-year?
| $320,000 at 6.5% | Monthly P&I | Total interest |
| 30-year fixed | $2,022.62 | $408,142 |
| 15-year fixed | $2,787.54 | $181,758 |
The 15-year loan costs about $765 more a month but saves over $226,000 in interest, and 15-year rates are usually lower than 30-year rates as well.
What is PMI?
Private mortgage insurance protects the lender when you put less than 20% down on a conventional loan. It usually costs 0.3% to 1.5% of the loan per year. Under the Homeowners Protection Act, it must end automatically once your balance reaches 78% of the home's original value, and you can ask to cancel it at 80%. FHA loans have their own mortgage insurance premium (MIP) with different rules.
How much house can you afford?
- Many lenders want your housing payment under 28% of gross monthly income.
- Your total debt payments, including car loans and credit cards, should stay under about 36%.
- Budget for closing costs of 2–5% of the loan, plus maintenance of about 1% of the home's value a year.
Sources: Consumer Financial Protection Bureau (CFPB); Homeowners Protection Act of 1998; Freddie Mac Primary Mortgage Market Survey.
Frequently asked questions
How much is the monthly payment on a $400,000 house?
With 20% down and a 6.5% 30-year fixed rate, principal and interest are about $2,023 a month. With typical property taxes and insurance, the full payment is about $2,540.
What is included in a mortgage payment?
Principal, interest, property taxes and homeowners insurance (PITI). It can also include PMI if you put less than 20% down, and HOA dues if you pay them through the lender.
How can I avoid PMI?
Put at least 20% down on a conventional loan. If you already pay PMI, it ends automatically when your balance reaches 78% of the original home value, and you can request removal at 80%.
Is a 15-year mortgage better than a 30-year?
A 15-year loan has a higher monthly payment but a lower rate and far less total interest. A 30-year loan keeps the payment lower and leaves more room in your budget.