Tabellab

You are not signed in — the lab works, but your progress is not saved. Sign up

Lesson 1 of 20 is free. Unlock all 20 hands-on labs, the final exam and your certificate.

Buy course — $9.90
Loading the spreadsheet…

Why the interest on your card statement is not simply "APR divided by 12"

You open a credit card statement and see an interest charge of $27.02. Your APR is 24.99%, your closing balance is $1,499.05, and a quick calculation in your head says that a twelfth of 24.99% of that balance should be about $31. Where did the difference come from? The answer is the way most card issuers actually charge interest: by the day, on the balance you really had each day. Once you understand that, you can check your own statement, compare offers properly and see exactly why paying earlier saves money.

This lesson is for anyone who carries a card balance or wants to understand consumer credit: students of personal finance, financial coaches and counsellors, people working in banks or credit unions, bloggers who explain debt, and analysts who model card portfolios. You only need basic spreadsheet skills. The two key formulas, a date subtraction and a SUMPRODUCT, are explained step by step.

We follow the fictional Jordan and his Harbor Card through a September 2026 statement cycle. The lab above contains the same five transactions, the same 24.99% APR and the same 365-day convention, so every number below can be reproduced in the live sheet. Rates and rules are illustrative. Card agreements differ, so always check the terms of your own card. This is educational material, not financial advice.

The core concept: APR, daily rate and average daily balance

Three ideas carry the whole calculation.

  1. APR, the annual percentage rate. It is a yearly rate. On a credit card it is the rate the issuer applies to balances that are not covered by a grace period. A 24.99% APR does not mean you pay 24.99% every year on everything. It is the starting point for the daily rate.
  2. DPR, the daily periodic rate. Most issuers divide the APR by the number of days in the year. With 365 days, 24.99% ÷ 365 = 0.06847% per day. A few issuers use 360, which gives a slightly higher daily rate. That is why the lab keeps the day count in its own cell, B14, instead of hard-coding 365.
  3. ADB, the average daily balance. Your balance changes whenever you buy something or make a payment. The ADB gives each balance a weight equal to the number of days it lasted, then divides by the days in the cycle. A balance that sat there for seven days counts seven times. A balance that lasted one day counts once.

Put together, the interest for the cycle is ADB × DPR × days in the cycle. In words: the typical balance you carried, times the daily rate, times the number of days you carried it.

The tricky part is counting days. A balance lasts from the date of its transaction until the day before the next transaction. The last balance lasts until the end of the cycle including the last day. So the number of days is "next date minus this date", and for the final row "cycle end + 1 minus this date". Forgetting the +1 is the most common error, and it makes the days add up to 29 instead of 30.

