Debt StrategyApr 15, 2026

    Pay Down Debt or Invest? The Math Behind Every Scenario

    JM
    James MitchellCFEI · Personal Finance Writer
    Apr 15, 2026·6 min read

    "Should I pay off my car loan or put the extra money in my 401(k)?" is one of the most common personal finance questions — and the answer isn't the same for everyone. It's a math problem with a clear framework, but with one important non-math variable: your psychological relationship with debt.

    Here's the complete framework for deciding, with rate thresholds and a specific order of financial operations that applies to most situations.

    The Core Principle

    Guaranteed return vs. expected return

    Paying down debt gives you a guaranteed return equal to the interest rate. Investing gives you an expected (but uncertain) return. If your debt costs less than your expected investment return after tax, investing wins mathematically. If it costs more, paying down debt wins.

    Reference Point

    Long-term S&P 500 returns have averaged ~10% nominal / ~7% inflation-adjusted. In a taxable account at 22% federal tax on gains, the after-tax expected return is ~7.8% nominal. The comparison point for debt payoff in a taxable account is roughly 7–8% before you're clearly better off investing.

    The Three Scenarios

    High-interest debt (8%+)

    Pay it off first

    Paying off 8%+ debt is a guaranteed 8%+ return — better than most investment alternatives. Credit cards (17–28% APR), personal loans (10–18%), and high-rate auto loans all fall here. Every dollar paid toward these debts returns more than the historical stock market average.

    Mid-range debt (5–8%)

    It depends — consider both

    This is the gray zone. A 6% auto loan vs. a 7% long-term investment return is essentially a coin flip when accounting for risk and taxes. In this range, psychological factors matter: if debt stress affects your decision-making, eliminating it first may be worth the slightly suboptimal math.

    Low-interest debt (below 5%)

    Probably invest

    A 3% mortgage or 4.5% student loan is cheap capital. Long-term diversified equity returns averaging 7–10% historically make investing mathematically superior here. You're using inexpensive borrowed money to buy a higher-returning asset — a form of sensible leverage.

    The One Universal Exception

    Always capture the full employer 401(k) match before paying extra on any debt — even high-interest debt. A 50% employer match is an immediate 50% guaranteed return on those dollars. No debt payoff strategy can mathematically justify forfeiting this benefit.

    The Right Order of Financial Operations

    1

    Build a $1,000 starter emergency fund

    Prevents you from immediately borrowing again after any setback.

    2

    Capture 100% of employer 401(k) match

    An immediate 50–100% return. Non-negotiable free money.

    3

    Pay off high-interest debt (8%+)

    Guaranteed return exceeds expected investment returns.

    4

    Build a full 3–6 month emergency fund

    Eliminates the need to take on new debt during unexpected events.

    5

    Max out HSA (if eligible)

    Triple tax advantage — best savings vehicle available.

    6

    Max out Roth IRA

    Tax-free growth for decades.

    7

    Max out 401(k) beyond the match

    Another tax-advantaged bucket with enormous long-term value.

    8

    Pay down mid-rate debt (5–8%) or invest

    Preference-based — either is reasonable.

    9

    Invest in taxable brokerage accounts

    After all tax-advantaged options are exhausted.

    Timing Matters

    The sequence depends on your current situation. If you have no emergency fund, paying off all debt before building one is high-risk — any setback forces you to borrow again. Build the emergency fund in parallel with capturing the employer match, then attack high-interest debt aggressively.

    Run Your Numbers

    See Exactly How Much Early Payoff Saves

    Frequently Asked Questions

    Should I pay off my car loan early or invest the extra $300/month?

    Compare your car loan's interest rate to your expected investment return. If your loan is at 5.9% APR and you're investing in a diversified index fund averaging 7–9%, investing likely wins slightly over a 4-year horizon — but not by much. If the loan is above 7.5%, paying it down first gives you a better guaranteed return. Use our auto loan calculator to see exactly how much interest early payoff saves.

    Is there a rule of thumb for this decision?

    A commonly cited threshold is 6–7%: debt above that rate should be paid off before investing (beyond capturing the employer match). Debt below 5% can usually be carried while investing. Debt in the 5–7% range is genuinely a judgment call based on your risk tolerance and psychological relationship with debt.

    What about mortgage debt — should I pay it off early?

    Mortgages are typically low-rate, tax-deductible debt (for those who itemize), and very long-term. Most financial planners suggest not aggressively prepaying a 3–5% mortgage at the expense of not investing. However, there's significant psychological value in mortgage payoff — especially near retirement. Model both scenarios to see the actual dollar difference.

    Does it matter what type of investing I'm doing?

    Yes. Tax-advantaged investing (401k, IRA) delivers higher after-tax returns than taxable accounts. This shifts the comparison: even a 7% investment in a Roth IRA grows fully tax-free, making it worth prioritizing over paying down 5% debt. A 7% return in a taxable account at 22% capital gains tax nets ~5.5% — much closer to the debt payoff guaranteed return.

    What if I'm stressed about debt — does the math still apply?

    Financial decisions have a behavioral component. If high debt stress is affecting your work performance, sleep, or relationships, the psychological benefit of debt freedom has real economic value. Paying off debt for peace of mind is a legitimate choice even when the math says to invest. The best financial plan is one you can actually execute consistently.

    JM

    James Mitchell

    Certified Financial Education Instructor (CFEI) · Personal Finance Writer

    James Mitchell is a Certified Financial Education Instructor (CFEI) and personal finance writer who has spent a decade building financial planning tools and educational content used by hundreds of thousands of Americans. He specializes in loan strategy, debt management, and retirement planning, and writes exclusively about topics he has personally researched and verified.

    Disclosure: This article is for informational and educational purposes only and does not constitute financial, tax, or legal advice. Always consult a licensed financial professional before making major financial decisions. Full disclaimer →