How to calculate how long a debt takes to pay off

Months to pay off = -ln(1 - r x B / P) / ln(1 + r), where B is the balance, P the monthly payment and r the yearly rate divided by 12. For $5,000 at 18% paying $200 a month, r is 0.015 and the answer is 31.6, so 32 months and about $1,314 of interest. In Excel or Google Sheets, =ROUNDUP(NPER(18%/12, -200, 5000), 0) gives the same 32.

Buy for $12 2027 Planner & Budget Bundle — Excel, Google Sheets + 96-page printable · $12

Worked example: $5,000 at 18%, $200 a month

  1. Monthly rate: 18% / 12 = 1.5%, so r = 0.015.
  2. First month interest: 0.015 x $5,000 = $75. Your $200 payment cuts the balance by $125, to $4,875.
  3. r x B / P = 75 / 200 = 0.375.
  4. 1 - 0.375 = 0.625, and ln(0.625) = -0.4700.
  5. ln(1.015) = 0.01489.
  6. Months = 0.4700 / 0.01489 = 31.6, so the debt is gone in month 32, with a smaller final payment.

Check: will the payment ever clear it?

The payment must be bigger than the monthly interest (r x B). On $5,000 at 18% that is $75. Pay $75 or less and the balance never falls; the formula breaks because it takes the log of zero or a negative number. Minimum payments on cards are often only a little above this line, which is why they take years.

Work backwards from a target date

To clear the debt in n months, the payment is P = r x B / (1 - (1 + r)^-n). For 24 months: 75 / (1 - 1.015^-24) = 75 / 0.3005 = $249.62. In a spreadsheet: =PMT(18%/12, 24, -5000).

An extra $50 a month saves 8 months and about $325 of interest.

Monthly paymentMonthsInterest (about)
$20032$1,314
$25024$989

Several debts

Work out each debt with the same formula. Then pick an order for any extra money: highest rate first (avalanche) saves the most interest; smallest balance first (snowball) gives quicker wins.

When one debt is cleared and its payment rolls onto the next, the second debt speeds up, and the simple formula no longer covers it. You need a month-by-month schedule for that, which a free tool such as a Vertex42 debt snowball spreadsheet does.

Where the bundle fits

The Debt Payoff tab in our 2027 Planner & Budget Bundle runs the NPER calculation for up to 10 debts, shows the paid-off month and a rough interest figure (months x payment minus balance, which runs a little high), and says "payment too low" when a payment never clears the interest. It calculates each debt on its own and does not model roll-over between debts.

The product

Questions

Does this work for loans as well as cards?

Yes, for any fixed-rate debt with a fixed monthly payment. Card rates can change, so recalculate when yours does.

Why is my statement payoff date different?

Statements may use daily interest, fees or a minimum payment that falls with the balance. The formula assumes a fixed payment and monthly interest.

Is this financial advice?

No. It is arithmetic to help you compare options. For a big decision, talk to a qualified adviser or a free debt charity.

Related

Updated 2026-12-01