Sub topic 6
Rolling Freed-Up Payments Forward
This chapter assumes you know how interest accrues monthly on a balance, what a minimum payment is, and that you have set a fixed total monthly debt budget. It builds on the previous chapter, which covered choosing which debt gets the extra money. Here the question is what happens to the money after a debt reaches zero.
The idea in one sentence
When a debt is paid off, the payment you were making on it does not go back into your spending. It is added to the payment on the next target debt, so the total you send each month stays the same while the number of debts shrinks.
This is the rollover effect. Both avalanche and snowball depend on it, and it explains why either method beats paying each debt separately.
Why the budget is the thing that stays fixed
Rollover works because you fix the total, not the individual payments. Suppose your monthly debt budget is 500 and you have three debts.
| Debt | APR | Balance | Minimum |
|---|---|---|---|
| Card A | 24% | 3,000 | 90 |
| Card B | 12% | 800 | 25 |
| Loan | 7% | 6,000 | 120 |
The minimums add up to 235. The remaining 265 is the extra. Under avalanche, Card A has the highest APR, so it gets its minimum plus the extra.
| Phase | Card A | Card B | Loan | Total |
|---|---|---|---|---|
| Card A is the target | 355 | 25 | 120 | 500 |
| Card A is gone, Card B is the target | 0 | 380 | 120 | 500 |
| Card B is gone, Loan is the target | 0 | 0 | 500 | 500 |
The total never changes. In the second phase, the 355 that went to Card A moves to Card B, so Card B now receives 25 + 355 = 380. In the third phase, the Loan receives everything. The payment on the target debt grows each time a debt closes. This is sometimes called a snowball effect, but the mechanism is the same in avalanche. Only the order differs.
What "freed up" actually means
Three events free money, and each one needs to be redirected.
- A debt reaches zero. Its whole payment, minimum plus any extra it was receiving, becomes available.
- A minimum payment shrinks. Many credit cards set the minimum as a percentage of the balance, often with a floor. As the balance falls, the minimum falls too. That difference is freed money, even though no debt has closed.
- The last payment is smaller than usual. When a debt needs only 40 to finish, the rest of that month's payment spills over to the next target in the same month.
If you track payments by hand, the first event is the easy one to notice. The second and third are the ones people miss. A budget-based rule handles all three: each month, subtract the minimums you actually owe from the fixed total, and send the entire remainder to the target.
Seeing the effect in code
The simulation below uses the same monthly steps as the full simulation later in this tutorial: accrue interest, pay the minimums, then send the remaining money to the target debt. It adds one switch, rollover. When it is True, the extra is recalculated each month as the budget minus the minimums actually paid. When it is False, the extra is frozen at its starting value, which models someone who spends the freed-up money elsewhere.
def payoff_avalanche(debts, budget, rollover):
debts = [dict(d) for d in debts]
initial_extra = budget - sum(d['minimum'] for d in debts)
if initial_extra < 0:
raise ValueError('budget is below the sum of minimums')
months, total_interest = 0, 0.0
while any(d['balance'] > 0 for d in debts):
months += 1
if months > 1200:
raise ValueError('not paid off within 100 years')
# 1. Accrue one month of interest on every debt.
for d in debts:
interest = round(d['balance'] * d['apr'] / 12, 2)
d['balance'] = round(d['balance'] + interest, 2)
total_interest += interest
# 2. Pay the minimum on every debt that still has a balance.
paid = 0.0
for d in debts:
pay = min(d['minimum'], d['balance'])
d['balance'] = round(d['balance'] - pay, 2)
paid += pay
# 3. Decide how much extra money exists this month.
if rollover:
available = round(budget - paid, 2)
else:
available = initial_extra
# 4. Send it to the highest-APR debt that is still open.
for d in sorted(debts, key=lambda d: -d['apr']):
pay = min(available, d['balance'])
d['balance'] = round(d['balance'] - pay, 2)
available = round(available - pay, 2)
return months, round(total_interest, 2)
debts = [
{'name': 'Card A', 'balance': 3000.0, 'apr': 0.24, 'minimum': 90.0},
{'name': 'Card B', 'balance': 800.0, 'apr': 0.12, 'minimum': 25.0},
{'name': 'Loan', 'balance': 6000.0, 'apr': 0.07, 'minimum': 120.0},
]
for rollover in (True, False):
months, interest = payoff_avalanche(debts, 500.0, rollover)
print('rollover' if rollover else 'no rollover', months, interest)Run it and compare the two lines. The no-rollover run takes noticeably longer and pays more interest, because from the moment Card A closes, less than 500 goes to debt each month. The only difference between the two runs is the single line that recomputes available.
Edge cases to handle
The final partial payment
Notice that step 4 uses min(available, d['balance']). Without it, the last payment on a debt would overshoot and push the balance negative. With it, any leftover money stays in available and flows to the next debt in the sorted order within the same month. This is the third freed-money event, and the code handles it with no special case.
Minimums that shrink
The code pays min(d['minimum'], d['balance']) using a fixed minimum. A real card with a percentage-based minimum would recompute it each month. Because available is the budget minus whatever was actually paid, a falling minimum raises the extra automatically. The budget stays constant and the target absorbs the difference.
Ties in the ordering
If two debts have the same APR (avalanche) or the same balance (snowball), Python's sort keeps their original list order. The result is deterministic, but the choice is arbitrary. In practice, break ties toward the debt with the larger minimum, since closing it frees more money to roll forward.
Installment loans versus revolving credit
A card can be paid down early with no penalty. An installment loan may have a fixed payment and sometimes a prepayment penalty or a rule about how extra money is applied. Before directing the extra to a loan, check that the lender applies it to principal and not to future installments. The rollover only helps if the money actually reduces the balance.
New debt during payoff
Rollover assumes the list of debts only shrinks. If you keep charging a card you are paying down, the balance grows and the freed money is spent refilling it. Stopping new charges on the cards in the plan is part of making the effect work.
The behavioral failure mode
The mathematics is simple. The common failure is that the freed payment is quietly absorbed into everyday spending. When Card A closes, the 90 minimum stops leaving your account. If you did not set up an automatic transfer for the new amount, that 90 starts to feel like extra spending money.
Practical ways to prevent this:
- Set automatic payments on the target debt, and raise them by hand or by schedule each time a debt closes.
- Keep a single standing transfer for the full budget, and treat the split among debts as a monthly decision.
- Write the new target payment on your plan the day a debt closes, not at the next statement.
How rollover connects to the two methods
Rollover is the engine, and the ordering is the steering. Avalanche points the growing payment at the highest APR first, which minimizes total interest. Snowball points it at the smallest balance first, which closes accounts sooner and produces more rollover events early. The next chapters examine each method in detail. Both rely on the behavior described here.
Exercise
You have a 500 monthly budget and two debts: Card X (balance 1,200, minimum 40) and Card Y (balance 5,000, minimum 100). You target Card X. Card X is paid off in month 8, and its final payment was only 60 because the balance was nearly gone. Assuming the debts accrue interest as usual, how much goes to Card Y in month 8, and how much in month 9? Ignore Card Y's own interest and assume its minimum stays 100.
Show answer
In month 8, Card X receives 60, Card Y receives its 100 minimum, and the remaining 500 - 60 - 100 = 340 goes to Card Y as extra, so Card Y receives 440 in total. In month 9, Card X is gone, so Card Y receives the full 500 (100 minimum plus 400 extra). The partial final payment on Card X in month 8 frees the unused part of that month's payment, and the budget recalculation sends it to Card Y in the same month.
Exercise
In the code above, the line available = round(budget - paid, 2) replaces a fixed extra. Name two situations, other than a debt reaching zero, where this line sends more money to the target debt than in the previous month.
Show answer
First, when a debt's minimum shrinks because its balance is smaller (for example a percentage-based card minimum), paid falls, so available rises. Second, when the last payment on a debt is smaller than its minimum because min(d['minimum'], d['balance']) caps it at the remaining balance, the unused part of the minimum becomes part of available.