calculate-loan

01 Loan payments

Credit Card Payoff Formula: How to Calculate It

Calculator No. 01-22279 · Updated · Formula and assumptions shown below

The calculator on this page is switched off while it is checked. The formula is below, and the worked example shows how to do the sum by hand.

Estimate for education, not financial advice. The result follows from the numbers you enter and the formula shown. It is not a quote or an offer, and it does not include fees, taxes or insurance unless the calculator asks for them. Ask your lender for the exact figures.

To calculate your credit card payoff, use the formula months = ln(1 – (r × B) / P) / -ln(1 + r), where B is your current balance, P is your fixed monthly payment, and r is your monthly interest rate (APR divided by 12). Enter your balance, APR, and monthly payment to get the number of months to payoff and total interest paid.

Formula

The standard credit card payoff formula calculates the number of months needed to clear a balance with a fixed monthly payment. It is:

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

Where:

  • n = number of months to payoff
  • B = current credit card balance (in $)
  • P = fixed monthly payment amount (in $)
  • r = monthly interest rate = APR / 12 (as a decimal, e.g., 22% APR = 0.22/12 = 0.018333)
  • ln = natural logarithm

This formula assumes you make the same payment every month, no new charges, and the interest compounds monthly. It is the inverse of the standard loan payment formula, solving for time instead of payment.

Worked Example

Using the default values from the calculator above: balance = $5,000, APR = 22%, term = 5 years (60 months).

  1. Convert APR to monthly rate: r = 22 / 1200 = 0.0183333
  2. Calculate monthly payment: P = 5000 × 0.0183333 / (1 – (1 + 0.0183333)^-60) = 91.6667 / (1 – 0.3342) = 91.6667 / 0.6658 = $137.68 (rounded to 2 decimals)
  3. Total paid = 137.68 × 60 = $8,260.80
  4. Total interest = 8,260.80 – 5,000 = $3,260.80

So with a $5,000 balance at 22% APR, paying $137.68 per month for 60 months results in $3,260.80 in total interest. The calculator shows the same: monthly payment $137.68, total interest $3,260.80.

Assumptions

  • Fixed interest rate (APR) throughout the payoff period
  • Monthly compounding at APR / 12
  • Equal monthly payments, made on time
  • No new purchases, balance transfers, or cash advances
  • No fees (late fees, annual fees, balance transfer fees) are included

Real credit cards may have variable rates, promotional periods, or daily compounding, which will change the result. The formula gives an estimate for a simplified, fixed-rate scenario.

How to Use the Payoff Formula

To apply the formula, you need three numbers from your credit card statement: your current balance, your APR (annual percentage rate), and the monthly payment you plan to make. Here is the process:

  1. Divide your APR by 12 to get the monthly rate (as a decimal). For example, 18% APR becomes 0.015.
  2. Plug your balance (B), monthly payment (P), and monthly rate (r) into the formula.
  3. Calculate the natural logarithms. Most calculators or spreadsheet software have a ln function.
  4. Round the result up to the next whole month, since you cannot make a partial payment.

If you want to know how much to pay each month to clear the balance in a specific time, use the related formula: P = B × r / (1 – (1 + r)^-n). For example, to pay off $3,000 at 20% APR in 24 months, P = 3000 × 0.016667 / (1 – 1.016667^-24) = 50 / (1 – 0.671) = 50 / 0.329 = $151.98 per month.

Common Mistakes and Misconceptions

One frequent error is using the APR directly instead of dividing by 12. The monthly rate is always APR / 12, not APR / 100 (that gives a decimal, but you still need to divide by 12). Another mistake is forgetting to round the payment to the nearest cent before calculating total interest; using an unrounded payment will give a slightly different total.

A common misconception is that paying double the minimum payment cuts the time in half. That is not true because interest accrues on the remaining balance, so the payoff time depends on the actual payment amount relative to the interest. For example, with a $2,000 balance at 24% APR, the minimum payment might be $50, which takes about 61 months. Paying $100 takes about 25 months—not half, because the first $50 barely covers interest.

Another misconception is that the formula works with variable rates. If your APR changes, the result is invalid. Also, the formula assumes no new purchases; if you keep using the card, the balance grows and the payoff time increases.

Comparing Payoff Strategies

