Skip to main content
CodeLint.Dev Dev Tools
FinTech 10 min read

Mortgage Math Explained: Why Your First Payments Buy Almost No House

A mortgage is the largest financial contract most people ever sign, and its central mechanism — amortization — is understood by remarkably few borrowers. The math produces genuinely surprising results: on a typical 30-year loan you pay mostly interest for the first decade, the total interest can approach the price of the house itself, and a single extra payment per year can erase four to five years of payments. This guide walks through the payment formula, how mortgage structures differ around the world, and the handful of levers that actually change what you pay. Educational content, not financial advice.

Try the tool
Mortgage Calculator
Calculate your monthly mortgage payment →

The Payment Formula and What It Hides

Nearly every amortizing mortgage on Earth uses the same formula. For principal P, monthly interest rate r (annual rate ÷ 12), and n monthly payments:

M = P × [ r(1 + r)^n ] / [ (1 + r)^n − 1 ]

Example: 300,000 loan, 6.5% annual, 30 years
r = 0.065 / 12 = 0.005417,  n = 360
M ≈ 1,896 per month

The formula guarantees a constant payment, but the composition of that payment changes every month. Interest is charged on the remaining balance — large at the start, small at the end — so early payments are mostly interest and late payments are mostly principal:

Payment # Interest Principal Balance after
1 (year 1)1,625271299,729
120 (year 10)1,378518253,878
240 (year 20)905991166,177
360 (year 30)101,8860

Read that first row again: of your first 1,896 payment, only 271 buys house — 86% is interest. It takes until roughly year 19 of this loan before half of each payment goes to principal. Total interest over 30 years: about 382,000 — more than the original loan. This is not a scam; it is simply what borrowing a large sum for a long time at compound interest costs. But it explains two things that surprise new homeowners: why your balance barely moves in the early years, and why early extra payments are so absurdly powerful (next section).

The Overpayment Lever: Small Extra, Huge Effect

Every extra unit of money you pay above the required payment goes 100% to principal — and principal you remove today stops compounding against you for the entire remaining term. The earlier the extra payment, the longer it works for you.

Continuing the 300,000 / 6.5% / 30-year example (payment 1,896):

Strategy Loan paid off in Interest saved
+100/month extra≈ 26.5 years≈ 54,000
One extra payment/year (biweekly trick)≈ 24.5 years≈ 79,000
+300/month extra≈ 21 years≈ 121,000
Lump 20,000 in year 2≈ 26 years≈ 78,000

The "biweekly trick" deserves explanation because it feels like magic and is pure arithmetic: paying half your monthly payment every two weeks produces 26 half-payments = 13 full payments per year instead of 12. That single stealth payment per year cuts a 30-year term by roughly 4–5 years.

Caveats that matter by country: some markets cap or penalize early repayment (common on fixed-rate periods in Germany, France, and on some UK fixes — typically 1–5% of the overpaid amount above an annual allowance, often 10%/year), while the US generally allows unlimited prepayment penalty-free. Check your contract's overpayment allowance before sending the lump sum. And the honest comparison: extra mortgage payments earn you a guaranteed return equal to your mortgage rate — compare that against expected investment returns and your risk tolerance before choosing between overpaying and investing.

Mortgages Around the World: Same Formula, Different Games

The amortization math is universal; the rate risk is what differs radically by country, and it changes which strategies make sense:

  • United States — the 30-year fixed. Rate locked for the full term, freely refinanceable when rates drop. Borrowers carry no rate risk (the system, via securitization, carries it). The strategy game is refinancing timing.
  • Canada — 25-year amortization, 5-year terms. The rate is fixed only for a 3–5 year term, then the loan renews at prevailing market rates. A household that borrowed at 2% in 2021 renewed near 6% in 2026 — payment shocks at renewal are a national economic event. The strategy game is term selection and renewal timing.
  • United Kingdom — short fixes and trackers. Typically 2–5 year fixed periods reverting to a (high) standard variable rate, prompting serial remortgaging. Overpayment allowances are commonly 10% of balance per year during the fix.
  • Germany — long fixes, disciplined prepayment. 10–15 year fixed periods are standard; early exit triggers compensation (Vorfälligkeitsentschädigung), but contracts often include an annual 5–10% optional repayment right (Sondertilgung).
  • India — floating dominates. Most home loans float against the repo-linked rate; when the central bank moves, lenders typically adjust the tenure rather than the EMI, silently stretching a 20-year loan toward 25+. Borrowers must actively request EMI resets or make prepayments (penalty-free on floating loans by regulation).
  • Australia/NZ — variable with offset accounts. An offset account nets your savings against the loan balance daily: 50,000 sitting in offset against a 500,000 loan means interest accrues on 450,000 — a tax-free return at the mortgage rate while the cash stays accessible.

The global lesson: the advertised rate is only half the contract. Who bears rate risk, what prepayment costs, and how renewal works determine the real economics.

The Costs Beyond the Rate

