A mortgage payment looks like one number, but it is built from four parts: the loan amount, the interest rate, the term and the extra costs that ride along with it. Once you see how those parts fit together, you can predict your payment before you talk to a lender, compare offers properly and spot the choices that save the most money.
This guide walks through the maths step by step, with real numbers. To follow along, open the mortgage calculator in another tab.
The mortgage payment formula
Almost every fixed-rate mortgage is an annuity: you pay the same amount every month, and the split between interest and principal shifts over time. The payment is:
The formula finds the one fixed payment that brings the balance to exactly zero on the last month. Every payment first covers that month's interest, and whatever is left reduces the balance.
A worked example
Say you buy a $400,000 home with a 20% down payment. You borrow $320,000 at 6.5% over 30 years.
- Monthly rate: 6.5% ÷ 12 = 0.5417% (0.0054167).
- Number of payments: 30 × 12 = 360.
- Payment: 320,000 × 0.0054167 ÷ (1 − 1.0054167^−360) = $2,022.62 a month.
Across 360 payments you pay $728,142 in total, so $408,142 is interest. That is more than the amount you borrowed.
In the first month, $1,733.33 of your payment is interest and only $289.28 goes to principal. The split slowly reverses. By the final years, nearly the whole payment pays down the balance. You can watch this happen row by row in the amortization schedule that the calculator builds.
How term and rate change the cost
Small changes to the rate or term have a large effect on total interest. Here is the same $320,000 loan under three scenarios:
| Scenario | Monthly payment | Total interest |
|---|---|---|
| 30 years at 6.5% | $2,022.62 | $408,142 |
| 30 years at 6.0% | $1,918.56 | $370,682 |
| 15 years at 6.5% | $2,787.54 | $181,758 |
Half a percentage point saves about $104 a month and $37,000 over the life of the loan. A 15-year term costs $765 more a month, but it cuts total interest by more than half. If the higher payment fits your budget, a shorter term is the biggest saving available.
What else goes into your monthly payment
Lenders usually quote PITI: principal, interest, taxes and insurance. The formula above only covers the first two. On top of it you may pay:
- Property tax, often collected monthly into an escrow account.
- Homeowners insurance, also usually paid through escrow.
- PMI (private mortgage insurance) if you put down less than 20%.
- HOA or service charges for condos and managed estates.
The calculator lets you add tax and insurance as a monthly cost so that the figure you see matches what will leave your account.
How PMI works
In the US, a down payment under 20% usually means PMI. Our calculator uses a typical rate of 0.5% of the loan a year. With 10% down on the same $400,000 home, you borrow $360,000. PMI adds $150 a month, and the base payment rises to $2,275.44.
PMI is not permanent. It ends automatically once the balance reaches 78% of the original home value ($312,000 here). On this loan that takes about nine years of regular payments. Extra payments get you there sooner.
Mortgages outside the US
Mortgage rules differ by country, so the calculator has a version for each region:
- UK: capital repayment with Stamp Duty Land Tax shown upfront. See the UK mortgage calculator.
- Canada: fixed rates compound semi-annually by law, and CMHC insurance applies under 20% down. See the Canadian mortgage calculator.
- Australia and New Zealand: lenders mortgage insurance and low-equity premiums replace PMI. See the Australian and New Zealand versions.
- Europe: choose annuity or linear repayment, with fees included in the APRC. See the European mortgage calculator.
Common mistakes to avoid
- Comparing payments, not total cost. A longer term always lowers the payment, but it raises the total you pay.
- Forgetting the extras. Tax, insurance and PMI can add hundreds a month to the headline figure.
- Using the APR as the note rate. APR includes fees and is meant for comparing offers. Your payment is calculated from the note rate.
- Ignoring closing costs. Budget 2–5% of the price on top of your down payment.
How to use the mortgage calculator
- Enter the home price and your down payment, as an amount or a percentage.
- Enter the interest rate and choose the term.
- Add property tax and insurance to see your full monthly cost.
- Open the amortization schedule to see how each payment splits between interest and principal.
To see what you can borrow before you look at homes, try the house affordability calculator. If you already have a mortgage, the refinance calculator shows whether a new rate pays off.
Frequently asked questions
How much house can I afford on my income?
A common guideline is to keep housing costs under 28% of gross monthly income and total debt payments under 36%. On a $9,000 monthly income, that puts the housing budget at about $2,520. The debt-to-income calculator checks both ratios for you.
Is a 15-year or 30-year mortgage better?
A 15-year loan has a higher payment and usually a lower rate, and it cuts total interest sharply. A 30-year loan keeps the payment affordable and leaves room in your budget. Many borrowers choose 30 years and make extra payments when they can.
Do extra payments really make a difference?
Yes. Every extra dollar goes straight to principal, so it stops costing interest for the rest of the loan. On the $320,000 loan above, adding one-twelfth of a payment each month (one extra payment a year) pays it off in about 24 years instead of 30.
Why is most of my early payment interest?
Interest is charged on the outstanding balance, which is highest at the start. As the balance falls, each month's interest falls too, and more of the same payment goes to principal.
Try it yourself
Run your own numbers with our free tool: Mortgage calculator. No sign-up, and it works on any device.