Carrying a balance month to month means part of every payment goes to interest before any of it touches what you actually owe. This calculator takes a balance, its average interest rate, and your monthly payment, then runs the actual month-by-month amortization to tell you how many months until it's paid off and how much interest you'll pay along the way — the real recurrence, not a rule-of-thumb estimate. It also models something generic debt calculators skip: irregular income. If you're a freelancer, most months you pay the base amount, but a few months a big invoice clears and you can throw extra at the balance — this tool plans around that pattern instead of pretending your income is a steady paycheck.
How it works
Every month, interest accrues on whatever balance remains: interest = balance × (APR / 100 / 12). Your payment covers that interest first, and whatever's left reduces the balance: balance = balance − (payment − interest). The calculator repeats that step until the balance hits zero — that month count is your payoff timeline, converted to years. This flat-payment simulation feeds the first three outputs (months to payoff, total interest, payoff years) and never changes based on your extra-payment inputs — it's your steady-payment baseline.
Alongside it runs a second simulation using two more inputs: extra payment in a good month and good months per year. Irregular income doesn't arrive on a predictable calendar, but the model needs an auditable rule, so it front-loads: the first N months of every rolling 12-month year get basePayment + extraPayment, the rest get the base payment only. Front-loading isn't arbitrary — extra principal paid earlier compounds into more interest saved than the same dollar paid later.
The calculator checks that your base payment covers the first month's interest — if monthlyPayment ≤ totalBalance × monthlyRate, the balance would never shrink, and the tool refuses to run. It also rejects a negative extra payment or a good-months count outside 0–12. Both simulations cap at 600 months (50 years) as a safety valve.
This tool models one balance at one average rate. If you're tracking several cards or loans together, use your combined balance and a balance-weighted average APR as an approximation, or run each debt through separately for precision.
Worked example
Say you owe $10,000 at an 18% APR, and you commit $300 a month.
- Monthly rate: 18% ÷ 12 = 1.5%
- Month 1: interest = $10,000 × 1.5% = $150.00; balance = $10,000 − ($300 − $150.00) = $9,850.00
- Month 2: interest = $9,850.00 × 1.5% = $147.75; balance = $9,850.00 − ($300 − $147.75) = $9,697.75
On the flat schedule that recurrence continues until the balance crosses zero, at month 47, with $3,967.21 total interest — 3.92 years.
Now say you're a freelancer with 3 good months a year — a quarterly retainer clearing, for instance — and each of those months you add $200 on top of the $300 base, for a $500 payment. With the extra payments landing in the first 3 months of each rolling year, the balance clears in 37 months instead of 47 — 10 months saved — and total interest drops to about $2,989.92, or $977.29 saved versus the flat schedule. That's the freelancer angle a fixed-payment calculator can't show: the same extra cash, deployed in bursts instead of spread evenly, still clears the debt faster because it front-loads principal reduction.
How to interpret your result
Months to payoff is how long you'll be making the flat base payment before the balance is gone under a steady schedule. Total interest paid is what the debt actually costs beyond the principal. Months to payoff with extra and its two companions — months saved vs. flat and interest saved vs. flat — show what your good months are worth: not a vague "pay extra when you can" suggestion, but the specific month count and dollar figure that pattern buys you.
Your base payment and APR drive the flat-schedule outputs — a bigger payment shortens the timeline and cuts interest more than proportionally, since more of each payment reaches principal sooner. Your extra payment amount and good-months count drive the rest, and raising either only ever shortens the payoff further. If you're paying down more than one debt, attack order matters too: the debt avalanche method pays extra toward the highest-rate debt first, minimizing total interest; the debt snowball method pays extra toward the smallest balance first, which usually costs a bit more but clears debts faster and keeps momentum going.
This tool doesn't account for changing rates, new charges, missed payments, or fees, and it assumes good months land in a fixed early-year pattern rather than whenever invoices actually clear. Treat it as a planning tool, not a guarantee.
Methodology & sources
The engine runs the monthly amortization loop twice: monthlyRate = APR / 100 / 12; each month, interest = balance × monthlyRate, then balance = balance − (payment − interest). The flat run uses payment = monthlyPayment every month; the extra-payment run uses payment = monthlyPayment + extraPaymentGoodMonth for the first goodMonthsPerYear months of each rolling 12-month cycle, and the base payment otherwise. Each loop sums interest and counts months to zero (capped at 600); months and interest saved come from the unrounded totals of both runs before rounding to two decimals.
The avalanche-vs-snowball framing follows the Consumer Financial Protection Bureau's guidance on debt reduction strategies — see How to reduce your debt, which describes both methods and how to choose between them. This calculator covers the payoff math for a single balance only; it is not personalized financial advice, and it doesn't replace a certified credit counselor for complex, multi-account debt situations.