Finance

Mortgage Calculator

Plan your home purchase: payment, down payment, interest.

Buying a home is the biggest purchase most people ever make. Enter the price, down payment, interest rate and term to see your monthly payment and the true lifetime cost of the loan. A bigger down payment shrinks both your monthly bill and the interest you'll pay over decades.

How it's calculated

The loan amount (price minus down payment) is amortized with the standard EMI formula over the full term; total interest is the sum of all payments minus the amount borrowed.

Three steps happen before the familiar payment formula even starts. First, the down payment is worked out from the price: down payment = home price × down payment percentage, so 20% of a $300,000 home is $60,000. Second, the amount you actually borrow is what remains: loan = price − down payment, here $240,000. Third, that loan is spread over the term with the amortization formula payment = P × r × (1+r)^n ÷ ((1+r)^n − 1), where P is the loan amount, r is the annual rate divided by 1200, and n is the term in years multiplied by 12 — 360 payments on a 30-year mortgage.

The formula works because a mortgage is a race between interest and principal inside one fixed payment. Each month the lender charges interest on the balance still owed; whatever is left of your payment reduces that balance. At the start the balance is at its largest, so most of the payment is interest and the balance barely moves. Year by year the interest slice shrinks and the principal slice grows, until the last payment clears the balance exactly. Total interest is then an accounting identity rather than a separate formula: monthly payment × number of months − loan amount. It is often the most sobering number on the page, because over 30 years it can exceed the amount you borrowed.

Worked example

Take a $300,000 home with 20% down. The down payment is $60,000, leaving a loan of $240,000. At 6.5% over 30 years, the monthly rate is 6.5 ÷ 1200 and n is 360, and the formula returns a monthly payment of $1,516.96. Over 360 payments you hand over $1,516.96 × 360 in total, and once the $240,000 principal is subtracted, the total interest is $306,106.77 — more than the amount borrowed, which is the long-term cost of spreading a loan across three decades. Remember, $1,516.96 is principal and interest only: property tax, homeowner's insurance, HOA dues and — with a down payment below 20% — private mortgage insurance would all be added on top.

When to use it

Use it before you house-hunt, not after you fall for a listing. Enter prices at the top and bottom of your range and check the payment against your monthly budget while you still have the freedom to walk away.

Use it again when you are choosing between loan offers: the same home at two different rates, or a 30-year term against a 15-year term, where the payment rises but total interest falls sharply. It also settles the down-payment debate: test 10% against 20% down and see the payment and lifetime-interest differences, plus whether the smaller deposit drags PMI in.

Common mistakes

  • Treating the result as your full monthly housing cost. The payment shown is principal and interest only — property tax, homeowner's insurance, HOA fees and PMI are extra, and together they can add hundreds a month.
  • Comparing offers by rate alone. A lower rate on a longer term can still cost more overall; compare total interest across the same term.
  • Forgetting that the down payment is entered as a percentage. Entering 60000 expecting dollars will produce a nonsense result — the field wants 20 for 20%.
  • Assuming every payment reduces your balance by the full amount. In the early years most of the payment is interest, so equity builds slowly at first.
  • Stretching the term to afford a more expensive home without checking total interest. A cheaper monthly payment over 30 years can hide a six-figure difference in interest.

Frequently asked questions

How much house can I afford?

A common rule is that housing costs shouldn't exceed 28% of gross monthly income. Enter a few home prices here and check which monthly payment fits comfortably inside that budget — with room left for taxes, insurance and maintenance.

Is a 15-year or 30-year mortgage better?

A 15-year term has higher monthly payments but dramatically less total interest and usually a lower rate. A 30-year term costs less per month, giving you flexibility. There's no universal winner — it depends on your cash flow and goals.

What does the down payment change?

Every extra percent down reduces the amount you borrow, which lowers both the monthly payment and lifetime interest. Putting down 20% or more also typically avoids private mortgage insurance (PMI).

What is included in the monthly payment this calculator shows?

Only principal and interest on the loan amount — the home price minus your down payment. It does not include property tax, homeowner's insurance, HOA fees or private mortgage insurance (PMI), all of which a lender typically adds to your real monthly bill, so budget for a higher figure than the one shown here.

How much total interest will I pay on a mortgage?

Total interest is the monthly payment multiplied by the number of payments, minus the amount borrowed. In the worked example on this page — $240,000 borrowed at 6.5% for 30 years — total interest comes to $306,106.77, which is more than the loan itself. Shorter terms and larger down payments cut it substantially.

Does a bigger down payment always make sense?

It lowers the loan amount, the monthly payment and the total interest, and reaching 20% usually removes PMI. But it also ties up cash you might need for moving costs, repairs or an emergency fund. Run both versions here and compare the payment and total interest against what the extra deposit costs you in flexibility.

Second example: a smaller deposit on a shorter term

Take a $425,000 home bought with 10% down over 15 years at 7%. The down payment is $425,000 × 10% = $42,500, leaving a loan of $382,500. The term is 15 × 12 = 180 payments and the monthly rate is 7 ÷ 1200, so the amortization formula returns a monthly payment of $3,438.02. Over 180 payments that totals $618,843.26, and total interest is $618,843.26 − $382,500 = $236,343.26. In the first month, interest alone is $382,500 × (7 ÷ 1200) = $2,231.25, so $3,438.02 − $2,231.25 = $1,206.77 of that first payment already reduces the balance. That early principal share is the signature of a 15-year term: the balance is forced down twice as fast, so the interest slice shrinks far sooner than it does across 30 years.

Where this exact comparison comes up

Refinancing is the most common case. A homeowner partway through a 30-year loan enters the remaining balance as the loan implied by a new price and down payment, shortens the term field to 15 years, and compares the new total interest against simply continuing as they are. The same four fields also settle a two-offer decision on one home: hold price and down payment percentage fixed, change only interest rate and loan term, and the offer that looks cheaper per month often turns out dearer in total interest. First-time buyers use it in reverse, raising the down payment percentage until the monthly payment fits a salary they already earn, rather than stretching the term to fit a price they prefer.

Limits of the four inputs

This tool has no field for extra monthly principal payments, closing costs, or a rate that changes after a fixed introductory period, so none of those can be folded into its result. A 0% interest rate is handled as a straight division of loan by months, with zero total interest. Entering a down payment of 100% leaves a loan of zero and a payment of zero, which is arithmetically correct but describes a cash purchase, not a mortgage. Treat every figure here as illustrative principal and interest only, not financial advice.

Related calculators