Strategy

Investing vs. Paying Off Debt: What the Math Actually Says

Gen Wealth Team Dec 28, 2024 11 min read

"Should I invest or pay off debt?" This is the most common question we get from readers — and the answer isn't as simple as most financial influencers make it sound. Some say "always pay off debt first." Others say "always invest." Both are wrong. The real answer depends on your specific numbers, your specific debt, and your specific psychology.

Let's actually run the math instead of just sharing opinions.

The Simple Rule (And Why It's Not Enough)

The basic framework everyone teaches goes like this: compare your debt interest rate to your expected investment returns. If your debt charges more than your investments earn, pay off the debt. If your investments earn more, invest the money instead.

On paper, it's elegant. If your credit card charges 22% and the stock market averages 10%, paying off the card gives you a guaranteed 22% "return." No investment comes close to that. Conversely, if your student loan charges 4% and the market averages 10%, you theoretically earn 6% more by investing.

But this simple comparison misses several critical factors that change the equation dramatically:

  • Investment returns aren't guaranteed. The stock market averages 10% over decades, but in any given year it could return 30% or lose 20%. Your 4% student loan interest is guaranteed
  • Tax advantages change the math. 401(k) contributions are pre-tax, Roth IRA grows tax-free, and student loan interest is tax-deductible (up to $2,500/year). These benefits can shift the breakeven point
  • Employer matching is free money. Skipping a 401(k) match to pay off a 5% loan is mathematically wrong — the match gives you 50-100% returns on day one
  • Debt stress has a real cost. Carrying $50K in student loans affects your sleep, your relationships, your career decisions, and your mental health. That has a dollar value, even if it doesn't show up in a spreadsheet

Tier 1: Debt That Always Wins (Pay This Off First)

Some debt is so expensive that no reasonable investment strategy can compete. If your debt has an interest rate above 8%, pay it off before investing beyond your employer match.

Credit Card Debt (15-28% APR)

Credit card debt is a financial emergency. At 22% APR (the current national average), a $5,000 credit card balance costs you $1,100 per year in interest alone. Making minimum payments ($125/month), it takes 5+ years to pay off and you'll pay $2,500+ in interest. That's 50% of the original balance — gone.

The math is brutal: every extra dollar you throw at a 22% credit card balance earns you a guaranteed 22% return. The stock market's best years rarely beat that, and the stock market's average is less than half. Pay off credit cards before investing a single dollar beyond your 401(k) match.

Personal Loans (10-18%)

Same principle. A 12% personal loan is costing you guaranteed money that investing can't reliably beat. Prioritize these after credit cards.

Buy-Now-Pay-Later (0% or 15-30%)

BNPL is tricky. Many services are 0% if you pay on time — in that case, there's no reason to pay early. But if you miss a payment, some BNPL providers retroactively charge 15-30% interest on the entire balance. Set calendar reminders for every payment. One missed payment can turn a smart purchase into expensive debt.

The Credit Card Exception

The ONLY time you should invest instead of paying off credit card debt is if your employer offers a 401(k) match and you're not contributing enough to get it. A 50% employer match is an immediate 50% return — even a 28% credit card can't compete with that. Contribute exactly enough to get the full match, then throw everything else at the credit card.

Tier 2: The Grey Zone (4-8% Interest)

This is where the decision gets genuinely complicated. These debts include:

  • Private student loans: 5-12% (variable rates can climb higher)
  • Car loans: 5-8% (higher if your credit isn't great)
  • Some federal student loans: 5-7% (newer loans have higher rates)

At these rates, the math could go either way. The stock market's average return (10%) beats a 6% loan on paper — but "average" hides a lot of volatility. In 2022, the S&P 500 lost 18%. If you'd invested instead of paying off a 6% loan that year, you'd have lost 24% (18% market loss + 6% guaranteed debt cost) compared to breaking even by paying the debt.

Running the Numbers: $10,000 at 6% Interest

Let's say you have $10,000 in student loans at 6% interest and $300/month of extra cash. Two scenarios:

Scenario A — Pay off debt aggressively: Putting $300/month toward the loan, you're debt-free in about 36 months. Total interest paid: ~$950. After paying off the debt (month 37+), you invest $300/month for the remaining time.

Scenario B — Invest and pay minimums: Pay the minimum (~$111/month) on the loan over 10 years and invest $189/month. Total interest paid over 10 years: ~$3,322. But your investments have been growing for the full period.

After 10 years: Scenario B comes out ahead by about $3,000-8,000, depending on actual market returns. But that's assuming the market cooperates. In a bad decade (like 2000-2010, which returned about 1% annually), Scenario A wins decisively.

The statistical answer: investing wins more often than not. The practical answer: it depends on your risk tolerance and emotional relationship with debt.

Tier 3: Low-Interest Debt (Below 4%)

Low-interest debt is almost always better to carry while investing. These include:

  • Federal student loans (older ones): 2.75-4.5%
  • Mortgages: 3-4% (if you locked in before 2022)
  • 0% auto financing: Literally free money — never pay this off early

At these rates, the spread between your debt cost and expected investment returns is wide enough that investing is the clear winner in almost every scenario. A 3.5% student loan costs you $350/year per $10,000. That same $10,000 invested in an S&P 500 index fund historically earns $1,000/year. Even after accounting for the loan interest, you're $650/year ahead by investing.

"Mathematically, you should invest. Emotionally, you might need to pay off the debt. The best financial plan is the one you'll actually follow — even if it's not the mathematically optimal one."

The Psychological Factor: Why Math Isn't Everything

Here's something spreadsheets can't capture: debt causes stress, and stress causes bad financial decisions.

Research from the American Psychological Association shows that money is the number one source of stress for Americans, and debt is the number one financial stressor. People carrying significant debt are more likely to:

  • Make impulsive purchases (stress spending)
  • Avoid checking their financial accounts
  • Stay in jobs they hate (golden handcuffs)
  • Delay major life decisions (buying a home, starting a family, career changes)
  • Experience anxiety, depression, and relationship problems

If carrying $30K in student loans is keeping you up at night, causing fights with your partner, or making you miserable at work because you feel trapped — the "suboptimal" choice of paying it off might be the best financial decision you can make. A debt-free person who sleeps well and has mental bandwidth to focus on career growth will likely out-earn the stressed, debt-laden person who's technically making the "optimal" spreadsheet decision.

The Gen Wealth Framework: Our Recommended Order

After running hundreds of scenarios, here's the framework we recommend for most Gen Z earners. Adjust based on your specific rates and situation, but this order works for the vast majority:

  1. Build a $1,000 emergency fund. Before anything else. Without this, every financial surprise goes on a credit card and the cycle never ends
  2. Contribute enough to your 401(k) for the full employer match. This is 50-100% guaranteed returns. Nothing beats it. If your employer matches 50% up to 6%, contribute 6%. Period
  3. Pay off all high-interest debt (above 8%). Credit cards, personal loans, payday loans. Use the avalanche method (highest rate first) or the snowball method (smallest balance first) — both work, pick whichever keeps you motivated
  4. Grow your emergency fund to $3,000-$5,000. Now that the expensive debt is gone, build a real buffer
  5. Open a Roth IRA and start investing. Platforms like Traderise make this simple. Start with index funds and automatic contributions
  6. Split extra money between mid-interest debt (4-8%) and investing. A 50/50 split is reasonable. 70% investing / 30% debt also works if the rates are on the lower end. Adjust based on how much the debt bothers you emotionally
  7. Once all non-mortgage debt is gone, invest aggressively. Max out your Roth IRA ($7,000/year), increase 401(k) contributions, and invest in a taxable brokerage account. This is where wealth really accelerates
Start Investing Today

Don't wait for zero debt to start building wealth

With Traderise, you can start investing with as little as $5. Even small amounts compound over time while you work on debt payoff.

Open Traderise Account

Debt Payoff Methods: Avalanche vs. Snowball

If you're tackling multiple debts, two main strategies exist:

The Avalanche Method (Mathematically Optimal)

Pay minimum on everything, throw all extra money at the debt with the highest interest rate. Once that's paid off, move to the next highest rate. This saves the most money in interest over time.

The Snowball Method (Psychologically Powerful)

Pay minimum on everything, throw all extra money at the debt with the smallest balance. Once that's paid off, take its payment and add it to the next smallest balance. You get quick wins that build momentum and motivation.

Which is better? The avalanche method saves more money. The snowball method has higher completion rates in studies because the psychological wins keep people going. Our recommendation: if your interest rates are similar (within 2-3 points), use snowball. If one debt has a significantly higher rate, use avalanche for that one first, then switch to snowball for the rest.

Real Scenarios From Our Readers

Reader 1: $22K Student Loans at 5.5%, Making $38K

Our advice: Get the 401(k) match, then split extra money 60/40 between Roth IRA investing and extra loan payments. At 5.5%, the math favors investing, but making extra payments will get you debt-free by 28 instead of 32. The freedom is worth a few percentage points of theoretical return.

Reader 2: $6K Credit Card Debt at 24%, Making $42K

Our advice: Financial emergency. Get the 401(k) match (and nothing more), then throw every available dollar at the credit card. Stop investing beyond the match until this is at zero. At 24%, every month of delay costs you real money.

Reader 3: $15K Car Loan at 7%, $8K Student Loans at 4%, Making $45K

Our advice: Get 401(k) match. Focus extra payments on the car loan (7% is in the grey zone but leans toward paying off). Make minimum payments on the student loans and invest in a Roth IRA simultaneously. Once the car loan is gone, increase Roth IRA contributions and make slightly above-minimum student loan payments.

The Bottom Line

Don't let the perfect be the enemy of the good. The worst thing you can do is nothing — paralyzed by the debate over whether to invest or pay off debt. Both paths build wealth. Both are infinitely better than making minimum payments and spending the rest.

The framework above works for 90% of situations. Get the employer match. Destroy high-interest debt. Then make reasonable decisions about everything in between based on your rates, your emotions, and your goals. The fact that you're even asking the question means you're already thinking about money differently than most people your age — and that matters more than getting the math exactly right.

Start today. Optimize later.