How Long to Pay Off Credit Card Formula

The basic credit card payoff formula estimates the number of months needed to pay off a balance when the monthly payment stays fixed. It uses the balance, APR, and payment amount to measure whether the payment is strong enough to overcome interest and reach zero.

The formula is useful when you want the math behind a payoff estimate. It’s less useful for shrinking minimum payments, because the payment amount can change as the balance changes.

For a less formula-heavy overview with payment examples, see how long it takes to pay off credit card debt.

Last updated: June 2026

Quick answer

The fixed-payment payoff formula estimates how many months it takes to pay off a balance using APR and a steady monthly payment. It works best when the payment stays the same and no new charges or fees are added. If the payment changes over time, a calculator is safer than the formula.


The payoff formula

For a fixed monthly payment, the payoff time can be estimated with this formula:

Fixed-payment payoff formula

n = -ln(1 - (r × B / P)) / ln(1 + r)

Round the result up to the next full month because credit card payments are usually made in monthly cycles.

Symbol Meaning
n Estimated number of months until payoff
B Current credit card balance
r Monthly interest rate, calculated as APR ÷ 12 ÷ 100
P Fixed monthly payment
ln Natural logarithm

This formula works because each month starts with the prior balance, adds interest, then subtracts the same payment amount. The natural logarithm solves for the number of months needed for that repeating pattern to reach zero.

Worked example: $10,000 at 22% APR

Here’s a fixed-payment example using a $10,000 balance, 22% APR, and a $300 monthly payment.

Balance

$10,000

APR

22%

Monthly payment

$300

Estimated payoff time

52 months

Step 1: Convert APR to a monthly rate

APR is annual, but the payoff estimate is monthly. A 22% APR becomes a monthly rate of about 0.018333.

Monthly rate

r = 22 ÷ 12 ÷ 100 = 0.018333

Step 2: Put the numbers into the formula

Example calculation

n = -ln(1 - (0.018333 × 10000 / 300)) / ln(1.018333)

The result is about 51.99 months, which rounds up to 52 monthly payments.

Step 3: Read the result correctly

The formula says the payoff takes about 52 months. A month-by-month estimate gives about $5,596 in interest and about $15,596 total paid, assuming the payment stays fixed and no new charges or fees are added.

Check the same example in the calculator

Open the Credit Card Payoff Calculator →
Start with the $10,000 example, then change the balance, APR, or payment to compare your own estimate.

Why the payment has to clear interest first

The formula only works when the payment is high enough to reduce the balance over time. Each month, interest is added before the payment reduces the balance.

Using the same $10,000 balance at 22% APR, the first month’s interest is about $183.33. A $300 payment clears that interest and reduces principal by about $116.67.

First-month item Amount
Starting balance $10,000.00
Monthly interest $183.33
Payment $300.00
Estimated principal reduction $116.67

That principal reduction is what makes the payoff possible. If the payment only covers interest, the balance barely moves. If it doesn’t cover interest, the balance can grow instead of falling.


Why minimum payments need different math

A fixed-payment formula assumes the same payment every month. Credit card minimums often don’t behave that way.

A card-style minimum may be calculated as a percentage of the balance with a fixed floor. Early in repayment, the percentage may produce a larger payment. Later, as the balance falls, the required amount may fall too.

That changing payment is why minimum-only payoff estimates often need a month-by-month model. The calculation has to repeat the cycle: add interest, calculate the current minimum, subtract the payment, and carry the remaining balance forward.

Compare fixed payment vs minimum payment

Debt Payoff Timeline Calculator →
See why a payment that stays fixed can produce a different payoff estimate than a shrinking minimum-payment model.

How DebtOptimizerHub calculates payoff estimates

DebtOptimizerHub’s payoff calculator uses month-by-month amortization instead of relying only on the closed-form formula. That approach works for both fixed payments and card-style minimum estimates.

Each month, the calculator estimates interest from the current balance and monthly rate, subtracts the payment, then carries the remaining balance into the following month. It repeats that process until the balance reaches zero or until the payment is too low to produce payoff progress.

This is also why the calculator can show details a single formula doesn’t show by itself, including the first-payment split, estimated total interest, payoff date, and balance over time.

Calculator note

Credit Card Payoff Calculator →
Estimate payoff time, total interest, payoff date, and the split between interest and principal.

Where the formula can be misleading

The formula is useful, but it’s still a simplified estimate. It won’t match every credit card statement exactly because real cards can include daily interest, statement timing differences, fees, promotional rates, penalty APRs, and issuer-specific payment rules.

It can also make the payoff look cleaner than it feels in real life. The formula assumes the payment is made consistently, the APR does not change, and no new purchases are added to the card.

Daily interest can vary

Actual statements may use daily balance methods instead of a simple monthly rate.

Fees can change the result

Late fees, cash advance fees, or balance transfer fees can add cost that the basic formula doesn’t include.

New purchases reset the estimate

Adding charges means the payoff calculation needs to start from the new balance.

When the formula is not enough

The fixed-payment formula is useful when the payment stays the same and the APR is stable. It becomes less useful when the payment is based on an issuer minimum, the rate changes, the card has a promotion, or new purchases keep entering the balance.

That’s why a formula guide should answer the math question, while the calculator should handle the practical estimate. Use the formula to understand the relationship between balance, APR, and payment. Use the calculator when the payment type or payoff schedule is more complicated.


Quick summary

Use the formula for fixed payments

The formula is best when the monthly payment remains the same until payoff.

Check that the payment beats interest

The formula breaks down when the payment doesn't clear the monthly interest charge.

Use a calculator for minimum payments

Changing minimums, extra payments, and multiple debts need month-by-month modeling.

Treat the answer as an estimate

APR changes, new purchases, fees, and payment timing can change the actual payoff date.


FAQ

What is the formula for how long it takes to pay off a credit card?

For a fixed monthly payment, use n = -ln(1 - (r × B / P)) / ln(1 + r). B is the balance, r is the monthly interest rate, and P is the monthly payment.

Does this formula work for credit card minimum payments?

It works best for fixed payments. Minimum payments can change as the balance changes, so a month-by-month estimate is usually more accurate for minimum-only payoff timelines.

Why does the formula use natural logarithms?

The balance changes by a repeating interest-and-payment pattern. Natural logarithms solve for the number of monthly cycles needed for that repeating pattern to reach zero.

What happens if the payment is too low?

If the payment does not cover enough interest and principal, the balance may fall very slowly or not fall at all. In that case, the formula may produce an invalid result or an estimate that is not practical.

Is this an exact credit card statement formula?

No. It’s an educational estimate. Actual statements may use daily interest, average daily balance rules, fees, promotional APR terms, penalty APRs, and issuer-specific minimum-payment rules.

About the author

DebtOptimizerHub is built and maintained by Michael Brady, a software developer. The calculators and examples are meant to make repayment math easier to compare and are for educational planning only. Learn more about the calculation methodology and editorial policy.