How it works
Each month your card charges interest on what you owe, and your payment covers that interest first. Only the rest of the payment brings the balance down. That’s why a card can take much longer to pay off than the balance divided by the payment suggests.
Choose what you want to find. How long it takes works out the months to clear the card at a fixed payment. The payment to pay it off in time works out the monthly payment that clears it in the number of months you choose. How long paying only the minimum takes follows your card’s minimum payment as it shrinks along with the balance, and shows what a fixed payment would save instead.
The calculator works through the payments month by month, with interest rounded to the cent as on a statement. It assumes the rate stays the same and that you don’t add new charges or fees. For several cards at once, the debt payoff calculator plans the order to pay them in.
The formula
Each month the card charges:
Interest = balance × APR ÷ 12, rounded to the cent
- balance is what you owe at the start of the month
- APR is the yearly interest rate as a decimal (24.99% is 0.2499)
Then the payment comes off: new balance = balance + interest − payment. The last payment is only what’s left.
Time to pay off at a fixed payment P, with i = APR ÷ 12 and B the balance, is about:
n = −ln(1 − i × B ÷ P) ÷ ln(1 + i)
The formula counts every payment as a full P, so the calculator counts the actual payments instead. If P isn’t more than the first month’s interest, the balance never goes down.
The payment to pay it off in n months is:
P = B × i ÷ (1 − (1 + i)−n)
rounded up to the cent, so the card is paid off in time. At 0% it’s simply B ÷ n. With a long time at a high rate, a cent makes a big difference, so the rounded payment can finish well before n months; the calculator says when it does.
The minimum payment is a percentage of the balance (after this month’s interest), sometimes plus that month’s interest, but never less than a lowest amount, and never more than you owe. It’s worked out fresh each month, so it falls as the balance falls.
Worked example
Want this with your own numbers? See Show the work above.
You owe 5,000 on a card with a 24.99% APR. The monthly rate is 0.2499 ÷ 12 = 0.020825, so the first month’s interest is 5,000 × 0.020825 = 104.13 (rounded to the cent).
Paying 200 a month: after the first payment you owe 5,000 + 104.13 − 200 = 4,904.13, so only 95.87 of the 200 went to the balance. The formula estimates −ln(1 − 0.020825 × 5,000 ÷ 200) ÷ ln(1 + 0.020825) = 35.67 months. Paid month by month, you pay 7,135.18 in all: 35 payments of 200 and a last one of 135.18, so 36 months and 2,135.18 of interest.
Paying it off in 24 months: 5,000 × 0.020825 ÷ (1 − (1 + 0.020825)−24) = 266.8325, rounded up to 266.84 a month. The last payment is 266.66, and the interest comes to 1,403.98.
Paying only the minimum of 1% of the balance plus interest, at least 25: the first minimum is 1% × 5,104.13 + 104.13 = 155.17. As the balance falls, so does the minimum. It takes 232 months (19 years and 4 months) and 9,099.84 of interest. Paying a fixed 155.17 every month instead takes 54 months and 3,370.37 of interest: 5,729.47 less.
FAQ
Why does paying only the minimum take so long?
Because the minimum shrinks as the balance does. Each month you pay a little less, so less goes to the balance, and the interest keeps going for years. Keeping your payment at the first minimum, even as the minimum falls, makes a big difference, as the worked example shows.
What minimum payment does my card ask for?
Each card sets its own rule, and your statement or card agreement says what it is. It’s often a percentage of the balance (OpenStax’s examples use 2.5%, or 1% plus that month’s interest), with a lowest amount such as 25. Enter your card’s rule to see your own numbers.
How do I pay off my card by a certain date?
Choose “The payment to pay it off in time” and enter the number of months until then. The result is the fixed payment that gets you there. Paying a little more than that each month finishes sooner.
Is this how my card works out interest?
Close, but not exactly. Many cards work out interest from your average daily balance and the number of days in each billing cycle, rather than as one twelfth of the yearly rate. Payment dates, fees, and new purchases also change the numbers, so treat the result as a close guide, not a statement.
What about a 0% balance transfer or a rate that changes?
This calculator uses one rate the whole time. For a 0% offer that ends, take the payments made during the offer off the balance (plus any transfer fee you were charged), then enter what’s left with the new rate.
What if my payment doesn’t cover the interest?
Then the balance never goes down, and the calculator says so. Paying only a little more than the interest pays it off very slowly: in the worked example, 104.14 a month (a cent more than the first month’s interest) takes 429 months. The bigger the payment, the faster it goes and the less interest you pay.
Sources
- The loan payment formula, and solving for the time to pay off with logarithms: D. Lippman, Math in Society, Loans
- Minimum payment rules and credit card interest: OpenStax Contemporary Mathematics, section 6.10, Credit Cards
Cite this page
APA (7th edition)
Mathlark. (2026, October 6). Credit card payoff calculator. https://mathlark.com/finance/credit-card-payoff-calculator/
MLA (9th edition)
"Credit Card Payoff Calculator." Mathlark, 6 Oct. 2026, mathlark.com/finance/credit-card-payoff-calculator/.
Related calculators
For informational purposes only. This is not financial advice.