Mortgage Calculator

Free mortgage calculator. Estimate your monthly mortgage payment, total paid, and total interest from home price, down payment, interest rate, and loan term.

AI-ready Use this tool with AI

This tool has a free JSON API. Copy a prompt or skill below to use it with ChatGPT, Claude, or any AI agent — no API key needed.

API docs
Enter your loan details above.

How mortgage calculator works

A mortgage is a loan used to buy a home, repaid in equal monthly installments over a fixed term. Each payment covers part of the principal (the amount borrowed) plus interest. Early in the loan most of each payment is interest; later, most goes to principal. The standard amortization formula turns the loan amount, monthly rate, and number of payments into a fixed monthly payment.

This calculator uses the standard fixed-rate amortization formula: M = P × r × (1+r)^n / ((1+r)^n − 1), where P is the loan amount (home price minus down payment), r is the monthly interest rate (annual rate ÷ 12 ÷ 100), and n is the number of months (years × 12). At 0% interest it falls back to loan ÷ months. It reports the monthly payment, total amount paid over the term, and total interest.

Enter the home price, down payment, annual interest rate as a percentage, and the loan term in years. The down payment reduces the amount you borrow and so lowers every payment. The result is a fixed-rate estimate — adjustable-rate mortgages and taxes or insurance are not included. For a full picture of housing cost, add property tax and insurance yourself.

Frequently asked questions

How is the monthly mortgage payment calculated?
Using the amortization formula M = P × r × (1+r)^n / ((1+r)^n − 1), where P is the loan amount, r is the monthly rate, and n is the number of months. For a $200,000 loan at 6.5% over 30 years the monthly payment is about $1,264.
Does the down payment affect the payment?
Yes. The down payment reduces the loan amount (home price minus down payment), which lowers the monthly payment and total interest. This calculator subtracts the down payment before applying the formula.
Does this include taxes and insurance?
No. This calculator shows principal and interest only. Your real monthly payment (PITI) also includes property taxes and homeowners insurance, and private mortgage insurance if your down payment is under 20%.
What loan terms are common?
The most common US mortgage term is 30 years. 15-year loans have higher monthly payments but much less total interest because the rate is usually lower and the principal is paid off twice as fast.