Sub topic 2
How Interest Accrues Each Month
This chapter assumes you know what a balance, an APR and a minimum payment are, and that you can do percentage arithmetic. You also need to read a short Python script. By the end, you should be able to compute one month of interest by hand and explain why the order of operations in a month matters.
From APR to a monthly charge
APR (annual percentage rate) is a yearly rate. Lenders usually charge interest more often than once a year, so the yearly rate gets divided into smaller periods. For a simple monthly model, divide the APR by 12:
monthly interest = balance × APR ÷ 12Three debts from this tutorial's running example show the effect:
| Debt | Balance | APR | Monthly rate | Interest this month |
|---|---|---|---|---|
| Card A | 3,000.00 | 24% | 2.0000% | 60.00 |
| Card B | 800.00 | 12% | 1.0000% | 8.00 |
| Loan | 6,000.00 | 7% | 0.5833% | 35.00 |
Card A has the smallest balance but the second-largest interest charge, and that charge is more than seven times Card B's. Interest depends on both the balance and the rate. That is why the two payoff methods can disagree about which debt is "worst".
Interest is added to the balance
Interest is not billed separately. Each month it is added to the balance, so next month's interest is charged on a slightly larger number if you pay nothing. Charging interest on earlier interest is compounding.
With monthly compounding, 24% APR is a little more than 24% over a full year. If you never paid anything, 3,000.00 would grow by a factor of 1.02 each month:
(1 + 0.24 ÷ 12)^12 − 1 = 1.02^12 − 1 ≈ 0.2682The effective annual rate is about 26.82%. For payoff planning, the monthly rate is the number that matters, because you make a decision every month.
The order of events in one month
A payment reduces the balance after interest has been added. The simulation in this tutorial follows this sequence each month:
The order is important. Interest is charged on the balance you carried into the month, not on the balance after you pay. A payment made in month 1 lowers month 2's interest but does nothing for month 1's.
Worked example: Card A with a 90.00 payment
Take Card A: balance 3,000.00, APR 24%, and a payment of 90.00 each month.
- Month 1 interest is 3,000.00 × 0.24 ÷ 12 = 60.00. The balance becomes 3,060.00, and after the payment it is 2,970.00.
- Month 2 interest is 2,970.00 × 0.02 = 59.40. The balance becomes 3,029.40, and after the payment it is 2,939.40.
- Month 3 interest is 2,939.40 × 0.02 = 58.788, which rounds to 58.79. The balance becomes 2,998.19, and after the payment it is 2,908.19.
Each payment splits into two parts. The interest part pays the lender for the month. The principal part, whatever is left over, reduces what you owe. In month 1, 60.00 of the 90.00 payment is interest, so only 30.00 reduces the debt. This is the first reason minimum payments feel slow, and a later chapter covers it in full.
The same arithmetic in Python:
def accrue(balance, apr):
"""One month of interest, rounded to whole cents."""
return round(balance * apr / 12, 2)
balance = 3000.00
apr = 0.24
payment = 90.00
print("month interest principal balance")
for month in range(1, 4):
interest = accrue(balance, apr)
principal = round(payment - interest, 2)
balance = round(balance + interest - payment, 2)
print(f"{month:>5} {interest:>8.2f} {principal:>9.2f} {balance:>8.2f}")Running it prints:
month interest principal balance
1 60.00 30.00 2970.00
2 59.40 30.60 2939.40
3 58.79 31.21 2908.19Interest falls slightly each month and principal rises by the same amount. The payment stays fixed, so a growing share of it goes to principal over time.
Every debt accrues interest, paid or not
The simulation applies step 1 (accrue interest) to every debt before any payment is made. A debt that receives only its minimum payment still grows by its full monthly interest. Only the target debt gets the extra money, and the other debts are not paused while you work on it.
This is why extra money has a price. Each dollar sent to one debt is a dollar not sent to another, and the other debt keeps accruing at its own rate in the meantime. Comparing methods comes down to comparing what each dollar saves.
When the payment is smaller than the interest
Suppose Card A's payment were 50.00 instead of 90.00. Interest is 60.00, so the balance after month 1 is 3,000.00 + 60.00 − 50.00 = 3,010.00. The debt grows even though you paid. This is called negative amortization, and it happens whenever payment < balance × APR ÷ 12.
The break-even payment for a debt is simply its monthly interest. Anything above it is principal.
Rounding and the final month
Lenders charge in whole cents, and so does the simulation. It rounds each debt's interest to two decimals every month. Two consequences follow:
- Your result can differ from a statement by a few cents per month. Lenders may round differently or use slightly different day counts.
- The final month is smaller than a normal payment. When the balance plus interest is less than the minimum, the code pays
min(payment, balance), so you never overpay.
Using Python's float for money is acceptable for a teaching simulation because rounding to cents after each step keeps errors tiny. For real accounting software, use decimal.Decimal or integer cents.
Daily interest: what cards actually do
The monthly model is a simplification. Credit cards typically compute interest daily:
daily rate = APR ÷ 365
interest for the cycle = average daily balance × daily rate × days in cycleBilling cycles have 28 to 31 days, so the charge varies from month to month even with an unchanged balance:
balance, apr = 3000.00, 0.24
for days in (30, 31):
print(days, round(balance * apr / 365 * days, 2))This prints 30 59.18 and 31 61.15. Both differ from the flat 60.00 of the monthly model.
Daily accrual has two practical effects:
- The date a payment posts matters. Paying on day 5 of a cycle removes interest for the other 25 days. Paying on day 28 removes it for 2.
- Purchases and fees change the average daily balance in the middle of the cycle.
Many installment loans (car loans, personal loans) accrue interest on a daily or monthly schedule from the contract. The statement shows which. When you need exact figures, use the lender's payoff quote.
Common errors
- Dividing the APR by 12 but forgetting to convert the percentage. 24% is 0.24 in code and in the formula, not 24.
- Subtracting the payment before adding interest. For Card A in month 1 that gives (3,000 − 90) × 0.02 = 58.20, which understates interest by 1.80.
- Treating the minimum payment as the amount that reduces the balance. Only the part above the monthly interest does.
- Assuming unpaid debts wait. Every debt compounds every month regardless of which one you are targeting.
- Using one APR for a debt with multiple balance types. Some cards charge different APRs for purchases, cash advances and promotional balances. Model each as its own debt.
What comes next
You can now compute the interest on any debt for any month. The next chapter uses this to show why minimum payments take so long to retire a balance, using the same split of each payment into interest and principal.
Exercise
A card has a balance of 1,500.00 and an APR of 18%. Using the monthly model, (a) what is this month's interest, (b) what balance remains after a payment of 100.00, and (c) what is the smallest payment that stops the balance from growing?
Show answer
(a) 1,500.00 × 0.18 ÷ 12 = 22.50. (b) 1,500.00 + 22.50 − 100.00 = 1,422.50. (c) The payment must at least equal the monthly interest, so any payment above 22.50 reduces the balance. A payment of exactly 22.50 leaves it unchanged.
Exercise
Using the monthly model with the payment applied after interest, compute the balance after two months for a loan of 6,000.00 at 7% APR with a payment of 120.00 each month. Round interest to cents each month.
Show answer
Month 1: interest = 6,000.00 × 0.07 ÷ 12 = 35.00, so the balance is 6,000.00 + 35.00 − 120.00 = 5,915.00. Month 2: interest = 5,915.00 × 0.07 ÷ 12 = 34.504..., which rounds to 34.50, so the balance is 5,915.00 + 34.50 − 120.00 = 5,829.50.