Money

Mortgage calculator

Price, down payment, rate, and term. The payment is the standard loan formula. Tax and insurance are added on top and do not change the interest.

$
$
%
years
$
$

How it works

The loan is the price minus the down payment. The monthly principal-and-interest payment is principal × r × (1+r)^n / ((1+r)^n − 1), where r is the annual rate divided by 12 and n is the number of months. A $320,000 loan at 6.5% for 30 years is about $2,022.62 a month before tax and insurance.

Each month, interest is the remaining balance times r, rounded to the cent. The rest of the payment reduces principal. The last payment clears whatever cents remain. Property tax and insurance, if you enter them, are split across 12 months and added to the check you write. They are not part of the interest total. A loan without a house price is the loan calculator.

Formula

  • Monthly principal and interest
    M = P × r(1+r)^n / ((1+r)^n − 1)
  • Monthly rate
    r = annual rate / 100 / 12
  • Full monthly cost
    M + annual tax / 12 + annual insurance / 12

Worked examples

A 30-year loan after 20% down

A $400,000 home with $80,000 down is a $320,000 loan. At 6.5% for 30 years the principal-and-interest payment is $2,022.62 and the total interest is $408,140.64.

A zero rate, as a check

Borrow $1,200 for 12 months at 0%. The payment is $100 and the interest is $0. The table should end at a zero balance.

Principal and interest on a fixed payment
LoanRateTermMonthly payment
$200,0006%30 years$1,199.10
$320,0006.5%30 years$2,022.62
$350,0007%15 years$3,145.90

Common questions

What does the monthly payment include?

Principal and interest on the amount you borrow. Property tax and homeowners insurance are optional extras on this page. They are not escrowed by a lender here. They are just added so you can see a fuller monthly number.

Why does the last payment differ by a few cents?

Each month rounds interest to the cent. Those cents accumulate. The final row pays whatever balance is left so the loan ends at zero instead of a stray penny.

Is this my actual mortgage offer?

No. Lenders add fees, mortgage insurance, and their own rounding. This is the textbook fixed-rate formula on the numbers you type. It is not a loan offer or financial advice.

What if the rate is zero?

The payment is the loan divided by the number of months. Interest stays at zero. A rate of 100% or more is rejected because it is not a meaningful mortgage rate.