Skip to content

Mortgage Calculator

Last reviewed: November 30, 2026

Work out principal and interest, taxes, insurance and HOA, and see what the loan costs over its full term.

Fixed-rate, fully amortizing loan with monthly payments; taxes and insurance are entered as annual amounts and divided by 12.

Published formulas

r = annual rate ÷ 12
M = P × r ÷ (1 − (1 + r)^−n)
Total interest = M × n − P
Total paid     = loan + interest + taxes + insurance + HOA

Example: $400,000 at 6.5% for 30 years → $2,528.27 principal and interest per month and $510,177 total interest.

What this leaves out

  • Private mortgage insurance, closing costs, points and lender fees.
  • Escrow changes: property tax and insurance are annual estimates that lenders re-check each year.
  • Adjustable rates, interest-only periods, balloon payments and biweekly prepayment plans.

What changed in 2026

Published November 30, 2026: separates principal and interest from escrowed tax and insurance, and reports total interest over the full term.

Reference comparison table

Principal and interest on a $400,000 loan over 30 years, by rate.
RateMonthly P&ITotal interestTotal paid
5.5%$2,271$417,700$817,700
6.0%$2,398$463,400$863,400
6.5%$2,528$510,200$910,200
7.0%$2,661$557,900$957,900

Frequently asked questions

How is a monthly mortgage payment calculated?
The lender applies the amortization formula M = P × r ÷ (1 − (1 + r)^−n), where P is the loan, r the monthly rate and n the number of payments. Early payments are mostly interest; later ones are mostly principal.
What is PITI?
Principal, interest, taxes and insurance: the four parts most lenders count when they test affordability. This calculator reports them separately, so you can see the loan cost apart from escrow.
Does a larger down payment reduce the interest?
Yes. A larger down payment shrinks the loan, so there is less principal to charge interest on. On $400,000 at 6.5%, borrowing $10,000 less saves roughly $63 a month and about $22,700 over 30 years.
Is a 15-year mortgage cheaper?
It costs more each month but far less overall: $400,000 at 6.5% is about $3,484 a month over 15 years instead of $2,528 over 30, and saves roughly $283,000 in interest.
Why do taxes and insurance change the payment?
They are escrowed costs, not loan costs. Lenders collect one twelfth each month and pay the bill when it arrives, so the total can change even when the interest rate is fixed.