Should you pay off debt or invest your extra money? Compare both strategies side-by-side and see which one builds more wealth over time.
This calculator compares two strategies for using your extra monthly cash:
You put your full extra cash toward paying off debt. Once the debt is gone, you invest the same amount for the remaining years. This guarantees a risk-free return equal to your debt interest rate while paying down debt.
You make only the minimum payment on your debt while investing all your extra cash in the market from day one. At the end of the horizon, your net worth equals your investment portfolio minus any remaining debt balance.
Example: If you have $10,000 in credit card debt at 18% APR, $500/month in extra cash, and a 10-year horizon at 7% expected returns โ Strategy A (pay off first) would clear the debt in about 2 years, then invest $500/month for 8 years, growing to roughly $64,000. Strategy B would invest $500/month for all 10 years while paying minimums, but still owe roughly $7,000 in debt, leaving about $79,000 โ making Strategy B the winner in this scenario.
See both strategies clearly displayed next to each other with net worth, debt paid, and investment values.
Get an instant verdict on which strategy builds more wealth, along with the projected dollar difference.
Find the investment return rate where both strategies are equal โ helping you decide based on your risk tolerance.
Account for your marginal tax rate on investment returns for a realistic, after-tax comparison.
Works perfectly on phones, tablets, and desktops. All calculations run privately in your browser.
No registration, no hidden fees, no data collection. Professional-grade financial analysis at no cost.
Step 1: Calculate months to pay off debt with extra payments
Step 2: Invest remaining months at expected return
Step 1: Amortize debt at minimum payment for the full horizon
Step 2: Calculate investment growth over full horizon
Net Worth (B): Investment Value โ Remaining Debt Balance
Credit card debt, personal loans, and payday loans typically have high interest rates. Paying them off gives you a guaranteed return equal to that rate โ much better than market risk.
If debt is causing you anxiety or sleepless nights, the psychological benefit of being debt-free may outweigh any mathematical advantage of investing.
If you can't stomach market volatility, paying off debt provides a guaranteed, risk-free return at your debt's interest rate โ no market risk involved.
If your debt has a variable interest rate (like an ARM or variable credit card rate), paying it off protects you from future rate increases.
Mortgages, student loans, and some auto loans have relatively low rates. Market returns have historically outperformed these rates over long periods.
With 10+ years to invest, compounding works in your favor. Even moderate market returns can significantly outperform low-interest debt costs.
Never skip an employer match to pay down debt. The 50-100% immediate return on a 401(k) match far exceeds any debt interest rate.
Tax-advantaged accounts (401k, IRA, HSA) provide compound growth without annual tax drag, making investing even more attractive on an after-tax basis.
The answer depends on your debt interest rate, expected investment returns, and personal situation. As a general rule:
Always prioritize an employer 401(k) match regardless of debt level โ that's an instant 50-100% return.
Our Debt vs Invest Calculator is designed to answer one of the most common financial questions: "Should I pay off debt or invest my extra money?" Unlike simple rules of thumb that ignore your specific numbers, this calculator provides a personalized, data-driven comparison based on your exact debt balance, interest rate, available cash, and investment horizon.
Full amortization modeling for both debt payoff and investment growth, not simplified approximations.
Clear, visual comparison of net worth outcomes so you can make an informed decision.
Discover the exact investment return needed for investing to beat paying off your debt.
All calculations run in your browser. No data is sent to or stored on any server.
Disclaimer: This calculator is for estimation and educational purposes only. Investment returns are not guaranteed. Past market performance does not guarantee future results. For personalized financial advice, consult a qualified financial advisor or tax professional.