You've got an extra $400 a month. Your credit card is sitting at a 22% APR. Your buddy swears you'd be an idiot not to put the money in an index fund. Your mom swears debt is the devil. Both of them sound so sure that you do the most human thing possible: nothing, for another six months.

Here's the good news: this question has an answer, and it's math, not vibes. Every dollar you send toward a debt earns you a guaranteed return equal to that debt's interest rate. Every dollar you invest earns you an expected return — roughly 10% a year in the stock market over the long run, with plenty of gut-punch years along the way. So the whole debate reduces to one comparison: is your debt's interest rate higher than what you'd expect to earn investing? That's the entire decision. Let's put real numbers on it.

The one-sentence answer

Paying off debt is a guaranteed return; investing is an expected return. A guaranteed 22% beats an expected 10% every time — so high-interest debt wins the race to your extra dollars, while cheap debt usually loses to the market. The only real judgment call lives in the middle.

This framing matters because of asymmetry. Pay down a credit card at 22% APR and you lock in a 22% risk-free return on that money. No investment on earth offers that. Meanwhile, the stock market's long-run average is about 10% a year — but "average" hides years like 2008, when the S&P 500 fell 37%. You're comparing a certainty to a maybe, and certainties are worth more than maybes.

The decision rule: three tiers

Instead of agonizing, sort your debts into tiers:

  • Above ~10% APR → pay it off first. Credit cards (the average is about 22% in 2026, per the Federal Reserve), payday loans, most personal loans. Nothing you can invest in reliably beats these rates. Every extra dollar goes here before a brokerage account sees a dime.
  • 5–10% APR → judgment call. Some auto loans, older student loans, personal loans in this range. Mathematically, investing probably edges it out — but the spread is narrow enough that your comfort with risk gets a vote.
  • Below ~5% APR → investing usually wins. Most mortgages and federal student loans live here. Over decades, the market has historically out-earned these rates by a wide margin, and inflation quietly erodes the real value of the debt anyway.

The rough break-even sits near 7%: if your debt costs more than ~7%, paying it down is the better expected deal; below that, the market's long-run average favors investing. Why 7% and not 10%? Because a guaranteed return is worth more than an equal expected one — finance folks call the difference a risk premium; you just call it sleeping at night.

Two worked examples

Priya has $10,000 in credit card debt at 22% APR and an extra $300 a month. If she throws it at the card, the balance is gone in about 52 months — roughly four years and four months — and she pays about $5,600 in total interest. If instead she pays only the minimum (around $200), the same debt drags on for more than 11 years and costs her over $17,300 in interest. Meanwhile, investing that $300 a month at a 7% average return for those 52 months would grow to about $18,200 — a gain of roughly $2,600. Compare: $5,600 of interest avoided versus $2,600 of gains hoped for. Paying the card wins by a mile, and it's guaranteed.

Marcus has a $25,000 auto loan at 6.5% APR and the same $300 extra a month. Paying the loan down early saves him a few hundred dollars in interest versus the scheduled payoff. Investing that $300 a month instead, at a 7% average return, would be expected to earn more over the loan's remaining life. The math slightly favors investing — but at 6.5%, it's close enough that either choice is defensible. This is the gray zone, where personal preference isn't wrong, just personal.

Notice what's doing almost all the deciding in both examples: the interest rate on the debt. That's the point of the three tiers — you don't need a spreadsheet, you need your APR.

The one exception that beats everything: the 401(k) match

There's exactly one thing that outranks even 22% credit card debt: your employer's 401(k) match. A typical match — say, 100% on the first 5% of your salary — is an instant 100% return. Nothing in finance competes with that, and you can't go back and claim a match you skipped.

So the real-world sequence is: contribute to the 401(k) up to the full match first, then attack high-interest debt, then invest the rest. Skipping the match to pay debt faster is like turning down a raise to save on taxes.

The tax wrinkle most people miss

Debt payments come from after-tax dollars, but 401(k) contributions are pre-tax. If you're in the 22% federal bracket, a $1,000 401(k) contribution only reduces your take-home pay by about $780 — the IRS effectively covers the other $220. That boosts the true return on investing whenever the debt-vs-invest math is close. It doesn't flip the verdict on a 22% credit card (nothing flips that), but it's one more thumb on the scale for investing when you're staring at a 6% auto loan. Similarly, student loan interest is deductible up to $2,500 a year (subject to income phase-outs), which shaves the effective rate on those loans a little.

What about 0% balance transfer cards?

A 0% intro-APR balance transfer can be a legitimate weapon: move high-interest debt to 0% for 12–21 months and every payment attacks principal. The catches: the transfer fee (usually 3–5% of the balance) is real interest by another name, and if the balance isn't gone when the promo ends, the rate snaps back — often to 25% or more. It's a tool for people with a plan and a payoff date, not a lifestyle.

Don't skip the emergency fund

One caveat before you go scorched-earth on debt: keep a small cash buffer — $1,000 to one month of expenses — while you pay it down. Without it, every surprise car repair goes right back on the card at 22%, and you've paid interest twice for the privilege. A starter emergency fund isn't an investment; it's a moat around your payoff plan. Once the high-interest debt is gone, build it to three to six months of expenses.

The psychology hack: do both

Here's the part the pure-math crowd gets wrong: the best plan is the one you'll actually follow. If throwing every spare dollar at debt for three years makes you miserable and you quit in month four, the "optimal" plan failed. Plenty of people do better with a split — say, 70% toward debt, 30% toward investments — because watching an investment account grow keeps them motivated while the debt shrinks. The math cost of splitting is small; the behavioral benefit is enormous. Automation is the real secret weapon either way: set the transfers to happen the day after payday and take willpower out of the equation entirely.

See your debt-free date

Enter your balances, APRs, and monthly payment — our debt payoff calculator shows exactly when you'll be debt-free and how much interest you'll save.

Open the Debt Payoff Calculator →

Bottom line

Compare your debt's APR to ~7%. Higher? Kill the debt. Lower? Invest. In between? Pick one and automate it. And whatever you do, grab the 401(k) match first and keep a small emergency buffer — those two moves are worth more than perfectly optimizing the rest. The people who win this game aren't the ones with the cleverest strategy. They're the ones who picked a reasonable one and stuck with it for years.