Should you invest or pay off debt? The honest math
You have a spare $500 and two responsible homes for it: pay down a card, or invest. The fog clears once you compare a guaranteed return to an expected one.
You have a spare $500 this month and two reasonable homes for it. You could put it toward a credit-card balance, or you could invest it. Both feel responsible, which is exactly why the choice gets stuck. The good news is there is a clean way to compare them, and it comes down to one honest comparison rather than a gut feeling.
The comparison is this: paying off debt earns you a guaranteed return equal to that debt’s interest rate, while investing earns you an expected return that is higher on average but never promised. Line those two numbers up and most of the fog clears.
Paying off debt is a guaranteed return
When you clear a balance charging 22% a year, you stop paying 22% a year. That is mathematically identical to earning a 22% return, with no risk and no tax on the gain. There is no investment that safely pays 22%. So against a typical credit-card rate, paying down the balance wins cleanly, because a sure 22% beats an uncertain market average every time.
This is the same compounding curve from compound interest vs simple interest, just pointed at you. Carried credit-card debt compounds against your balance, often daily, which is why paying only the minimum can keep a balance alive for years.
Investing is an expected return, not a promised one
Over long stretches the U.S. stock market has returned around 10% a year on average before inflation. That average is real, but it arrives unevenly: strong years, flat years, and frightening years, in an order nobody can predict. So investing offers a higher number on average and a wider range of outcomes. For money you will not touch for decades, that range has historically been worth it. For a guaranteed-22% alternative sitting right next to it, it usually is not.
The honest rule, and where it gets interesting
Compare the debt rate to a roughly 10% expected market return.
- Debt above about 10% (most credit cards, payday loans): paying it off almost always wins. A guaranteed high return beats an uncertain lower one.
- Debt well below 10% (many mortgages, some student loans): investing has the mathematical edge on average, though the debt payoff is the surer thing.
- Debt in the middle: the math is close enough that how you feel about risk and about owing money fairly breaks the tie.
A worked example makes it concrete. Suppose you carry $5,000 at 22%. Paying it off saves about $1,100 in interest over the next year, guaranteed. Investing that same $5,000 at a 10% average might add about $500 over a year, on average, with real chances of being negative in any single year and a tax bill on the gains. Same $5,000, and the debt payoff is both larger and certain.
The order most people land on
Rather than an all-or-nothing choice, a simple sequence handles the usual cases without much agonizing:
- Keep a small starter cash buffer so a surprise does not push you back onto the card. The emergency fund vs investing question covers how big that buffer needs to be first.
- If your employer matches retirement contributions, capture the full match before anything else. That is an immediate return no debt rate beats.
- Then clear high-rate debt, the guaranteed double-digit return.
- Then invest the rest for the long run.
Two psychological notes keep this realistic. Some people pay down debt faster when they knock out the smallest balance first for the momentum, which the snowball versus avalanche comparison lays out. And paying off debt delivers a calm that a brokerage balance does not, because it removes a fixed obligation rather than adding a variable one. That calm is a real return too, just not one the spreadsheet prints.
None of this requires perfect optimization. The framework is small and forgiving: a debt rate is a guaranteed return, a market return is an expected one, and you simply send each dollar toward the bigger of the two. When the numbers are close, the version that lets you sleep is the right answer, and it is allowed to win.
If you set your highest debt rate next to a 10% average, which one is actually paying you more right now?
Sources
Harry Markowitz, 1952, “Portfolio Selection,” Journal of Finance. The foundational treatment of expected return against risk, the trade-off at the heart of comparing a sure payoff to an uncertain investment.
Burton G. Malkiel, “A Random Walk Down Wall Street.” The widely cited long-run case for the roughly 10% historical average of broad U.S. equities, and for treating that average as a range rather than a promise.
Hersh Shefrin and Meir Statman, 1985, on the disposition effect and mental accounting, which help explain why paying down a balance feels different from holding an equivalent investment even when the dollars match.
This is general education about comparing debt payoff to investing, not financial advice. Rates, tax treatment, and your own risk tolerance change the answer, and market returns are never guaranteed.
How this helps you in CostMe
CostMe shows what an amount becomes invested at the market's long-run average, so you can set it next to your debt's rate and make the guaranteed-versus-expected comparison on a real number instead of a gut feeling.
Start free