The formula
M = P × r(1 + r)ⁿ / ((1 + r)ⁿ − 1)
M = monthly principal & interest
P = loan amount (home price − down payment)
r = annual rate ÷ 12
n = loan term in months
Total monthly = M + property tax/12 + insurance/12 + PMI + HOA
Worked example
- Home price $400,000 with 20% down ($80,000), so the loan amount P = $320,000.
- Rate 6.5% per year, so r = 0.065 ÷ 12 = 0.0054167. A 30-year term gives n = 360 months.
- (1 + r)ⁿ = 1.0054167³⁶⁰ ≈ 6.9916.
- M = 320,000 × 0.0054167 × 6.9916 ÷ (6.9916 − 1) ≈ $2,022.62 principal and interest.
- Property tax: 1.1% × $400,000 ÷ 12 = $366.67. Insurance: $1,500 ÷ 12 = $125.00. With 20% down there's no PMI.
- Total monthly payment ≈ $2,022.62 + $366.67 + $125.00 = $2,514.29.
- Total interest over 30 years ≈ $2,022.62 × 360 − $320,000 ≈ $408,143.
How a mortgage payment is calculated
Most home loans in the United States, Canada, the United Kingdom, Australia and India are fully amortizing: you pay the same principal-and-interest amount every month, and the loan is paid off exactly at the end of the term. Early payments are mostly interest because interest is charged on a large outstanding balance. As the balance falls, more of each payment goes toward principal. The amortization schedule below the calculator shows this month by month, and you can download it as a CSV file.
Lenders in the US often describe the full housing payment as PITI: principal, interest, taxes and insurance. This calculator adds those parts together, plus private mortgage insurance (PMI) and homeowners' association (HOA) dues if they apply, so you can see the amount that will actually leave your bank account each month, not just the loan payment.
What affects your monthly payment
Four inputs drive most of the cost:
- Loan amount. A larger down payment reduces the amount you borrow, and every dollar you don't borrow saves interest for the life of the loan.
- Interest rate. Small differences add up. On a $320,000 30-year loan, going from 6.5% to 7.0% adds about $106 a month and roughly $38,000 in total interest.
- Term. A 15-year loan has a much higher monthly payment than a 30-year loan but usually a lower rate and far less total interest. Many borrowers choose 30 years for flexibility and make extra payments when they can.
- Taxes, insurance and fees. Property tax rates vary widely, from under 0.5% to over 2% of home value a year depending on the US state or county, and home insurance premiums depend on location and risk.
Use the sliders to test scenarios side by side. For example, compare 10% and 20% down, or a 15-year and 30-year term, before you speak to a lender.
PMI, property tax and insurance
In the US, conventional lenders usually require private mortgage insurance when your down payment is less than 20% of the home's value. PMI protects the lender, not you, and typically costs 0.3% to 1.5% of the loan amount a year. Under the Homeowners Protection Act it must be cancelled automatically once your balance is scheduled to reach 78% of the original home value, and you can ask for it to be removed at 80%. The calculator estimates when that happens. FHA loans use a different mortgage insurance premium (MIP) structure that may last for the life of the loan.
Property tax and homeowners insurance are often collected by your lender each month and held in an escrow account, which pays the bills when they're due. Both can change from year to year, so your total payment can rise even on a fixed-rate loan.
Mortgages outside the United States
The core payment formula works everywhere, but local rules differ. In Canada, fixed-rate mortgages compound semi-annually by law, and mortgage default insurance (from CMHC or a private insurer) is required when you put down less than 20%. In the UK there's no PMI, but rates are tiered by loan-to-value, so a bigger deposit usually means a cheaper rate, and most deals are fixed for 2 to 5 years before moving to the lender's standard variable rate. In Australia, lenders mortgage insurance (LMI) usually applies above 80% loan-to-value. In India, home loans are typically floating-rate and repaid by EMI; use the currency switcher to see figures in rupees. Because of compounding conventions and fees, your lender's quote may differ slightly from this estimate.
How to lower the cost of your mortgage
- Improve your credit score before you apply. The best rates go to borrowers with strong credit histories.
- Compare at least three lenders and look at the APR, which includes fees, as well as the headline rate.
- Make extra principal payments. Even one extra payment a year can take several years off a 30-year loan. Try the loan calculator with an extra monthly amount to see the effect.
- Avoid or remove PMI by reaching 20% equity, either through payments or rising home values (a new appraisal may be needed).
- Consider the total cost, not just the monthly payment. A longer term lowers the payment but increases the total interest you pay.