How a mortgage payment is calculated (and extra payments)
Reviewed 22 November 2026 · 7 min read · Written and maintained by Toolnexo
A mortgage quote is a single monthly number, and it is easy to nod at it without knowing what it contains. The good news is that the maths behind a fixed-rate loan is one short formula, and once you can reproduce the number yourself, every offer becomes easier to compare. This guide walks through that formula with a worked example, shows what changes when you alter the term, the rate or your monthly payment, and explains the extra costs (tax, insurance and PMI) that sit on top of the loan itself. Every figure below was produced by the mortgage calculator on this site, which runs entirely in your browser.
The formula in one line
A fixed-rate mortgage is an annuity: you repay the same amount every month, and each payment is split between interest on what you still owe and principal that reduces the balance. The payment is P × r ÷ (1 − (1 + r)^−n), where P is the amount borrowed, r is the interest rate for one month (the annual rate divided by 12) and n is the number of monthly payments.
Take a home price of 400,000 with 80,000 down. You borrow 320,000. At 6.5% for 30 years, r is 0.065 ÷ 12 and n is 360, and the formula gives a payment of 2,022.62 a month. Over 360 payments that adds up to 728,142 in total. The 320,000 you borrowed plus 408,142.36 in interest.
Why the first years feel like you are paying only interest
Interest each month is the remaining balance times r. In month one of that loan the balance is 320,000, so the interest is 1,733.33 and only 289.28 of your 2,022.62 reduces the debt. By the last month the balance is tiny: interest is 10.90 and 2,011.72 goes to principal.
That is not a trick; it is arithmetic. Interest is charged on the outstanding balance, so while the balance is large most of each payment is interest. It also explains why paying early is so powerful: money applied to principal in the first years stops generating interest for the remaining decades.
Term versus rate: what actually moves the total
The same 320,000 loan shows how much each lever matters. At 6.5% over 30 years the payment is 2,022.62 and total interest 408,142.36. Over 15 years the payment rises to 2,787.54, but total interest falls to 181,757.84. You pay about 765 more each month and save about 226,000 in interest.
Rate matters too. At 5.5% over 30 years the payment is 1,816.92 and total interest 334,092.93; at 7.5% it is 2,237.49 and 485,495.11. A one-point change in the rate moves the payment by roughly 200 a month and the lifetime interest by tens of thousands, which is why comparing offers by monthly payment alone can mislead if the terms differ.
- A shorter term raises the monthly payment but cuts total interest sharply.
- A lower rate helps every month for the life of the loan, so small differences are worth negotiating.
- Compare offers on the same term, and look at total interest as well as the monthly figure.
What a little extra each month does
Add 200 a month to the 6.5%, 30-year example and the loan is repaid in 281 months instead of 360: more than six and a half years early. Total interest drops from 408,142.36 to 302,713.69, a saving of 105,428.67, for a total extra outlay of 200 × 281 = 56,200. That works because every extra unit goes straight to principal and then stops accruing interest.
Before sending extra payments, check two things with your lender: that extra amounts are applied to principal rather than held against next month's payment, and whether any prepayment penalty applies. Both vary by lender and country.
The costs that sit on top of the loan
The loan payment is only part of what a home costs each month. Property tax and homeowner's insurance are usually collected monthly by the lender and paid on your behalf. Homeowners' association or maintenance fees may be added. If your down payment is under 20%, many lenders also charge private mortgage insurance (PMI), commonly a small percentage of the loan per year.
With only 10% down on the same home (a 360,000 loan) and PMI at 0.5% a year, PMI adds 150 a month, and in the calculator it falls away in month 95, when the balance reaches 80% of the original price. Your own lender's rules for removing PMI may differ, so treat that as an estimate. The calculator lets you enter tax, insurance, fees and PMI so the total monthly figure reflects the real cost.
A short checklist before you commit
- Reproduce the lender's monthly payment with the formula or the calculator; if it differs, ask what is included.
- Compare total interest across terms, not just monthly payments.
- Ask about prepayment rules and how extra payments are applied.
- Add tax, insurance, fees and PMI to see the real monthly cost.
- Remember this is an estimate for planning: an official loan estimate from your lender is the document that counts.
Put it into practice
Mortgage Calculator
Estimate your monthly mortgage payment with property tax, insurance, HOA and PMI, see a full amortization schedule and how extra payments…
Runs in your browserEMI Calculator
Work out the monthly EMI, total interest and total repayment for a loan from its amount, annual interest rate and tenure, with a full mon…
Runs in your browserCompound Interest Calculator
Project compound growth at any compounding frequency with a transparent year-by-year balance table using A = P(1 + r/n)^(nt).
Runs in your browserSimple Interest Calculator
Calculate flat (non-compounding) interest with SI = P × r × t ÷ 100: total payable and the interest charged per year.
Runs in your browserHow this guide is maintained
This page is reviewed when the related tools change. It describes what the published tools actually do: the tools run in your browser tab, so your files stay on your device. If you find something inaccurate, email [email protected] and it will be corrected.
Other guides
- How to merge PDFs without uploading them6 min · 17 November 2026
- OCR a scanned PDF: accuracy, limits and privacy7 min · 17 November 2026
- Compress a PDF without destroying readability6 min · 17 November 2026