Sub topic 3
Comparing Avalanche and Snowball
This chapter assumes you can convert an APR into a monthly interest charge, that you know how minimum payments work, and that you can read a short Python function.
Comparing avalanche and snowball
Both methods pay the minimum on every debt. They differ only in where the extra money goes. Avalanche sends it to the highest APR first, which usually minimizes total interest. Snowball sends it to the smallest balance first, which usually closes an account sooner and gives early wins.
| Factor | Avalanche | Snowball |
|---|---|---|
| Target order | Highest APR | Smallest balance |
| Total interest | Usually lowest | Usually higher |
| First account closed | Often later | Often sooner |
Simulating both methods in code
The function below accrues one month of interest, pays minimums, then applies the leftover budget in the chosen order.
def payoff(debts, budget, strategy):
debts = [dict(d) for d in debts]
if budget < sum(d['minimum'] for d in debts):
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')
for d in debts:
interest = round(d['balance'] * d['apr'] / 12, 2)
d['balance'] = round(d['balance'] + interest, 2)
total_interest += interest
available = budget
for d in debts:
pay = min(d['minimum'], d['balance'])
d['balance'] = round(d['balance'] - pay, 2)
available -= pay
if strategy == 'avalanche':
order = sorted(debts, key=lambda d: -d['apr'])
else:
order = sorted(debts, key=lambda d: d['balance'])
for d in order:
pay = min(available, d['balance'])
d['balance'] = round(d['balance'] - pay, 2)
available -= pay
return months, round(total_interest, 2)Run both strategies on the same debts and budget to compare them directly. Only the order of the extra payments changes between runs.
Hybrid and adjusted strategies
A hybrid method clears any tiny balance first, then follows avalanche. This removes a small account quickly and keeps most of the interest savings. Adjust the order when a promotional rate is about to end or when a debt carries a large fee.
Promo rates, fees, and variable rates
A 0% promotional rate makes that debt the lowest priority by APR, but the promotion ends on a fixed date. Before that date, pay enough to clear the balance or switch the order. Balance transfer fees, often 3% to 5% of the amount moved, add to the cost. Variable rates change with a benchmark, so rerun the simulation when the rate changes.
Consolidation and refinancing as alternatives
A consolidation loan combines several debts into one payment at a single rate. It can beat both methods when its rate and fees are lower than your current costs. Enter the new rate and fee into the simulation and compare total interest against the current plan.
Building and maintaining your payoff plan
Write down the total monthly budget, the minimum for each debt, and the target order. Review the plan when a rate changes, a promotion ends, or a balance drops.
Exercise
Using the three debts with minimums of 90, 25, and 120, what does payoff() do if the budget is 200?
Show answer
It raises ValueError with the message "budget is below the sum of minimums", because 200 is less than 235.