Mortgage Calculator

Estimate your monthly mortgage payment with taxes, insurance and HOA fees โ€” and see how your balance falls over the life of the loan.

By The PiggyMath Editorial Desk Last updated โœ“ Independently verified against published IRS figures

How this is calculated

Your principal-and-interest payment uses the standard amortization formula M = P ร— r(1+r)โฟ รท ((1+r)โฟ โˆ’ 1), where P is the amount borrowed, r the monthly interest rate and n the number of payments. Property tax, homeowners insurance, HOA dues and โ€” when your down payment is under 20% โ€” private mortgage insurance are added on top.

Worked example: a $400,000 home with $80,000 down at 6.5% over 30 years gives a $320,000 loan, a principal-and-interest payment of $2,023 per month, and $408,142 of total interest. Adding $4,800 of annual property tax and $1,800 of insurance brings the full monthly cost to $2,573.

Loan details

Total monthly payment
โ€”
โ€”
Principal & interest
โ€”
Total interest paid
โ€”
Total cost of loan
โ€”
PMI (while owed)
โ€”

Monthly payment breakdown

Where each monthly dollar goes

Remaining balance over time

Loan balance at the end of each year

Amortization schedule

Year-by-year principal, interest and balance

How this mortgage calculator works

Your monthly principal-and-interest payment is calculated with the standard amortization formula: M = P ร— r(1+r)โฟ / ((1+r)โฟ โˆ’ 1), where P is the loan amount, r the monthly interest rate, and n the number of monthly payments. Property tax, homeowners insurance and HOA fees are then added to show your realistic total monthly housing cost โ€” the number lenders use when they check your debt-to-income ratio.

Early in the loan most of each payment goes to interest; over time the split shifts toward principal. The balance chart and the year-by-year amortization schedule above show exactly how fast you build equity with your inputs.

If your down payment is under 20%, the calculator also adds private mortgage insurance โ€” typically 0.5%โ€“1.5% of the loan per year โ€” and tells you roughly which month it falls away. PMI must be cancelled on request at 80% loan-to-value and terminates automatically at 78%, so it is a temporary cost, not a permanent one.

Frequently asked questions

How much house can I afford?
A common guideline is the 28/36 rule: spend no more than 28% of gross monthly income on housing and no more than 36% on total debt. On a $8,000 gross monthly income that caps housing at roughly $2,240 per month.
What is PMI and when do I pay it?
Private mortgage insurance is typically required when your down payment is below 20% of the home price. It usually costs 0.3%โ€“1.5% of the loan amount per year and can be removed once you reach 20% equity.
Is a 15-year or 30-year mortgage better?
A 15-year loan carries a lower rate and dramatically less total interest, but a higher monthly payment. A 30-year loan maximizes flexibility and cash flow. Compare both terms above โ€” the total interest figure usually surprises people.

Sources

Every formula on this page is checked against an independent implementation before publication. How we check our math โ†’