CCalclabhub

Credit & Debt

Number of payments to zero

Requires P > rm x B. Round the result up, because a partial final month is still a full calendar month of payments.

Last updated

The Formula

n = -ln(1 - (rm x B) / P) / ln(1 + rm)

Requires P > rm x B. Round the result up, because a partial final month is still a full calendar month of payments.

SymbolMeaning
BBalance owed
r(m)Monthly periodic rate
PMonthly payment
nNumber of payments

What Each Symbol Means

Bcurrency

Balance owed

The current outstanding balance. Assumes no new purchases during the payoff period.

r(m)decimal

Monthly periodic rate

APR divided by 12, expressed as a decimal: 22.99% becomes 0.2299 / 12 = 0.0191583.

Pcurrency

Monthly payment

A fixed amount paid every month. Must exceed the first month's interest or the balance never clears.

nmonths

Number of payments

Months until the balance reaches zero, rounded up to the next whole month.

See It Worked With Real Numbers

A formula on its own does not tell you which number goes where. The how to calculate credit card payoff time page applies this equation to a concrete case, shows every intermediate step, and names the mistakes that produce a wrong answer even when the algebra is right.

Where This Formula Appears

This equation is the working core of How To Calculate Credit Card Payoff Time, filed under Finance. Every number the guide produces comes from substituting into this one line.

Common Questions

What is the formula for Number of payments to zero?

The formula for Number of payments to zero is n = -ln(1 - (rm x B) / P) / ln(1 + rm). Requires P > rm x B. Round the result up, because a partial final month is still a full calendar month of payments.

What does each symbol in Number of payments to zero stand for?

B is balance owed; r(m) is monthly periodic rate; P is monthly payment; n is number of payments.

What units should I use with Number of payments to zero?

Substitute B in money (any currency, as long as every money input uses the same one), r(m) in decimal, P in money (any currency, as long as every money input uses the same one), n in months. Convert every input to those units before you start, because the equation only returns the right answer when the units on both sides agree.

What is a common mistake when using Number of payments to zero?

Applying the formula to a payment at or below the monthly interest. Paying $124.53 or less on this balance retires nothing. The logarithm's argument becomes zero or negative, and there is no real solution because the balance never falls. The formula failing there is correct behavior, not a bug.