Try it live: check the payment on any loan before you model it — the free Loan Calculator gives the monthly payment, total repaid and total interest from amount, APR and term in seconds.

You have three debts and $200 a month spare. Which debt gets the extra money? The avalanche says the highest interest rate first — that is the mathematically cheapest order. The snowball says the smallest balance first — that is the order most people actually finish. The difference is real but smaller than the debt-free internet suggests, and the only way to know it for your own debts is to simulate both. The simulation is short, and it settles the argument with numbers instead of slogans.

The baseline: what a loan payment actually is

Every fixed loan payment comes from the amortisation formula:

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

P is the principal, r the monthly rate (APR / 12) and n the number of months. In code:

function monthlyPayment(principal, annualRate, months) { const r = annualRate / 12; return principal * r * Math.pow(1 + r, months) / (Math.pow(1 + r, months) - 1); } console.log(monthlyPayment(20000, 0.06, 60).toFixed(2)); // 386.66 console.log(monthlyPayment(20000, 0.09, 60).toFixed(2)); // 415.17 console.log(monthlyPayment(20000, 0.12, 60).toFixed(2)); // 444.89 

Those three figures match the free loan calculator exactly — £20,000 over five years costs £386.66 a month at 6% APR, £415.17 at 9% and £444.89 at 12%. The rate alone moves the payment by nearly £60 a month on the same loan, and total interest from £3,199 at 6% to £6,693 at 12%. Before choosing a payoff strategy, know what your loans actually cost — that is the number the strategy has to beat.

One loan, one extra payment

Before comparing strategies, see what extra payments do to a single loan. Each month, interest accrues on the balance, then the payment — base plus extra — comes off. The extra goes straight to principal, which shrinks every future interest charge:

function payoffWithExtra(principal, annualRate, months, extra) { const base = monthlyPayment(principal, annualRate, months); let balance = principal, totalInterest = 0, m = 0; while (balance > 0.005 && m < 600) { const interest = balance * annualRate / 12; totalInterest += interest; balance += interest; balance -= Math.min(base + extra, balance); m++; } return { months: m, totalInterest: +totalInterest.toFixed(2) }; } console.log(payoffWithExtra(20000, 0.06, 60, 0)); // { months: 60, totalInterest: 3199.36 } console.log(payoffWithExtra(20000, 0.06, 60, 50)); // { months: 53, totalInterest: 2770.33 } console.log(payoffWithExtra(20000, 0.06, 60, 100)); // { months: 47, totalInterest: 2444.38 } 

On £20,000 at 6% over 60 months, an extra £50 a month finishes the loan 7 months early and saves £429.03 of interest. An extra £100 finishes it 13 months early and saves £754.98. The extra payment is small, but it compounds in your favour — every pound of principal removed early stops earning interest for the lender for the rest of the term.

Snowball vs avalanche: the simulation

Now the real question: with several debts, where does the extra money go? The simulator below pays every minimum first, then sends the spare cash — plus any minimum freed up when a debt clears — to one target debt at a time. Avalanche targets the highest APR; snowball targets the smallest balance:

function simulate(debts, extra, strategy) { const ds = debts.map(d => ({ ...d, balance: d.balance, minPaidOut: false })); let month = 0, totalInterest = 0; while (ds.some(d => d.balance > 0.005) && month < 600) { month++; for (const d of ds) { if (d.balance > 0.005) { const i = d.balance * d.apr / 12; d.balance += i; totalInterest += i; } } let freed = 0; for (const d of ds) { if (d.balance > 0.005) d.balance -= Math.min(d.min, d.balance); else if (!d.minPaidOut) { freed += d.min; d.minPaidOut = true; } } let pool = extra + freed; const alive = ds.filter(d => d.balance > 0.005); alive.sort((a, b) => strategy === 'snowball' ? a.balance - b.balance : b.apr - a.apr); for (const d of alive) { if (pool <= 0) break; const pay = Math.min(pool, d.balance); d.balance -= pay; pool -= pay; } } return { months: month, totalInterest: +totalInterest.toFixed(2) }; } const debts = [ { name: "Store card", balance: 900, apr: 0.12, min: 30 }, { name: "Credit card", balance: 2500, apr: 0.26, min: 75 }, { name: "Personal loan", balance: 8000, apr: 0.09, min: 180 }, ]; console.log(simulate(debts, 200, 'avalanche')); // { months: 31, totalInterest: 1564.20 } console.log(simulate(debts, 200, 'snowball')); // { months: 32, totalInterest: 1701.60 } console.log(simulate(debts, 0, 'avalanche')); // { months: 57, totalInterest: 3896.89 } 

Three debts totalling $11,400, with $200 a month spare: avalanche clears everything in 31 months for $1,564.20 of interest; snowball takes 32 months and $1,701.60. The avalanche wins — by $137.40 and one month. Paying only the minimums takes 57 months and $3,896.89 of interest, so either strategy saves more than $2,200 against doing nothing extra. The honest conclusion: the extra $200 matters far more than which debt it hits first. Avalanche is cheaper, but snowball's first win comes sooner — the $900 store card clears in about three months — and for many people that early win is what keeps the plan alive long enough to finish.

Edge cases that break naive models

Minimum payments that shrink. Many credit cards set the minimum as a percentage of the balance, so it falls as you pay down. A fixed-minimum model overstates your payments late in the plan. Model the card's actual rule — typically 1–3% of the balance plus interest, or a flat floor like $25, whichever is higher.

Prepayment penalties. Most personal and auto loans allow penalty-free overpayments, but some charge a fee for early repayment. A penalty changes the maths: if the fee exceeds the interest saved, the extra payment loses money. Check the loan terms before simulating.

0% promotional rates that expire. A 0% balance-transfer card is the cheapest debt in the book — until the promotion ends and the rate jumps to 25%. Model the rate change on its actual date, or the avalanche will aim at the wrong target for months.

Variable rates. If a rate can move, the avalanche order can flip mid-plan. Re-run the simulation whenever a rate changes rather than trusting the order you picked on day one.

The takeaway

Run your own debts through the simulator before picking a side in the snowball-versus-avalanche debate. On a typical mix the avalanche saves a modest amount — $137 on $11,400 of debt here — while the snowball delivers the first debt-free win months sooner. Either beats minimum payments by thousands. The strategy you will actually stick to is the right one; the code just tells you what it costs. And before you commit to any extra payment, check the underlying numbers on the free Loan Calculator — know the payment, the total interest and the term you are trying to beat.