Investing vs Paying Off Debt: The Math
Invest or kill the debt? Here are the exact numbers for every common scenario so you can stop guessing.
Don't have time? Here's what you need to know:
- 1Paying off debt gives a guaranteed return; investing gives a higher expected return with volatility
- 2Over 30 years, investing beats paying off a 5% loan in about 95% of historical scenarios
- 3Tax advantages of 401(k) and Roth IRA contributions tilt the math further toward investing
- 4The break-even point is around 6-7% — above that, prioritize debt; below, prioritize investing
The Raw Math: Expected vs Guaranteed Returns
Paying off a loan with a 6% interest rate gives you a guaranteed 6% return on every extra dollar you pay. No risk, no volatility, no bad years. Investing that same dollar in the S&P 500 gives you an expected 10% average return — but with years that range from +30% to -37%. Expected means over long periods; guaranteed means every single time.
Over a 30-year period, the stock market has beaten 6% returns in about 95% of rolling periods. But over 5 years, the odds drop to about 75%. The longer your time horizon, the more the math favors investing over early debt payoff — as long as the debt rate is below 6-7%.
Side-by-Side: $300/Month Extra
Say you have $30,000 in student loans at 5% interest with 10 years remaining, and you have $300 extra per month. Here are your two options modeled out.
Option A: Put all $300 toward loan payoff. You clear the loan in about 5.5 years and save roughly $4,100 in interest. After the loan is gone, you invest $300 monthly for the remaining 4.5 years and end with about $20,000 in investments. Option B: Invest $300 monthly from day one at 10% average returns. After 10 years, you have about $57,000 in investments, minus the extra ~$4,100 in loan interest you paid. Net: ~$52,900. Option B wins by about $32,900 — but carries the risk of poor market returns.
| Strategy | Loan Paid Off | Investments at Year 10 | Interest Saved | Net Position |
|---|---|---|---|---|
| All $300 to loan | Year 5.5 | ~$20,000 | $4,100 | ~$24,100 net |
| All $300 to investing | Year 10 (normal schedule) | ~$57,000 | $0 | ~$52,900 net |
| $150 each | Year 7 | ~$28,500 | $2,000 | ~$30,500 net |
The Tax Angle Most People Miss
If you invest through a Roth IRA, your gains are tax-free forever. If you invest in a 401(k), your contributions reduce your taxable income now. Both give your invested dollars a tax advantage that pure debt payoff does not. A $300 monthly 401(k) contribution at a 22% tax bracket saves you $66 per month in taxes — that is $792 per year in tax savings on top of the investment returns.
Student loan interest is deductible up to $2,500 per year (income limits apply), which slightly reduces the effective interest rate. A 5% loan with the interest deduction at a 22% bracket has an effective rate of about 3.9%. That makes the invest-vs-pay-off decision even more tilted toward investing.
Tip: Run both scenarios with your actual loan balances, rates, and expected contributions using the ETF return calculator. Seeing your specific numbers makes the decision concrete instead of theoretical.
Want the full framework? This 2-hour ETF course teaches you exactly how to pick, buy, and hold profitable ETFs — from zero to confident investor. Under $15.
Frequently Asked Questions
What if the market crashes right after I choose to invest instead of paying off debt?
If your time horizon is 10+ years, a crash early on actually benefits you — your monthly contributions buy shares at lower prices. The 2008 crash was devastating for those who sold, but investors who kept buying monthly recovered and reached new highs by 2013. The risk is real for short time horizons (under 5 years), which is why high-rate debt payoff gets priority.
Is there a break-even interest rate where I should switch strategies?
Roughly 6-7% is the crossover point. Below 5%, investing wins with high confidence over 10+ years. Above 8%, debt payoff wins. Between 5-7%, it is close enough that your risk tolerance and psychological comfort should decide. A 50/50 split works well in this gray zone.
Should I factor in student loan forgiveness programs?
If you qualify for Public Service Loan Forgiveness (PSLF) or income-driven repayment forgiveness, making minimum payments and investing the difference is usually the optimal strategy. Extra payments toward a loan that will be forgiven are wasted money. Confirm your eligibility before relying on forgiveness.
Further Reading
Free Tools
Alex Harrington
CFA Level II Candidate, Finance & Economics
Alex Harrington is an independent ETF researcher and personal finance writer with over 8 years of experience analyzing exchange-traded funds. A CFA Level II candidate with a background in economics, Alex has reviewed 800+ ETFs and helped thousands of beginners build their first investment portfolios through clear, jargon-free education.
This content is for educational purposes only and does not constitute financial advice. Past performance does not guarantee future results. Consult a licensed financial advisor before making investment decisions.