How the mortgage payment is calculated
A fixed-rate mortgage is repaid in equal monthly installments. Each payment covers that month's interest first, and the rest reduces the principal. The standard amortization formula is:
M = P × r(1 + r)^n ÷ ((1 + r)^n − 1)
where M is the monthly principal-and-interest payment, P is the loan amount (home price minus down payment), r is the monthly interest rate (annual rate ÷ 12) and n is the number of monthly payments (years × 12).
Because interest is charged on the remaining balance, early payments are mostly interest and later payments are mostly principal. The chart and schedule above show exactly how that balance shifts over the life of the loan.
What is included in your monthly housing payment (PITI)
Lenders usually quote principal and interest, but the amount you actually pay each month is often called PITI:
- Principal — the part that pays down your loan balance.
- Interest — the lender's charge for borrowing.
- Taxes — property tax, commonly 0.3%–2.5% of the home's value per year depending on the county.
- Insurance — homeowners insurance, and PMI (private mortgage insurance) if your down payment is under 20% on a conventional loan.
HOA dues are not part of the mortgage, but they are a real monthly housing cost, so the calculator adds them to your total.
Example: $400,000 home with 20% down
Suppose you buy a $400,000 home with 20% down ($80,000) and borrow $320,000 for 30 years at 6.5%.
- Monthly rate r = 6.5% ÷ 12 = 0.5417%; number of payments n = 360.
- Principal and interest M = 320,000 × 0.005417 × 1.005417360 ÷ (1.005417360 − 1) ≈ $2,022.62.
- Property tax at 1.1% adds $366.67 a month and insurance of $1,500 a year adds $125.
- Total monthly payment ≈ $2,514.29. Over 30 years you would pay about $408,000 in interest.
Because the down payment is 20%, no PMI is required.
Ways to lower your mortgage cost
- Shop for a lower rate. Even 0.5 percentage points can save tens of thousands of dollars over 30 years — compare offers from several lenders on the same day.
- Choose a shorter term. A 15-year loan has a higher payment but usually a lower rate and far less total interest.
- Put 20% down to avoid PMI on a conventional loan, or request PMI cancellation once you reach 20% equity.
- Make extra principal payments. Use the mortgage payoff calculator to see how much time and interest extra payments save.
- Refinance when rates drop. The refinance calculator shows your break-even point after closing costs.
Frequently asked questions
How much house can I afford?
A common guideline is the 28/36 rule: keep your total housing payment (PITI) under 28% of gross monthly income and all debt payments under 36%. With a $8,000 monthly income, that means a housing payment of about $2,240 or less.
When does PMI go away?
On a conventional loan you can ask your lender to cancel PMI once your balance reaches 80% of the original home value, and it must end automatically at 78%. This calculator applies the automatic 78% rule.
Is a 15-year or 30-year mortgage better?
A 15-year mortgage saves a lot of interest and builds equity faster, but the monthly payment is much higher. A 30-year loan keeps payments affordable and leaves room to invest or prepay when you choose. Compare both terms above to see the trade-off for your numbers.
Does this calculator work for loans outside the US?
Yes. The payment formula (equal monthly installments, also called an annuity or 等额本息 loan) is the same worldwide. Pick your currency in the toolbar and set property tax, insurance and PMI to 0 if they do not apply where you live.
Sources & references
Last reviewed: