The credit card payoff formula, worked out step by step - a $5,000 balance at 22% APR paid at $250 a month takes 26 months. Includes the payment that never pays a card off.
How long until the balance is gone — and what the interest really costs.
A credit card balance, a fixed monthly payment and a fixed APR determine exactly one payoff time, and the formula for it is standard:
n = −ln(1 − rP / M) / ln(1 + r)
The formula has one hard condition: your payment must exceed one month’s interest on the balance (M must be greater than r times P). If it does not, the expression inside the logarithm goes negative, the formula has no answer, and neither does your repayment — the balance grows instead of shrinking. That is not a quirk of the mathematics; it is the mathematics telling you the truth.
Monthly rate r = 0.22 / 12 = 0.018333. One month’s interest on $5,000 is $91.67, and $250 comfortably exceeds it, so the formula applies.
rP / M = 91.67 / 250 = 0.36667. Then 1 − 0.36667 = 0.63333. The natural log of 0.63333 is −0.45676, and the natural log of 1.018333 is 0.01817. So n = 0.45676 / 0.01817 = 25.14 — about twenty-five and a seventh payments, which rounds up to 26 monthly payments, the last one partial.
Run the same debt month by month, as our Credit Card Payoff Calculator does, and the result matches: 26 months, $1,285.72 of interest, $6,285.72 paid in total for $5,000 of purchases. The formula and the simulation agree because they describe the same process — the formula is simply the simulation solved in one step.
Monthly rate r = 0.18 / 12 = 0.015. One month’s interest is $45.00, well below the $150 payment.
rP / M = 45 / 150 = 0.30. Then 1 − 0.30 = 0.70. The natural log of 0.70 is −0.35668, and the natural log of 1.015 is 0.01489. So n = 0.35668 / 0.01489 = 23.96, rounding up to 24 monthly payments. Month-by-month simulation gives the same 24 months, with $593.48 of interest and $3,593.48 paid in total.
Monthly rate r = 0.24 / 12 = 0.02. One month’s interest is $160.00, below the $300 payment, so the formula applies.
rP / M = 160 / 300 = 0.53333. Then 1 − 0.53333 = 0.46667. The natural log of 0.46667 is −0.76214, and the natural log of 1.02 is 0.01980. So n = 0.76214 / 0.01980 = 38.49, rounding up to 39 monthly payments. Simulation confirms 39 months, with $3,546.79 of interest and $11,546.79 paid in total — nearly half as much again as the original balance, which is the honest price of a high APR paid off slowly.
Drop the payment in the first example to $90 a month and watch what happens. One month’s interest on $5,000 at 22% is $91.67 — more than the payment. The $90 covers part of the interest, the remaining $1.67 of interest is added to the balance, and next month’s interest is charged on $5,001.67. The debt grows every month, forever, while you pay faithfully. In the formula, rP / M = 91.67 / 90 = 1.0185, which is greater than 1, so 1 − rP / M is negative and the logarithm does not exist. “No answer” is the correct answer.
This is the trap minimum payments are built around. Minimums are typically set near the interest line — often the month’s interest plus a small slice of principal — which is why minimum-only repayment can stretch a single balance across a decade. The first question about any card is not “what is the minimum?” but “how far above one month’s interest is my payment?” If the answer is “barely,” the payoff time is measured in years; if it is “not at all,” there is no payoff time.
The formula’s fractional answer is not a rounding error to ignore. In the first example, 25.14 means twenty-five full $250 payments plus a fourteenth of a payment — about $35 — in the final month, for a total of $6,285.72 rather than 26 times $250 ($6,500). The calculator above handles this automatically: it reports whole months and the exact interest, with the final partial payment folded in. If you work the formula by hand, remember that total paid is (whole months minus one) times the payment, plus the final partial amount — never the rounded-up month count times the full payment.
Stay with the $5,000 balance at 22%. At $200 a month the formula gives 33.75, or 34 payments, with $1,749.88 of interest. At $250 it gives 25.14, or 26 payments, with $1,285.72. At $300 it gives 20.07, or 21 payments, with $1,021.60. Each additional fifty dollars does two jobs at once: it shortens the road and it shrinks the balance that interest is charged on, month after month, so the savings compound in your favor for once. This is also the honest mathematics behind the debt avalanche and debt snowball methods — both work because any fixed, above-minimum payment works; the best plan is the one whose monthly figure you will actually sustain. Run your own numbers through our Credit Card Payoff Calculator, which replays the debt month by month and shows the payoff date, the interest bill and the total paid for any balance, APR and payment.
The formula assumes a fixed APR, no new charges, and interest compounded monthly at APR divided by 12. Issuers typically apply a daily periodic rate to your average daily balance, which the monthly approximation tracks closely for planning purposes — the three examples above match month-by-month simulation to the cent, and real statements usually land within a few dollars of the calculation. Fees, penalty rates, a changing APR or new purchases all move the real payoff away from the formula’s answer, so treat the result as a planning-grade figure and re-run it whenever the terms change. If the card stays in a drawer and the APR holds, the formula’s answer is the answer.
This schedule uses the page’s standard example: a $5,000 balance at 22% APR, paid at $250 a month. Each month’s interest is the remaining balance multiplied by 22% divided by 12. The rest of the $250 payment reduces the balance, so the next month’s interest is a little lower.
| Month | Payment | Interest | Principal | Remaining balance |
|---|---|---|---|---|
| 1 | $250.00 | $91.67 | $158.33 | $4,841.67 |
| 2 | $250.00 | $88.76 | $161.24 | $4,680.43 |
| 3 | $250.00 | $85.81 | $164.19 | $4,516.24 |
| 4 | $250.00 | $82.80 | $167.20 | $4,349.04 |
| 5 | $250.00 | $79.73 | $170.27 | $4,178.77 |
| 6 | $250.00 | $76.61 | $173.39 | $4,005.38 |
| 7 | $250.00 | $73.43 | $176.57 | $3,828.81 |
| 8 | $250.00 | $70.19 | $179.81 | $3,649.00 |
| 9 | $250.00 | $66.90 | $183.10 | $3,465.90 |
| 10 | $250.00 | $63.54 | $186.46 | $3,279.44 |
| 11 | $250.00 | $60.12 | $189.88 | $3,089.56 |
| 12 | $250.00 | $56.64 | $193.36 | $2,896.20 |
| 13 | $250.00 | $53.10 | $196.90 | $2,699.30 |
| 14 | $250.00 | $49.49 | $200.51 | $2,498.79 |
| 15 | $250.00 | $45.81 | $204.19 | $2,294.60 |
| 16 | $250.00 | $42.07 | $207.93 | $2,086.67 |
| 17 | $250.00 | $38.26 | $211.74 | $1,874.93 |
| 18 | $250.00 | $34.37 | $215.63 | $1,659.30 |
| 19 | $250.00 | $30.42 | $219.58 | $1,439.72 |
| 20 | $250.00 | $26.39 | $223.61 | $1,216.11 |
| 21 | $250.00 | $22.30 | $227.70 | $988.41 |
| 22 | $250.00 | $18.12 | $231.88 | $756.53 |
| 23 | $250.00 | $13.87 | $236.13 | $520.40 |
| 24 | $250.00 | $9.54 | $240.46 | $279.94 |
| 25 | $250.00 | $5.13 | $244.87 | $35.07 |
| 26 | $35.72 | $0.65 | $35.07 | $0.00 |
| Total | $6,285.72 | $1,285.72 | $5,000.00 | $0.00 |
Read each row from left to right: the payment is split between interest and principal, and the remaining balance is what is still owed after that payment. Early on, interest takes a larger share of each payment; as the balance falls, more of each payment goes to principal.
The final payment is smaller, $35.72 in month 26, because only $35.07 remains to be repaid. In total, the schedule adds up to $6,285.72 paid, including $1,285.72 in interest, matching the calculator above. Paying more each month would reduce the balance faster, so the schedule would finish sooner.
Run it once per card, separately — the formula describes a single balance at a single APR. With several cards, the fastest financial route is to attack the highest APR first while paying minimums elsewhere (the avalanche); the fastest motivational route is clearing the smallest balance first (the snowball). Either way, each card gets its own calculation.
The formula assumes a fixed APR. If the rate changes — a promotional rate expiring, a penalty rate, a negotiated reduction — re-run the formula with the new APR and the remaining balance as the new starting figure. A lower APR entered into the same formula is also how you measure what a successful “please lower my rate” phone call is worth.
Yes, and the same formula measures it: enter the transferred balance, the promotional APR and its duration, plus any transfer fee added to the balance. If the promotional period ends before the formula’s payoff time, the remaining balance continues at the standard APR and needs a second calculation.
It is exact for its own assumptions — fixed APR, fixed payment, no new charges, monthly compounding. Real statements use daily compounding and may include fees, so expect small differences. For deciding between payment amounts and for choosing a payoff plan, the formula’s answer is the right tool.