Consider a common post-graduation balance sheet: $24,000 in federal student loans at 4.5%, a small taxable brokerage account, an emergency fund, and a 401(k) at work with a 4% match. The question that does not have a clean answer is whether the marginal extra dollar should go to paying down the loan or into the brokerage.
Most personal-finance writing says the same thing: compare the loan rate to the expected market return; if the expected return is higher, invest. With long-term equity returns historically around 7% real and a loan at 4.5%, the rule says invest. And yet for many households the opposite — or a hybrid — turns out to be defensible. The reason the simple rule is incomplete is worth working through.
The 'just compare rates' rule
The rule, stated cleanly: if the after-tax interest rate on the debt is lower than your expected after-tax investment return, invest the marginal dollar. If higher, pay down. The math, on a spreadsheet, is correct.
What the rule assumes is that the two paths are emotionally and behaviorally identical. They are not.
What the simple rule misses
Three things.
The market return is expected, not guaranteed. The 7% real number is a long-run average across rolling thirty-year windows. Over any five-year window, the actual return can be flat, negative, or 14% annualized. If you start investing in a bad cohort while carrying a loan you could have paid down, the gap can be uncomfortably large for uncomfortably long.
The behavior changes are not equivalent. Setting up a direct deposit into a brokerage account once and forgetting about it is roughly as effortful as setting up an auto-payment to your loan servicer. But selling part of the brokerage account to cover an emergency feels like a defeat; sending an extra mortgage payment never does. The instruments are not interchangeable inside a person's head.
Risk capacity changes with debt. A household with $40,000 of consumer debt cannot tolerate the same equity allocation as one without. Paying down the debt isn't only a return calculation — it is a risk-capacity increase. The "return" on the debt payoff is not just the avoided interest; it is the marginal increase in how much equity risk you can carry on the rest of the balance sheet.
The seven columns to track
A useful version of this spreadsheet has seven columns per debt:
- Balance — current outstanding.
- Nominal rate — APR.
- Tax-deductible? — student-loan interest is deductible up to a limit for some incomes; mortgage interest may be; credit-card interest is not. This turns the nominal rate into an effective rate.
- Effective rate — nominal rate adjusted for deductibility.
- Required minimum monthly — what you must pay regardless.
- "Sleep cost" — a 1-to-5 score for how much carrying this debt bothers you at 3 AM. Not a number, a vibe. Worth tracking honestly.
- Prepayment penalty? — yes/no.
Then rank everything by effective rate, with a sleep-cost tiebreaker. Anything above a conservative-end equity return assumption (5% is a more honest figure to use than 7%) goes into the "pay down" column. Anything below goes into "invest." Credit-card debt — at any rate — is always pay-down first, before brokerage contributions. The CFPB has consumer guidance on prioritizing high-interest debt if you want a second opinion on that ordering.
If you cannot pay extra on the loan without raiding the emergency fund, you do not have a debt-versus-investing question yet. You have an emergency-fund question.
How the decision plays out
Return to the worked example. The student loan at 4.5% sits below a conservative-end equity assumption, so the textbook says invest. But the sleep-cost score might say pay down. A common compromise is to split the difference — say $300 a month extra to the loan and $400 a month into a taxable brokerage. In pure-return terms that hybrid is usually slightly worse than pushing the whole $700 into the market. In behavioral terms it is often calmer, and the household sticks with it.
Suppose that household keeps the split for two years, then clears a sub-$9,000 loan balance in a single quarter using a bonus. The brokerage trajectory continues regardless. The hybrid path is not optimal in spreadsheet terms; it is frequently optimal in behavior terms — and behavior is what actually gets executed.
Three rules of thumb
- Credit-card debt first, always. A 22% APR will beat the market every year, in the wrong direction.
- Match first. If your employer matches 401(k) contributions, capture the full match before doing anything else. It is a guaranteed return that no debt rate touches.
- Sleep matters. If the spreadsheet says invest and your gut says pay down, paying down is rarely the wrong move. The actual return-on-sleep is hard to estimate, but it is not zero.
The textbook answer is correct in expectation. The lived answer includes the variance, the behavior change, and the night-of-bad-news call you do not want to have to make. Build the spreadsheet anyway. Look at it. Then make the human decision.





