calculatorgate.com
Home
/Mortgage Calculator

Mortgage Calculator

Calculate the monthly payment, total interest and total repayment of a fixed-rate mortgage. Enter the loan amount, the annual interest rate and the term in years, and see what the home loan really costs.

Last updated: November 15, 2026 · Written by the CalculatorGate team

Example: $300,000 at 6.5% for 30 years

A fixed-rate mortgage, principal and interest only:

Monthly payment$1,896.20
Total repayment$682,633.47
Total interest$382,633.47

What You Need to Know About Mortgages

How home loans work

A mortgage is a long-term loan used to purchase a home, typically repaid over 15–30 years in monthly installments. Your home serves as collateral, meaning the lender can reclaim it if you stop making payments.

Your monthly payment consists of two parts: principal (the loan amount you're paying down) and interest (the lender's fee). In the early years, most of your payment goes toward interest. Over time, more goes toward principal — this is called amortization.

Key factors that affect your mortgage payment: loan amount, interest rate, loan term, and down payment. A larger down payment reduces your loan amount and may help you avoid private mortgage insurance (PMI).

Fixed vs. variable rates: A fixed-rate mortgage keeps the same rate for the entire term, giving you predictable payments. A variable (ARM) rate starts lower but can rise over time. For most homebuyers, a fixed rate provides more financial stability.

Tip: Even small extra payments toward the principal each month can save tens of thousands in interest and shorten your loan term significantly.

Mortgage payment formula

  • r = annual rate ÷ 12 ÷ 100, n = years × 12
  • M = P × r × (1 + r)ⁿ ÷ [(1 + r)ⁿ − 1]
  • Total repayment = M × n
  • Total interest = M × n − P
  • P = loan amount (price minus down payment)
  • M = monthly payment for principal and interest

Worked example: $300,000 over 30 years

You borrow $300,000 at 6.5% a year for 30 years. What is the monthly payment and the total interest?

  1. Monthly rate: 6.5 ÷ 12 ÷ 100 = 0.005417; payments: 30 × 12 = 360.
  2. (1 + r)ⁿ = 1.005417³⁶⁰ = 6.9918.
  3. M = 300,000 × 0.005417 × 6.9918 ÷ (6.9918 − 1) = $1,896.20 a month.
  4. Total repaid: 1,896.20 × 360 = $682,633; interest: $382,633, more than the loan itself.

When to use it

  • Finding out how much house you can afford before you start looking.
  • Comparing a 15-year and a 30-year mortgage.
  • Seeing what a lower rate or bigger down payment saves you.
  • Checking a lender's quote.

Common mistakes

  • Forgetting taxes, insurance and HOA fees: the real monthly cost is higher than principal and interest.
  • Choosing the longest term only for the lower payment: 30 years costs far more interest than 15.
  • Mixing up the interest rate and the APR, which also includes fees.
  • Borrowing the full price: the loan amount is the price minus your down payment.

Frequently asked questions

Short answers to common questions

What is a mortgage?

A mortgage is a long-term loan used to purchase property. The property serves as collateral until the loan is fully repaid. Typical terms range from 15 to 30 years.

How is monthly payment calculated?

Monthly payment formula: M = P × [r(1+r)^n] / [(1+r)^n - 1], where P=principal, r=monthly interest rate, n=number of payments. This tool automatically applies this formula.

How important is the interest rate?

Interest rate is crucial. For example, on a $300,000, 30-year loan: at 3% you pay ~$155,000 in interest, at 4% you pay ~$215,000. That's $60,000 more for just 1% difference.

How should I choose the loan term?

Short term (15 years) = Higher monthly payment but less interest. Long term (30 years) = Lower monthly payment but more interest. Consider your monthly budget and total interest cost.

Should I make extra payments?

Extra payments generally beneficial as they reduce total interest. However, some lenders charge prepayment penalties. Check your loan agreement before making additional payments.