How to use this calculator
Enter each debt: balance, go-to APR, and its contractual minimum payment.
If a debt has a 0% or low promotional APR, enter that rate and how many months it lasts — expiring promos are exactly where fixed orders go wrong.
Enter your total monthly payment budget (at least the sum of the minimums).
Optionally set a debt-free deadline in months; if it is mathematically impossible, the tool tells you the earliest month that is.
Follow the guided plan: minimums on every live debt, then all surplus to the highest-current-APR debt — the table shows when each balance dies.
The standard formula
debt-payoff-optimizerminimize c·x subject to A·x ≥ b, x ≥ 0
A linear program in standard form: choose the plan x that minimizes a linear cost c·x subject to linear constraints. Here x is the full payment schedule — one payment variable per debt per month.
How the calculation works
debt-payoff-optimizerminimize Σₜ Σᵢ xᵢ,ₜ (total paid = principal + interest)
subject to Bᵢ,ₜ = Bᵢ,ₜ₋₁(1 + rᵢ,ₜ) − xᵢ,ₜ (promo-aware balance recursion)
Bᵢ,ₜ ≥ 0 (t < T), Bᵢ,T = 0 (never overpay; dead by the horizon)
Σᵢ xᵢ,ₜ ≤ monthly budgetBecause the balance recursion is linear in the payments, the entire multi-month scheduling question is one linear program, solved exactly by the two-phase simplex method with Bland’s anti-cycling rule — in your browser, on every keystroke.
Site-wide conventions and all calculator formulas — rounding policy, period conventions, and how every formula is verified.
Worked example
Input
Three debts — credit card $6,500 at 26.99% APR ($160 minimum), personal loan $1,400 at 12.99% ($70), student loan $9,800 at 5.5% ($110) — with a $600 monthly budget.
Result
Guided plan: $2,897.28 total interest, debt-free in month 35 — matching the avalanche method payment for payment, which the solver confirms is already optimal for these debts (the provable cost floor is $2,450.26; the gap is what contractual minimums force). An extra $1/month would erase $4.73 of interest.
Fixed rules vs. the optimizer
| Approach | Re-solves when rates change | Honors minimums | Optimality |
|---|---|---|---|
| Snowball | No — smallest balance first, fixed at month 1 | Yes | None — a motivational heuristic |
| Avalanche | No — highest starting APR first, fixed at month 1 | Yes | Optimal only while APRs never change |
| Guided plan (this tool) | Yes — every month, promo windows included | Yes | Matches avalanche on fixed rates; beats it when promos expire |
| Cost floor (the LP) | Yes — the full schedule as one problem | No (relaxed) | Provably unbeatable lower bound |
The floor’s relaxation is exactly why it can sit below every real plan: it may pay a low-APR debt less than its contractual minimum in early months, which no card issuer allows.
Assumptions and important notes
- Monthly accrual at APR/12 with cents rounding per debt per month — the same convention as the snowball-vs-avalanche simulator.
- The guided plan honors every contractual minimum; the cost floor deliberately does not (minimum-while-alive is not a linear rule) — it is a bound, not a schedule.
- Promo APRs run from month one for the stated number of months, then revert to the go-to APR; the avalanche baseline uses go-to rates throughout.
- The budget is constant across months, surplus always cascades within the month it is paid, and up to six debts within a 60-month horizon.
- No late fees, balance-transfer fees, or rate changes other than the promo windows you enter.
Common mistakes
- Reading the cost floor as a plan you can copy — paying below a contractual minimum triggers fees the model never sees.
- Assuming "saved $0" means the tool failed — against fixed-rate debts, matching avalanche IS the optimum, and the solver proves it.
- Forgetting that promo APR columns start counting from month 1 of the plan, not from when you opened the card.
Frequently asked questions
How is this different from the avalanche method?
Avalanche sorts your debts once, by starting APR, and never revisits. The optimizer treats the whole payoff as one scheduling problem: when a 0% promo expires, the cheap debt suddenly becomes the expensive one, and the plan re-aims your surplus that month. With no promos in play, the guided plan and avalanche agree payment-for-payment — and the tool proves that agreement is optimal, not coincidental.
What does "cost floor" mean?
It is the interest bill of the best possible schedule if contractual minimum payments did not exist — a provable lower bound from linear programming. No real plan can beat it; your guided plan closes most of the gap, and the size of the remaining gap is the price of the minimums your lenders impose.
Why does it say "matches avalanche" instead of showing savings?
With fixed APRs and a comfortable budget, the avalanche order genuinely is optimal — the LP finds no cheaper schedule, so honest savings are $0. That confirmation is valuable: it tells you switching strategies cannot save you another cent, and the $1/month value shows where improvement actually lives.
What is the "value of +$1/month"?
A shadow price: solving the program also computes how the optimal interest bill changes if the monthly budget rises by one dollar. Because interest compounds, one extra dollar every month typically erases several dollars of interest over the payoff.
My deadline says "not achievable" — what now?
The program proved no payment schedule within your budget can clear the debts by that month (it searched them all). It automatically relaxes to the earliest feasible month; to hit the original date, raise the budget or lower balances, then watch the earliest month shrink.
Does this upload my debts anywhere?
No. The optimization runs entirely in your browser; nothing you type leaves your device.
Sources
The claims on this page are backed by these official sources:
- CFPB — What is the best way to pay off credit card debt? — the highest-rate-first strategy this tool optimizes and its official guidance framing.
- Nobel Prize 1975 — Kantorovich & Koopmans — the theory of optimum allocation that linear programming formalized.