Skip to content
AgileLogics

Mortgage Calculator

Calculates the monthly mortgage payment from the home price, down payment, annual interest rate, and loan term.

Formula

The standard amortizing-loan payment formula, applied to the financed amount (home price minus down payment).

Results are estimates for general guidance and do not replace verified calculations from a qualified professional where accuracy is critical.

How it works

Enter the home price, down payment, annual interest rate, and loan term in years.

What is a mortgage calculator?

A mortgage calculator estimates the monthly payment on a home loan. You enter the home price, your down payment, the interest rate and the loan term, and it works out the amount you'd borrow, the fixed monthly principal-and-interest payment, and how much interest you'd pay over the full term. It's a quick way to compare terms and rates before talking to a lender.

How this calculator works

The amount financed is loan = home price − down payment. The monthly payment uses the standard amortizing-loan formula:

Payment = P × r × (1 + r)^n ÷ ((1 + r)^n − 1)

  • P is the loan amount.
  • r is the monthly rate: annual rate ÷ 12 ÷ 100.
  • n is the number of monthly payments: term in years × 12.

At 0% interest the payment is P ÷ n. Total payment is the monthly payment × n, and total interest is total payment − loan amount. The term can be 1 to 40 years (30 is the default), and the down payment must be less than the home price.

Worked example

A home priced at 400,000, with a 80,000 down payment (20%), at an example rate of 6.5% over 30 years:

  1. Loan amount: 400,000 − 80,000 = 320,000.
  2. Monthly rate: 6.5 ÷ 12 ÷ 100 = 0.0054167.
  3. Growth factor over 360 months: (1.0054167)^360 = 6.991798.
  4. Payment = 320,000 × 0.0054167 × 6.991798 ÷ 5.991798 = 2,022.62 a month.
  5. Total payment: 728,142.36, of which 408,142.36 is interest.

In the first month, 1,733.33 of that payment is interest and only 289.28 reduces the balance. Over 30 years you'd pay more in interest than the amount you borrowed.

How the loan term changes the cost

Same 320,000 loan at the 6.5% example rate:

Term Monthly payment Total interest Total paid
10 years 3,633.54 116,024.23 436,024.23
15 years 2,787.54 181,757.84 501,757.84
20 years 2,385.83 252,600.17 572,600.17
25 years 2,160.66 328,198.87 648,198.87
30 years 2,022.62 408,142.36 728,142.36

Going from 30 to 15 years raises the payment by about 765 a month but saves over 226,000 in interest.

How to use the calculator

  1. Enter the home price.
  2. Enter your down payment (0 is allowed).
  3. Enter the annual interest rate from a lender quote.
  4. Set the loan term in years.
  5. Click Calculate to see the loan amount, monthly payment, total interest and total payment.

The calculator doesn't use a currency, so enter amounts in whatever currency you're borrowing in.

What your real monthly payment adds

The figure here is principal and interest only. A lender's monthly bill often includes more:

  • Property taxes and homeowners insurance. In the US these are commonly collected through an escrow account, which the CFPB describes as an account your lender sets up to pay certain property-related expenses.
  • Mortgage insurance. The CFPB notes that PMI is usually required on a conventional loan when you put down less than 20%, and that it protects the lender, not you.
  • HOA or service charges, if the property has them.
  • Upfront costs such as closing costs, points and fees, which this calculator ignores. Because of these, the APR on a loan offer is usually higher than its interest rate, as the CFPB explains.

It also assumes a fixed rate for the whole term and no extra payments. If you overpay, the loan amortization calculator helps you see how much balance is left at each stage, which is what an overpayment reduces.

Related calculators

Results are estimates for illustration and aren't financial advice; your lender's actual figures may differ.

Last updated

Frequently asked questions

Does this mortgage calculator include property tax, insurance or PMI?
No. It calculates principal and interest only. Property taxes, homeowners insurance, private mortgage insurance (PMI), HOA dues and closing costs are not included, so your actual monthly housing payment will usually be higher.
How is the monthly mortgage payment calculated?
The loan amount is the home price minus the down payment. The payment is P × r × (1 + r)^n ÷ ((1 + r)^n − 1), with r the annual rate ÷ 12 ÷ 100 and n the term in years × 12. A 320,000 loan at 6.5% over 30 years gives 2,022.62 a month.
Is a 15-year or 30-year mortgage better?
It depends on what you can afford. In this page's example, a 15-year term costs 2,787.54 a month against 2,022.62 for 30 years, but total interest falls from 408,142.36 to 181,757.84. The 30-year loan has a lower payment; the 15-year loan costs much less overall.
Can I enter a down payment of zero?
Yes. The down payment can be anything from 0 up to, but not including, the home price. With no down payment the whole price is financed.
Does it work for adjustable-rate mortgages?
Only for the current rate period. The calculator assumes one fixed rate for the whole term, so for an adjustable-rate mortgage it shows the payment at the starting rate, not what happens after the rate adjusts.