How to Calculate Credit Card Interest in Excel or Google Sheets (Copy-Paste Formulas)
A spreadsheet is a good way to see your card debt laid out month by month. The formulas below work the same in Excel, Google Sheets and LibreOffice. Each one is checked against the credit card interest calculator, so you can compare the answers.
Set up three cells
- B1: your balance, for example 5000
- B2: your APR, typed as a percentage, for example 22%
- B3: what you plan to pay each month, for example 150
Typing 22% (with the percent sign) stores it as 0.22, which is what the formulas expect. If you type 22 without the sign, divide by 100 in every formula.
Interest this month
=B1*B2/12
With 5,000 at 22% this returns 91.67. It is the standard monthly estimate, and it lands within a few cents of what most statements show.
Interest per day
=B1*B2/365
This returns 3.01. Most issuers charge interest daily at APR ÷ 365, so this is the cost of each day the balance stays on the card.
How many months to pay it off
=NPER(B2/12, -B3, B1)
With a payment of 150, NPER returns 51.99, so the card is clear on the 52nd payment. Change B3 to 250 and it drops to 25.14, or 26 payments.
The payment has to be negative because it is money leaving you. If NPER returns an error (#NUM!), your payment does not cover the monthly interest, and the balance would never be paid off.
The payment to clear it by a date
=PMT(B2/12, 24, -B1)
This returns 259.39: the fixed payment that clears 5,000 at 22% in 24 months. Replace 24 with 12, 36 or 60 to see the alternatives (467.97, 190.95 and 138.09).
Total interest over the payoff
For a payment from PMT, total interest is simply the payments minus the balance:
=PMT(B2/12, 24, -B1)*24 - B1
That gives about 1,225 for the 24-month plan. For a payment you chose yourself, the schedule below gives the exact figure, because the final payment is smaller than the rest.
A month-by-month payoff schedule
Put these headings in row 5: Month, Opening balance, Interest, Payment, Closing balance. Then fill in row 6:
- A6: 1
- B6: =B1
- C6: =B6*$B$2/12
- D6: =MIN($B$3, B6+C6)
- E6: =B6+C6-D6
And row 7:
- A7: =A6+1
- B7: =E6
- Copy C6:E6 down into C7:E7
Now select row 7 and fill it down until the closing balance reaches 0. The MIN in the payment column makes the last payment exactly what is left, so the balance never goes negative.
Add up the interest column with =SUM(C6:C100) to get the total interest. For 5,000 at 22% paid at 150 a month, it comes to 2,798.05 over 52 months, the same as the calculator.
Checking a statement with the daily method
Statements use the average daily balance rather than the month-end balance. List each balance in column G and the number of days it lasted in column H, then:
=SUMPRODUCT(G2:G10, H2:H10) / SUM(H2:H10)
That is the average daily balance. Multiply it by =B2/365 and by the number of days in the cycle to get the interest charge. For example, 2,000 for 10 days and 2,600 for 20 days averages 2,400, and at 22.99% over 30 days the interest is 45.35.
Comparing the minimum payment
To model a minimum of 1% of the balance plus interest, with a floor of 25, change the payment formula in D6 to:
=MIN(MAX(B6*1%+C6, 25), B6+C6)
and fill it down. On 5,000 at 22% the schedule runs for 230 months, more than 19 years, with 8,099.77 of interest. Check your own statement for your card's exact minimum rule.
Prefer not to build it?
The credit card interest calculator does all of this in the browser: interest this month, interest per day, payoff time, total interest, the minimum-payment comparison and the full monthly schedule.