Real issuers add details: some compound interest daily (each day's interest is added to the balance), some treat new purchases differently while you still have a grace period, and many round to the cent. The lab teaches the core method that these variations build on. It is not the exact rule of any specific card.

Worked example: Jordan's September cycle

The cycle runs from 1 to 30 September, 30 days. Jordan starts with $1,240 carried over from August, buys groceries on the 5th, pays $300 on the 12th, books a flight on the 18th and has dinner out on the 25th. The running balance in column D is simply the previous balance plus the new amount, =D4+C5, copied down. Payments are negative, so they reduce the balance automatically.

RowDate (A)Description (B)Amount $ (C)Balance $ (D)Days (E)Balance × days
41 Sep 2026Opening balance1,240.001,240.0044,960.00
55 Sep 2026Grocery purchase86.401,326.4079,284.80
612 Sep 2026Payment received−300.001,026.4066,158.40
718 Sep 2026Flight purchase412.751,439.15710,074.05
825 Sep 2026Restaurant59.901,499.0568,994.30
9Total3039,471.55
Jordan's Harbor Card, September 2026 cycle (illustrative). Column E: =IF(A5="",$B$12+1,A5)-A4 copied down. Balance × days is what SUMPRODUCT adds up for you.

Check the days first: 4 + 7 + 6 + 7 + 6 = 30, which matches the cycle length in B17. That check alone catches most counting errors. Then the balance × days column adds up to 39,471.55 "dollar-days". Divided by 30, that gives an average daily balance of $1,315.72. Notice that it is well below the closing balance of $1,499.05, because the two largest balances only existed during the last two weeks.

ResultCellFormulaValue
Days in cycleB17=B12-B11+130
Daily periodic rateB16=B13/B140.06847% (24.99% ÷ 365)
Average daily balanceB18=SUMPRODUCT(D4:D8,E4:E8)/B17$1,315.72
Interest for the cycleB19=B18*B16*B17$27.02
Shortcut for comparisonB20=D8*B13/12$31.22
The four results of the lab. The shortcut overstates the interest here by $4.20, because it charges the closing balance for the whole month.

The interest is $1,315.72 × 0.0006847 × 30 = $27.02. The shortcut on the closing balance gives $31.22. On one statement $4.20 may look small, but the gap has a clear cause, and it can go either way: if Jordan had made his big purchase on the first day and paid down the card at the end, the shortcut would understate the interest instead.

Timing is the lever you control. Suppose the $300 payment had arrived on 5 September instead of the 12th. The balance would have been $300 lower for seven more days, which removes 2,100 dollar-days. The ADB falls to $1,245.72, and the interest to about $25.59. Same purchases, same payment amount, $1.43 less interest, only because the money arrived a week earlier. Over a year of carrying a balance, paying as early as you can in each cycle adds up.

How small rule changes move the result

The core method stays the same, but two conventions that card agreements often mention can change the interest by a few cents or more. It is worth seeing their size with Jordan's numbers, because it tells you when a difference between your sheet and your statement is just a convention and when it deserves a question.

  • A 360-day year. Change B14 from 365 to 360. The daily rate rises to 24.99% ÷ 360 = 0.06942%, and the interest becomes about $27.40 instead of $27.02. A 360-day convention always produces slightly more interest for the same APR, roughly 1.4% more.
  • Daily compounding. Some issuers add each day's interest to the balance, so the next day's interest is charged on a slightly larger amount. For Jordan's cycle that gives about $27.28, only 26 cents more than the simple method. Over one month compounding hardly matters. Over many months of carrying a balance it adds up, which is why the effective yearly cost of a card is a little higher than its APR.
  • Rounding. Statements show cents, so issuers round. A difference of a cent or two between your sheet and your statement is normal and not worth worrying about.

If your own calculation is off by several dollars rather than cents, the cause is usually not a convention but a missing transaction, a payment credited on a different date than you expected, a fee that also carries interest, or a balance that is still within a grace period. The second lesson of this course deals with exactly that last case.

Jordan's daily balance in September vs the average daily balance$0$400$800$1,200$1,600$1,240.004 days$1,326.407 days$1,026.406 days$1,439.157 days$1,499.056 daysADB $1,315.721512182530Day of the statement cycle (1 to 30 September 2026)
Figure 1. Each coloured block is one balance and the number of days it lasted. The dashed line is the average daily balance, $1,315.72: the area under the steps divided by 30 days.

Interest for the September cycle, three ways (24.99% APR)$0$5$10$15$20$25$30$35Average daily balance method$27.02Same, but $300 paid on 5 Sep$25.59Shortcut: closing balance x APR / 12$31.22Timing matters: an earlier payment lowers the ADB and so the interest. The shortcut ignores timing.
Figure 2. The interest for the same cycle calculated three ways. The average daily balance method is what the lab teaches. Paying a week earlier lowers it, the closing-balance shortcut overstates it in this example.

How to do it in Excel, step by step

You can rebuild the lab in Excel or Google Sheets in about ten minutes. These steps use the same cell layout as the lab.

  1. Type the transactions in rows 4 to 8: date in column A, description in B, amount in C (payments negative). Format the dates with Home > Number > Short Date or Ctrl+Shift+#. Excel stores dates as serial numbers, which is why you can subtract them.
  2. In D4 type =C4, in D5 =D4+C5, then select D5:D8 and press Ctrl+D to fill down.
  3. Enter the cycle start in B11 and the cycle end in B12. Tip: =EOMONTH(B11,0) returns the last day of the month for a calendar-month cycle. In B17 type =B12-B11+1.
  4. In E4 type =IF(A5="",$B$12+1,A5)-A4. Press F4 (Mac: Cmd+T) while the cursor is on B12 to lock it. Fill down to E8 and add =SUM(E4:E8) in E9. It must show 30.
  5. In B13 enter the APR as 24.99% and in B14 the day count, 365. In B16 type =B13/B14 and format it as a percentage with four or five decimals, using Home > Increase Decimal.
  6. In B18 type =SUMPRODUCT(D4:D8,E4:E8)/B17. SUMPRODUCT multiplies each balance by its days and adds the products, so you do not need a helper column.
  7. In B19 type =B18*B16*B17. If you want to match a statement to the cent, wrap it: =ROUND(B18*B16*B17,2).
  8. For comparison, put the shortcut in B20: =D8*B13/12. Then try a what-if: change the payment date in A6 to 5 Sep and watch the ADB and the interest drop.
Build in a control check next to E9, for example =IF(E9=B17,"OK","Check days"). If you ever insert a transaction and forget to adjust the days, the sheet will tell you immediately.

Credit card interest calculation in Excel with APR, daily periodic rate and average daily balance
Consumer credit maths in a spreadsheet: every statement figure can be rebuilt from the transactions, the dates and the APR.

Common mistakes and how to spot them

  • Dropping the last day. =B12-A8 gives 5 instead of 6 for the last balance. Spot it: the days in E9 add up to 29, not 30.
  • Using AVERAGE instead of a weighted average. =AVERAGE(D4:D8) gives $1,306.20, which treats a 4-day balance the same as a 7-day one. Spot it: the result does not change when you move a date.
  • Using a monthly rate with daily balances. =B18*B13/12 gives $27.40, close but not right, because 30 ÷ 365 is not exactly 1 ÷ 12. Spot it: the interest does not change between a 30-day and a 31-day cycle.
  • Typing the APR as 24.99 instead of 24.99%. The daily rate becomes 6.8%, and the interest jumps to thousands of dollars. Spot it: any monthly interest larger than about 2% to 3% of the balance is a red flag.
  • Entering payments as positive amounts. The balance rises when you pay. Spot it: the running balance goes up on the "Payment received" row.
  • Hard-coding 365. If your issuer uses 360, every result is slightly off. Keep the convention in its own cell so you can change it once.

Quick reference: Excel functions and shortcuts used

Function or shortcutWhat it does hereExample
SUMPRODUCTMultiplies balances by days and adds the results=SUMPRODUCT(D4:D8,E4:E8)
IF with ""Uses the cycle end + 1 when there is no next date=IF(A5="",$B$12+1,A5)-A4
Date subtractionDays between two dates (dates are serial numbers)=A6-A5 gives 7
DAYSSame as subtraction, end date first=DAYS(B12,B11)+1
EOMONTHLast day of a month, handy for cycle ends=EOMONTH(B11,0)
Ctrl+; (semicolon)Types today's date into a cellUseful for a running log
Ctrl+Shift+#Applies a date formatShows 46266 as a date
F4 (Mac: Cmd+T)Makes a reference absoluteB12 becomes $B$12
ROUNDRounds interest to cents as a statement would=ROUND(B18*B16*B17,2)

Real-world uses

  • Checking your own statement. Copy the transactions from your online banking into the sheet and see whether your result is close to the interest charged. A large unexplained difference is a reason to read the card terms or call the issuer.
  • Choosing when to pay. If you carry a balance, the sheet shows how much an earlier payment saves. That helps you decide whether to pay part of the balance as soon as your salary arrives instead of on the due date.
  • Financial coaching and education. Counsellors can show clients, with their own numbers, why "paying something early" matters and why the closing balance alone does not explain the interest.
  • Comparing cards. Two cards with the same APR can produce different interest if one uses a 360-day year or compounds daily. The lab layout makes those differences visible.
  • Portfolio and product analysis. Analysts at lenders use the same balance × days logic to estimate interest income, test pricing changes and explain movements in revenue.

What you will build in the rest of this course

Lesson 1 is free. The remaining 19 lessons are part of the full course, unlocked with a one-time payment of $9.90. Each lesson is a hands-on lab that builds on what you did here.

Grace Period Logic: Pay in Full or Pay Interest. You model the rule that decides whether new purchases are interest-free, and see why paying 99% of the statement balance can cost far more than paying 100%.

Minimum Payment Schedules & Months to Payoff. You build a month-by-month schedule for a card where only the minimum is paid and find out how many months and how much interest that really takes.

Avalanche vs Snowball: Payoff Order, Rollover & Total Interest. You compare the two classic debt payoff strategies on several cards, including rolling freed-up payments into the next debt.

Balance Transfer Offers: Fee vs Interest Saved. You weigh the upfront transfer fee against the interest saved during the promotional period and find the point where an offer stops paying off.

BNPL Instalments & Late Fees: The Effective Cost. You turn "pay in four" plans and their late fees into an effective annual cost, so you can compare them with a card or a loan.

Personal Loan vs Credit Card: PMT, Fees & Total Cost. You use PMT to price a personal loan with fees and compare its total cost with keeping the balance on a card.

Credit Utilisation & Simple Score Factors. You calculate utilisation per card and overall and see how balances and limits interact in a simplified score model.

Summary

Card interest is charged by the day. Divide the APR by the issuer's day count to get the daily periodic rate, weight every balance by the days it lasted to get the average daily balance, and multiply ADB × DPR × days. For Jordan that gives an ADB of $1,315.72 and $27.02 of interest, not the $31.22 the closing-balance shortcut suggests, and paying a week earlier would cut it further.

Now scroll up and try the lab: fill the days in E4:E8, calculate the daily rate, the average daily balance and the interest. The Coach checks each cell and explains the typical mistakes, such as the missing last day.

Frequently asked questions

How is credit card interest calculated?

Most issuers divide the APR by 365 (sometimes 360) to get a daily rate and apply it to the average daily balance for each day of the cycle. Interest is roughly average daily balance x daily rate x days in the cycle.

What is the daily periodic rate?

It is the APR divided by the number of days the issuer uses for a year. At 24.99% APR and 365 days it is about 0.068% per day.

How do I calculate the average daily balance in Excel?

List each balance with the number of days it lasted, then use =SUMPRODUCT(balances,days)/days_in_cycle. The days must add up to the cycle length.

Why is my card interest different from APR divided by 12?

APR divided by 12 applied to the closing balance ignores when you spent and paid during the month. The daily method weights each balance by its days, so the result can be higher or lower.

Does paying my credit card early reduce interest?

If you carry a balance, a payment earlier in the cycle lowers the average daily balance and therefore the interest. If you pay the full statement balance by the due date, many cards charge no interest on purchases thanks to the grace period.

Is APR the same as the interest I pay per year?

Not exactly. APR is the annual rate used to derive the daily rate. If interest compounds daily or your balance changes, the interest you actually pay over a year differs from APR times one balance.

Keep going: Consumer Credit Math: Credit Cards, APR, Minimum Payments & BNPL

This free lab is lesson 1 of 20. Unlock the other 19 hands-on labs, the final exam and your certificate for a one-time $9.90.

  1. Grace Period Logic: Pay in Full or Pay Interest
  2. Minimum Payment Schedules & Months to Payoff
  3. Avalanche vs Snowball: Payoff Order, Rollover & Total Interest
  4. Balance Transfer Offers: Fee vs Interest Saved
  5. BNPL Instalments & Late Fees: The Effective Cost
  6. Personal Loan vs Credit Card: PMT, Fees & Total Cost
  7. Credit Utilisation & Simple Score Factors
  8. Daily Compounding & the Effective Annual Rate of a Card APR
  9. One Card, Three APRs: How Your Payment Is Allocated
  10. Cash Advances: Fees, No Grace Period & the Real Cost
  11. Deferred Interest vs True 0%: The Retroactive Interest Trap
  12. Late Payments & Penalty APR: What One Missed Due Date Costs
  13. Debt-to-Income Ratio: How Much New Payment Fits
  14. Debt Consolidation: Weighted APR, Fees & the Total-Cost Test
  15. 0% Financing or a Cash Discount? Finding the Hidden Rate
  16. Overdraft & Short-Term Loan Fees Expressed as APR
  17. Rewards Cards: Annual Fee Break-Even & When Interest Wipes Out Cashback
  18. Sensitivity Grid: Payoff Months & Interest by Payment and APR
  19. Final Project: Household Credit Dashboard – Interest, Utilisation & Payoff Months

Buy course — $9.90 See the full course