Try it live: enter your own loan and an extra monthly payment in the free Mortgage Calculator — it shows exactly how many months and how much interest you save by overpaying.

A $300,000 mortgage at 6.5% over 30 years costs $382,633 in interest — more than the house itself. Add just $200 a month and the interest bill falls by over $100,000, with the loan cleared almost seven years early. That is not a trick; it is how amortisation works. Extra payments attack the principal directly, and every dollar of principal you remove early stops generating interest for the rest of the term. Here is how to model it in code.

The base payment

Lenders use the standard amortisation formula:

function monthlyPayment(principal, annualRate, years) { const r = annualRate / 12; const n = years * 12; return principal * (r * Math.pow(1 + r, n)) / (Math.pow(1 + r, n) - 1); } const payment = monthlyPayment(300000, 0.065, 30); console.log(payment.toFixed(2)); // $1,896.20 

That $1,896.20 never changes. What changes month to month is the split: early on, most of it is interest. In month one, interest is $300,000 × 0.065 / 12 = $1,625.00, so only $271.20 touches the principal. By the final year, the split is almost entirely principal. Extra payments skip the queue and go straight to principal from day one — that is the whole secret.

Simulating the payoff

A loop is clearer than a closed-form formula once extra payments enter the picture:

function simulate(principal, annualRate, years, extraMonthly = 0) { const r = annualRate / 12; const base = monthlyPayment(principal, annualRate, years); let balance = principal; let months = 0; let totalInterest = 0; while (balance > 0.005 && months < 600) { const interest = balance * r; let payment = base + extraMonthly; if (payment > balance + interest) payment = balance + interest; // final payment totalInterest += interest; balance = balance + interest - payment; months++; } return { months, years: +(months / 12).toFixed(1), totalInterest: +totalInterest.toFixed(2) }; } console.log(simulate(300000, 0.065, 30)); // 360 months, $382,633.47 interest console.log(simulate(300000, 0.065, 30, 100)); // 312 months, $321,638.68 interest console.log(simulate(300000, 0.065, 30, 200)); // 277 months, $279,184.67 interest 

The numbers are stark. An extra $100 a month saves $60,994.79 and four years. An extra $200 saves $103,448.80 and 6.9 years. The $200 never comes back as cash — it comes back as 83 payments you never make.

One extra payment a year

A popular middle path is one extra monthly payment per year — effectively $158.02 a month on this loan:

const oneExtraPerYear = simulate(300000, 0.065, 30, 1896.20 / 12); console.log(oneExtraPerYear); // 290 months, $295,377.18 interest 

That saves $87,256.29 and 5.8 years, and many borrowers fund it by switching to biweekly payments: 26 half-payments a year equals 13 full ones. If your lender offers biweekly billing, check whether the extra half-payment is actually applied to principal each time — some lenders hold it in suspense until year-end, which quietly erases the benefit.

The crossover that surprises people

Extra payments save the most in the early years, when the balance — and therefore the monthly interest — is highest. Compare $200 extra from month one against the same $200 starting in year ten:

function simulateWithDelayedExtra(principal, annualRate, years, extraMonthly, startMonth) { const r = annualRate / 12; const base = monthlyPayment(principal, annualRate, years); let balance = principal, months = 0, totalInterest = 0; while (balance > 0.005 && months < 600) { const interest = balance * r; const extra = months >= startMonth ? extraMonthly : 0; let payment = base + extra; if (payment > balance + interest) payment = balance + interest; totalInterest += interest; balance = balance + interest - payment; months++; } return { months, totalInterest: +totalInterest.toFixed(2) }; } console.log(simulateWithDelayedExtra(300000, 0.065, 30, 200, 0)); // 277 months, $279,184.67 console.log(simulateWithDelayedExtra(300000, 0.065, 30, 200, 120)); // 319 months, $342,975.52 

Waiting ten years costs $63,790.85 of the saving. The same money, the same loan — timing is everything.

Edge cases before you overpay

Prepayment penalties. A few loans charge for early repayment. Model the penalty as a one-off cost in the first month of the simulation and check the saving survives it.

Extra payment application. Confirm with your lender that extra money reduces principal. Some servicers default to "advance next payment", which changes nothing about the interest.

Opportunity cost. Paying down a 6.5% mortgage is a guaranteed 6.5% return. But if your employer matches retirement contributions, the match wins first — model both, then decide.

Emergency fund first. Extra payments are hard to get back. Keep three to six months of expenses liquid before locking money into the house.

Rounding the final payment. The loop above caps the last payment at the remaining balance plus interest — without that guard, the simulation overshoots and reports a negative balance in the final month.

The takeaway

A mortgage is a 360-month loop, and every extra dollar you feed into it early compounds in your favour instead of the bank's. On a $300,000 loan at 6.5%, $200 a month from day one saves $103,448.80 and nearly seven years. Run your own figures through the free Mortgage Calculator — put in your balance, your rate and the extra payment you can actually afford, and let the maths tell you whether the overpayment is worth it.