The interest rate gets all the attention, but several other numbers move the total cost materially:

  • Loan-to-value (LTV) and mortgage insurance. Down payments below ~20% trigger insurance in most markets (PMI in the US, CMHC premiums in Canada, LMI in Australia) — typically 0.5–1.5% of the loan per year or a hefty upfront premium. Crossing an LTV threshold (80%, 75%, 60% in the UK's tiered pricing) often earns a visibly better rate.
  • Closing/setup costs. Origination, valuation, legal, and (in some countries) transfer taxes add 2–10% of the purchase price upfront. Rolling them into the loan means paying interest on them for decades.
  • Points and fees vs rate. A lower headline rate with high fees can cost more than a higher rate with none — compare using APR or total cost over your realistic holding period, not the sticker rate.
  • Escrowed extras. Property tax and insurance commonly ride along with the payment (the full US "PITI"). A 1,896 principal-and-interest payment can easily be a 2,500 all-in payment.
  • Term length itself. Stretching 300,000 at 6.5% from 25 to 30 years cuts the payment by about 130/month — and adds roughly 75,000 of lifetime interest. Longer terms buy affordability with interest.

A useful sanity check before signing anything: compute the total cost of credit — monthly payment × number of payments + all fees − and compare offers on that number over your expected holding period, not on the rate alone.

Renting vs Buying: What the Math Can and Cannot Tell You

The mortgage math feeds the bigger question. The honest framework compares total unrecoverable costs, not rent vs mortgage payment:

  • Renting's unrecoverable cost = the rent.
  • Owning's unrecoverable costs = mortgage interest (not principal!) + property taxes + insurance + maintenance (rule of thumb: ~1% of home value/year) + transaction costs amortized over your holding period + the opportunity cost of the down payment sitting in home equity instead of investments.

A common shortcut prices owning's unrecoverable costs at roughly ~5% of the home's value per year (varies with rates and local taxes; higher in high-rate eras). If annual rent for an equivalent home is meaningfully below ~5% of its price, renting-and-investing-the-difference can beat buying financially; above it, buying tends to win — if you hold long enough to amortize the 2–10% transaction costs, which usually means 5+ years.

What the math cannot price: stability for a family, freedom to renovate, protection from eviction and rent inflation — or, on the other side, mobility for career moves and freedom from surprise repair bills. The right answer is the one where both the spreadsheet and your life plan agree. Run your own numbers with real local figures rather than adopting anyone's rule of thumb — including this one.

Frequently Asked Questions

Why is most of my mortgage payment going to interest?
Because interest each month is charged on your remaining balance, which is largest at the start. On a 300,000 loan at 6.5% over 30 years, the first payment is about 86% interest, and half-interest/half-principal balance is not reached until roughly year 19. This is the nature of amortization, not a lender trick — and it is exactly why extra principal payments made early save disproportionate amounts of interest.
How much does one extra mortgage payment per year save?
On a typical 30-year loan, one extra monthly payment per year (easily achieved by paying half your payment every two weeks — 26 half-payments = 13 full payments) shortens the term by roughly 4–5 years and saves tens of thousands in interest. On a 300,000 loan at 6.5%, the saving is around 79,000. Check your contract first: some countries and fixed-rate deals cap penalty-free overpayments, commonly at 10% of the balance per year.
Should I pay off my mortgage early or invest the money?
Extra mortgage payments earn a guaranteed, tax-free return equal to your mortgage rate; investing offers a higher expected but uncertain return. At a 6.5% mortgage rate, prepaying beats any guaranteed alternative and rivals historical equity returns with zero risk — at 2%, investing usually wins mathematically. Factors that shift the answer: prepayment penalties, tax deductibility of mortgage interest in your country, whether you have an emergency fund, and how much you value being debt-free. There is no universal answer; this is an education, not advice.
What is the difference between a 30-year fixed mortgage and mortgages in other countries?
The US 30-year fixed — rate locked for three decades, penalty-free prepayment, refinance anytime — is globally unusual. Canada fixes rates for only 3–5 year terms with renewal at market rates; the UK uses 2–5 year fixes with serial remortgaging; Germany fixes 10–15 years with compensation charges for early exit; India mostly floats with the central bank rate; Australia favors variable rates with offset accounts. Same amortization formula everywhere — completely different rate risk.
How much house can I afford?
Common lender rules: housing costs below 28% of gross income and total debt payments below 36% (the US 28/36 rule), or a 4–5× income multiple in the UK. But lender maximums measure default risk, not your financial comfort — a budget that leaves nothing for savings, retirement, or repairs is unaffordable regardless of approval. Stress-test the payment at 2–3 percentage points above today's rate (mandatory in some countries, wise everywhere), especially where the rate renews or floats.
Is it better to rent or buy?
Compare unrecoverable costs, not rent vs mortgage payment. Renting costs the rent; owning costs interest, taxes, insurance, maintenance (~1% of value/year), and transaction costs — very roughly ~5% of the home's value per year. If equivalent rent is well below that, renting and investing the difference can win financially; above it, buying tends to win if you stay 5+ years. Then add what math cannot price: stability and control (owning) versus mobility and predictable costs (renting).

Ready to try Mortgage Calculator?

Free, private, and runs entirely in your browser — no sign-up, no server, no data sent anywhere.

Open Mortgage Calculator