Sub topic 5
Choosing Which Debt Gets the Extra Money
This chapter assumes you know the terms balance, APR and minimum payment, and that you can work out a month of interest as balance × APR ÷ 12. It also assumes you have a fixed total monthly debt budget. Here you decide where the money above the minimums goes.
The decision in one sentence
Every month you pay the minimum on every debt. Whatever is left in your budget is the extra money, and it goes to one debt, called the target debt. Choosing the target is the whole ordering decision.
Two rules hold no matter which method you use:
- Every debt gets at least its minimum, every month. Skipping one triggers late fees and credit damage, and those costs usually outweigh any interest you save.
- The extra money is not split evenly. Concentrating it on one debt finishes that debt sooner, and finishing it frees its minimum payment for the next debt (the next chapter covers this).
Computing the extra money
The extra is the budget minus the sum of all minimums. If the budget is lower than the sum of minimums, there is no ordering to choose. You are in a shortfall, and the first step is to change the budget or negotiate with lenders.
Take the three debts used throughout this tutorial, with a 500 monthly budget:
| Debt | Balance | APR | Minimum | Interest in month 1 |
|---|---|---|---|---|
| Card A | 3,000.00 | 24% | 90.00 | 60.00 |
| Card B | 800.00 | 12% | 25.00 | 8.00 |
| Loan | 6,000.00 | 7% | 120.00 | 35.00 |
The minimums total 235.00, so the extra is 500.00 − 235.00 = 265.00. This figure changes later as balances shrink and debts close. Early on it is simply the budget minus the minimums.
Ordering is a sort with a key
Ordering the debts means sorting them by a sort key, which is the property you rank them by. Each method is a different key:
- Highest APR first ranks by interest rate, descending.
- Smallest balance first ranks by balance, ascending.
The first debt in the sorted list receives the extra money. When it is fully paid, the next one does. The code below shows the decision without simulating any months.
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},
]
def extra_money(debts, budget):
minimums = sum(d['minimum'] for d in debts)
if budget < minimums:
raise ValueError('budget is below the sum of minimums')
return round(budget - minimums, 2)
orderings = {
'highest APR first': lambda d: -d['apr'],
'smallest balance first': lambda d: d['balance'],
}
extra = extra_money(debts, 500.0)
print('extra money:', extra)
for label, key in orderings.items():
order = sorted(debts, key=key)
print(label, '->', [d['name'] for d in order])Running it prints an extra of 265.0, then ['Card A', 'Card B', 'Loan'] for highest APR first and ['Card B', 'Card A', 'Loan'] for smallest balance first. The two orderings disagree about the target in month one. Card A is the target under the first and Card B under the second.
Why the key matters: what a dollar does
An extra dollar on a debt stops that dollar from accruing interest at that debt's rate. A dollar on a 24% card saves about 2% of itself per month (24% ÷ 12). A dollar on a 7% loan saves about 0.58% per month. The saving depends on the rate and not on the balance.
This is the reason highest-APR-first minimizes total interest. It is also why a common shortcut is wrong. Ranking by monthly interest in dollars (balance × APR ÷ 12) is not the same as ranking by rate. A large balance at a low rate can produce more interest dollars than a small balance at a high rate. The dollars-of-interest figure tells you how much a debt costs now. It does not tell you how much each extra dollar saves.
Edge cases in the ordering step
Spillover within a month
The target's balance can be smaller than the extra money. When that happens, the target is paid off, and the leftover goes to the next debt in the order in the same month. The simulation in the spine does this with a loop over the sorted list, where each pass pays min(available, balance). Without this loop, leftover money would sit idle for a month, and your results would be wrong.
Ties
Two debts can share a key value, such as two cards at 19.99% APR. Break ties with a secondary key. A sensible choice for the avalanche is the smaller balance, because it closes an account sooner at no extra interest cost. In Python, sort on a tuple: key=lambda d: (-d['apr'], d['balance']).
Order can change over time
The two keys behave differently as months pass:
- APR rarely changes, so the avalanche order stays stable unless a promotional rate ends or a variable rate moves.
- Balances change every month, so the snowball order can change. A large debt paid down by its minimums can drop below a smaller debt that is barely moving. Recompute the order each month, or at least each time a debt closes.
The minimum on the target debt
The target also receives its minimum, in addition to the extra. Do not treat the extra as replacing the minimum. In the code, the minimum is paid first on every debt, and the extra is then applied to the target.
Zero-interest debts
A debt at 0% APR, such as a promotional balance or a family loan, ranks last under the avalanche, because extra dollars on it save nothing. Check whether the 0% period ends on a known date. If it does, the debt's effective rate jumps then, and the order should be reviewed before that date. The promo-rate chapter covers this in detail.
Debts without a minimum or a rate you can compare
Some obligations, such as a payday loan with a flat fee or a tax bill, do not fit the balance-and-APR model. Convert the fee to an approximate annual rate before ranking, or handle them outside the method, for instance by paying them first because of penalties.
What the ordering does not change
The ordering decides where the extra goes. It does not change the budget. Keeping the same total payment every month is what makes the comparison between methods fair. If one method freed up money and you spent it elsewhere, the methods would no longer be comparable.
The ordering also does not decide how fast you finish. That depends mostly on the size of the budget. A larger budget with a weaker ordering often beats a smaller budget with the best ordering. The ordering is a refinement on top of the amount you commit.
Quick reference
| Question | Answer |
|---|---|
| What is the extra money? | Budget minus the sum of all minimums. |
| Who gets minimums? | Every debt, every month. |
| Who gets the extra? | The first debt in the sorted order. |
| What if the extra exceeds the target's balance? | The leftover moves to the next debt the same month. |
| When should I re-sort? | Each month for balance-based keys. Re-sort APR-based keys when a rate changes or a debt closes. |
| Which key saves the most interest? | Highest APR first. |
Practice
Exercise
Your monthly budget is 600. You owe X: balance 1,500, APR 18%, minimum 50. Y: balance 400, APR 9%, minimum 20. Z: balance 2,500, APR 22%, minimum 60. (1) What is the extra money? (2) Which debt is the target under highest-APR-first, and which under smallest-balance-first? (3) Under smallest-balance-first, after one month of interest and all minimums, how much of the extra clears Y, and where does the leftover go?
Show answer
(1) The minimums total 50 + 20 + 60 = 130, so the extra is 600 − 130 = 470. (2) Highest APR first targets Z (22%). Smallest balance first targets Y (400 is the smallest balance). (3) Y accrues 400 × 0.09 ÷ 12 = 3.00 interest, giving 403.00. Its 20 minimum leaves 383.00. The extra of 470 clears that 383.00, leaving 470 − 383 = 87.00. That leftover goes to the next-smallest debt, X, which after interest (22.50) and its minimum (50) stands at 1,472.50, so X receives the 87.00 and drops to 1,385.50.
Exercise
A 20,000 loan at 5% APR and a 1,500 card at 25% APR are your only debts. Which has the larger monthly interest in dollars, and which should get the extra money to minimize total interest? Explain why the two answers differ.
Show answer
The loan costs 20,000 × 0.05 ÷ 12 = 83.33 per month, and the card costs 1,500 × 0.25 ÷ 12 = 31.25. The loan has the larger interest in dollars. The card should get the extra money, because each extra dollar there saves 25% ÷ 12 ≈ 2.08% per month, against about 0.42% on the loan. The size of the interest bill depends on balance and rate together, while the saving per extra dollar depends only on the rate.