Mortgage Calculator
Calculate your complete monthly mortgage payment with this free tool. Enter your home price, down payment percentage, interest rate and loan term to instantly see your principal and interest payment, plus estimated property taxes, homeowners insurance and PMI (if applicable). The calculator uses the standard PMT amortization formula from the CFPB and automatically estimates taxes and insurance based on typical rates; you can edit these to match your property and location. See your loan balance, monthly breakdown, total interest paid over the life of the loan, and total cost. Perfect for comparing different loan scenarios, down payment amounts or interest rates to understand the full impact on your monthly budget.
On a $400,000 home with 20% down at 6.5% for 30 years, the estimated monthly payment is -- (principal and interest only) or -- including estimated taxes, insurance and PMI.
How the mortgage payment is calculated
The monthly principal and interest payment uses the standard PMT (payment) formula from financial mathematics, the same formula used by lenders and described by the CFPB in Understand Loan Options. Property tax, homeowners insurance and PMI are added on top to give the total monthly payment.
r = annual rate / 100 / 12
n = term years x 12
monthly P+I = loan x r x (1 + r)^n / ((1 + r)^n - 1)
total monthly = P+I + property tax + insurance + PMI
Worked example
$400,000 home, 20% down ($80,000), 6.5% rate, 30-year term:
- Loan amount = $400,000 - $80,000 = $320,000
- r = 6.5 / 100 / 12 = 0.005417
- n = 30 x 12 = 360
- Monthly P+I = 320,000 x 0.005417 x (1.005417)^360 / ((1.005417)^360 - 1) = $2,022.74
- Total monthly (with $367 tax + $150 insurance) = $2,539.74
Understanding each payment component
Principal and interest is the core loan repayment. Early payments are mostly interest; as the balance falls, more of each payment goes to principal. This is amortization.
Property tax is collected by local governments and varies significantly by county and state. The default estimate of 1.1% per year is a national average; your actual tax is set by your local assessor. Contact your county assessor or check your most recent tax bill for an exact figure.
Homeowners insurance protects the structure and contents of your home. Lenders require it. The $150/month default is an illustrative figure; your premium will depend on coverage level, location, and insurer.
PMI (private mortgage insurance) is required by most lenders when your down payment is below 20% of the purchase price. It protects the lender, not you. Under the Homeowners Protection Act (12 U.S.C. 4901), you have the right to request cancellation when the loan-to-value ratio reaches 80%. The default estimate of 0.5% of the loan per year is approximate; actual PMI rates vary by lender and borrower profile.
Mortgage calculator: frequently asked questions
What is a good mortgage rate in 2026?
Mortgage rates depend on loan type, term, credit score and market conditions. The CFPB publishes weekly rate surveys at consumerfinance.gov. A 30-year fixed rate considered 'good' varies by borrower; compare at least three lenders for your specific situation.
How much house can I afford?
A common starting guide is keeping your total monthly housing payment (principal, interest, taxes, insurance and PMI) at or below 28% of your gross monthly income. Your lender will calculate a debt-to-income ratio that includes all debts. The CFPB's 'How much house can I afford?' tool at consumerfinance.gov gives a fuller picture.
What is PMI and when can I remove it?
Private mortgage insurance protects the lender if you default. It is typically required when your down payment is less than 20% of the purchase price. Under the Homeowners Protection Act (12 U.S.C. 4901), you can request PMI cancellation when your loan-to-value ratio reaches 80%, and it must be automatically terminated at 78% LTV based on the original amortization schedule.
What is the difference between a 15-year and 30-year mortgage?
A 15-year mortgage has higher monthly payments but a lower interest rate and substantially less total interest paid. A 30-year mortgage has lower monthly payments but higher total cost over the life of the loan. Use the amortization calculator to compare the total interest for each term at your rate.
Official sources
- PMT formula and mortgage concepts: CFPB, Understand Loan Options.
- PMI cancellation rights: CFPB, When can I remove PMI?
- Homeowners Protection Act: 12 U.S.C. Chapter 49, U.S. Government Publishing Office.
Reviewed by the CalculatorHub team, edited by James Graham, 12 June 2026. See our methodology. General information, not financial advice.