Should you pay off debt or invest your extra cash? Compare the real returns: 22% credit card interest vs 7% investment returns. Our calculator shows which path builds more wealth.
๐ The Short Answer
If your debt interest rate is higher than 7%, pay it off first โ you're guaranteed a 'return' equal to the interest rate you avoid. For low-interest debt (below 5%), investing typically wins over the long term. The breakeven depends on your tax bracket, investment returns, and whether your debt interest is tax-deductible.
Paying $10,000 credit card debt at 22%
Equivalent to a guaranteed, tax-free 22% return. No investment can match this risk-free.
Investing $10,000 at 7% annual return
But your $10,000 debt at 22% would grow to $73,046 if unpaid. Net loss: $53,374.
Paying a 4% mortgage vs investing at 7%
Over 20 years, $10,000 invested at 7% = $38,697. Paying $10,000 toward a 4% mortgage saves $11,911 in interest. Investing builds $26,786 more wealth.
Breakeven interest rate (24% tax bracket)
Investments taxed at 24% need to return 9.2% to beat paying off a 7% debt. For tax-advantaged accounts (401k/IRA), the breakeven is lower.
| Debt Type | APR | Guaranteed Return | Vs 7% Investing | Winner |
|---|---|---|---|---|
| Credit Card | 22% | 22% (tax-free) | Investing would need 28.9% return to match | Pay Debt |
| Personal Loan | 12% | 12% (tax-free) | Investing would need 15.8% return to match | Pay Debt |
| Student Loan | 6.8% | 6.8% (possibly deductible) | Close call โ consider splitting 50/50 | Split |
| Auto Loan | 5% | 5% (not deductible) | Investing at 7% beats by 2%/yr | Invest |
| Mortgage | 4% | 4% (possibly deductible) | Investing at 7% beats by 3-4%/yr | Invest |
Compare the guaranteed after-tax return of debt payoff (the interest rate you avoid) vs the expected after-tax return of investing. For debt payoff: return = APR ร (1 - tax_deductible_fraction). For investing: return = expected_return ร (1 - tax_rate). Choose whichever is higher.
Outcome: Reduces debt while building investments. Psychologically satisfying and mathematically reasonable for medium-rate debt (5-8%).
Pros
Cons
Outcome: Refinance 22% credit card debt to a 10% personal loan, then invest the 12% spread savings.
Pros
Cons
๐ก What This Means For You
For most people with consumer debt above 7-8% APR, paying it off is the mathematically superior choice โ it's a guaranteed, tax-free return that no investment can reliably beat. Once high-interest debt is eliminated, redirect those payments to investments. For low-interest debt like mortgages, the math favors investing over the long term, but the peace of mind from being debt-free has real value too.
The breakeven is approximately 7-8% for most people. Above this rate, pay debt first. Below 5%, invest. Between 5-8%, your tax bracket, risk tolerance, and whether the debt is tax-deductible should guide your decision.
Almost never. A 401(k) withdrawal triggers income tax + 10% penalty, costing 34%+ total. That's worse than 22% credit card interest. A 401(k) loan avoids the penalty but you lose market growth and must repay within 5 years.
For most people with a 3-4% mortgage, investing in a diversified portfolio at 7% expected return builds more wealth over time. A $100,000 lump sum invested at 7% for 20 years = $386,968. Paying the same toward a 4% mortgage saves $119,112 in interest โ investing wins by $267,856.
Federal student loans at 4-7% sit in the gray zone. If your rate is below 5%, prioritize tax-advantaged investing (401k match, IRA). If above 6%, split 50/50. Don't forget: student loan interest up to $2,500 may be tax-deductible.
Important Disclaimer โ Not Financial Advice
The results from this calculator are for informational and educational purposes only. They are not a guarantee of actual outcomes and should not be considered financial, investment, tax, or legal advice. Always consult a qualified professional for advice tailored to your specific financial situation. See our Terms of Service and Privacy Policy for more information.
Last reviewed by Qasem Mohammed โ May 31, 2026
AI & Software Engineer, Founder & Lead Developer at QFINHUB ยท Editorial Policy