The payoff formula helps you compare different payment amounts. For instance, consider a $4,000 balance at 19% APR:

  • Paying $150 per month: n = ln(1 – (0.015833 × 4000)/150) / -ln(1.015833) = ln(1 – 0.4222) / -0.01571 = ln(0.5778) / -0.01571 = -0.5487 / -0.01571 = 34.9 months, total interest = 150 × 35 – 4000 = $1,250
  • Paying $200 per month: n = ln(1 – (0.015833 × 4000)/200) / -0.01571 = ln(1 – 0.3167) / -0.01571 = ln(0.6833) / -0.01571 = -0.3814 / -0.01571 = 24.3 months, total interest = 200 × 25 – 4000 = $1,000
  • Paying $300 per month: n = ln(1 – 0.2111) / -0.01571 = ln(0.7889) / -0.01571 = -0.2372 / -0.01571 = 15.1 months, total interest = 300 × 16 – 4000 = $800

Increasing the payment from $150 to $300 saves $450 in interest and cuts the time by about 20 months. This comparison helps you decide how much extra you can afford.

Costs and Fees Not Included

The payoff formula only covers principal and interest. Credit cards often have other costs that affect your total payoff:

  • Annual fees – charged once a year, adding to your balance
  • Balance transfer fees – typically 3% to 5% of the transferred amount
  • Cash advance fees – usually a flat fee or percentage, with a higher APR
  • Late payment fees – can be up to $40, plus a possible penalty APR
  • Foreign transaction fees – 1% to 3% on purchases in other currencies

If you carry a balance and make a new purchase, the grace period usually disappears, and interest starts accruing on new purchases immediately. That is why the formula assumes no new charges.

Safety and Accuracy Tips

To get the most accurate estimate from the formula, follow these steps:

  • Use your current statement balance, not your credit limit or available credit.
  • Check your APR on your statement; it may be a variable rate tied to the prime rate.
  • If you have multiple APRs (for purchases, balance transfers, cash advances), use the one that applies to the balance you are paying off.
  • Make your payment on time every month to avoid penalty APRs and late fees.
  • Recalculate if your APR changes or if you make an extra payment.

Also, be aware that the formula gives the number of months, but your payment due date may vary. If you pay early or late, the interest accrual changes slightly. The result is an estimate; your credit card statement will show the exact payoff amount if you call the issuer.

Alternatives to the Formula

Instead of doing the math by hand, you can use the calculator at the top of this page. It applies the same formula automatically. Other alternatives include:

  • Using a spreadsheet with the NPER function (e.g., =NPER(rate, payment, -balance))
  • Using a financial calculator with an N key
  • Using your credit card issuer’s online payoff calculator, if available
  • Calling your issuer to request a payoff quote, which includes interest up to a specific date

These methods all rely on the same underlying math, but they may handle rounding differently. The formula is transparent and lets you see each variable’s effect.

Frequently Asked Questions

How do I calculate the payoff time if I make extra payments?

If you make a one-time extra payment, subtract that amount from your balance and recalculate using the new balance. If you increase your monthly payment, use the new payment amount in the formula. For irregular extra payments, you would need to step through month by month, applying interest and payments in order.

What happens if my payment is less than the monthly interest?

If your payment is less than the interest accrued in a month, your balance will grow, not shrink. The formula will give a negative number under the square root or a log of a negative number, which means it is impossible to pay off the balance with that payment. You need to increase your payment to at least cover the monthly interest.

Does the formula work for 0% APR promotional periods?

Yes, but only if the 0% rate is constant. If you have a promotional APR of 0% for 12 months, set r = 0 during that period. The formula simplifies to n = B / P. After the promotional period ends, the rate changes, so you would need to recalculate with the new APR and remaining balance.

How is credit card interest compounded?

Most credit cards compound interest daily, not monthly. The formula uses monthly compounding for simplicity. Daily compounding results in slightly more interest than monthly, so the formula may underestimate the payoff time by a few days or weeks, depending on the balance and rate.

Can I use this formula for other debts like personal loans?

Yes, the formula works for any fixed-rate, fixed-payment loan, such as a personal loan or auto loan. The only difference is that credit cards typically have variable rates and no fixed term, while personal loans have a set term and payment. For a fixed-term loan, you usually know the payment and term, so you would use the payment formula instead.

This result is an estimate based on simplified assumptions; your credit card statement or lender’s disclosure gives the exact payoff figures.

Related

Formula used
in p | Loan amount | $ | 5000 | 1 | 100000000
in apr | Interest rate (APR) | % | 22 | 0.01 | 100
in yrs | Loan term | years | 5 | 0.0833 | 50
out pmt | Monthly payment | $ | p * (apr / 1200) / (1 - (1 + apr / 1200) ^ -(yrs * 12)) | 2
out int | Total interest | $ | pmt * yrs * 12 - p | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard loan formula for this calculation, fixed rate and monthly compounding unless stated, rounded as each result states. Not financial advice; no lender, rate or product is recommended. See formulas and assumptions, the disclaimer or report an error.

More in this section

The whole Loan payments section →