← Back to Blog

Should I Invest While in Debt? The Math Behind the Decision

11/26/2024


You have $5,000 saved up. You also have $10,000 in debt. Should you invest the money or pay down the debt?


This is one of the most common dilemmas in personal finance, and the answer depends entirely on *what kind* of debt you have.


The Interest Rate Rule


The decision boils down to a simple comparison:


**If your debt's interest rate is higher than your expected investment return, pay off the debt first.**


Let's break this down.


Types of Debt: The Good, The Bad, The Ugly


High-Interest Debt (Pay Off Immediately)


**Credit Cards (15-25% APR)**


If you have credit card debt at 20% interest, paying it off is a **guaranteed 20% return**. The stock market averages 10% per year, but it is not guaranteed. Paying off high-interest debt is the best "investment" you can make.


**Payday Loans, Personal Loans (10-36% APR)**


Same logic. These rates are predatory. Eliminate them as fast as possible.


Medium-Interest Debt (Case-by-Case)


**Student Loans (4-7% APR)**


This is where it gets nuanced. If your student loans are at 4%, and you expect the stock market to return 10%, you could mathematically come out ahead by investing.


However, there are non-financial factors:

  • The psychological weight of debt
  • The risk of job loss (debt payments are mandatory; investing is optional)
  • Tax deductions (student loan interest may be deductible)

  • **Auto Loans (3-7% APR)**


    Similar to student loans. If the rate is below 5%, you could prioritize investing. If above 7%, lean toward paying it off.


    Low-Interest Debt (Invest Instead)


    **Mortgages (3-5% APR)**


    If you locked in a 3% mortgage, do NOT rush to pay it off. Invest instead. Historical stock returns far exceed 3%. Also, mortgages have tax benefits (mortgage interest deduction).


    The Psychological Factor


    Personal finance is *personal*. The math might say invest, but if debt keeps you up at night, pay it off. Peace of mind has value.


    The Hybrid Approach: Do Both


    You do not have to choose all-or-nothing. A balanced approach:


  • Put 50% toward debt, 50% toward investing
  • Pay minimums on low-interest debt while investing extra cash
  • Aggressively pay high-interest debt, ignore low-interest debt

  • The Case for Always Investing Something


    Even if you are paying off debt, consider contributing enough to your 401(k) to get the employer match. That is an instant 50-100% return (if your employer matches 50% or 100% of contributions). You will never beat that return anywhere else.


    Real-World Example


    Sarah has:

  • $25,000 in student loans at 5% APR
  • $5,000 in credit card debt at 19% APR
  • $10,000 saved

  • Here is what she should do:


    1. **Immediately pay off the $5,000 credit card debt.** That is a 19% guaranteed return.

    2. **Keep a small emergency fund of $2,000** (1 month of expenses).

    3. **Contribute to 401(k) up to employer match** (free money).

    4. **Pay extra on student loans or invest** (her choice, since 5% is borderline).


    The Avalanche vs. Snowball Method


    If you have multiple debts:


    **Avalanche Method (Mathematically Optimal):**

    Pay off highest-interest debt first.


    **Snowball Method (Psychologically Easier):**

    Pay off smallest debt first for quick wins and motivation.


    Should I Invest While in Debt?


    **Invest instead of paying debt if:**

  • Your debt is low-interest (under 5%)
  • You are missing out on employer 401(k) match
  • You have no emergency fund (build that first)

  • **Pay off debt instead of investing if:**

  • Your debt is high-interest (over 7%)
  • The debt causes significant stress
  • You are not disciplined enough to invest consistently

  • The Bottom Line


    High-interest debt is an emergency. Low-interest debt is a tool. Know the difference, and make the decision that aligns with both the math and your emotional well-being.