Pay off debt or invest? Compare both plans
Last reviewed:
Enter your debt, its rate and payment, and the extra you can spare each month. You get which plan leaves you further ahead, by how much, and the return investing would need to beat paying off the debt.
Calculator
Turn on JavaScript to see your result.
The rule: compare the interest rate with the return
Every extra dollar you put on a debt earns exactly its interest rate, guaranteed and tax-free, because it is interest you no longer pay. Every dollar you invest earns an uncertain return, and you may owe tax on the gain. So the question is simple: is the after-tax return you expect higher than the debt’s rate, by enough to be worth the risk?
- High-rate debt, pay it first. Credit cards charged an average of 22.36% on balances that paid interest in the third quarter of 2026 (Federal Reserve). Few investments reliably beat that.
- Middle rates are a judgment call. Personal loans averaged 11.9% and new car loans 7.54%. Investing might win over many years, but paying down the debt is the risk-free choice.
- Low-rate debt, investing usually wins. A mortgage or student loan under about 5% is often worth paying on schedule while you invest, especially in tax-advantaged accounts.
A sensible order for extra money
- Keep up the minimum on every debt.
- Build a small emergency fund so a surprise bill does not go back on a card. The emergency fund calculator sizes it.
- Get the full employer 401(k) match. A 50% or 100% match is an instant return no debt payoff can beat.
- Pay off high-rate debt such as credit cards. The credit card payoff calculator plans it.
- Then split extra money between investing and lower-rate debt, based on the comparison above and how much you value being debt-free.
How the calculator compares the two plans
Both plans spend the same amount each month: your required payment plus the extra. In the pay-debt plan all of it goes to the debt until it is paid off, then all of it is invested. In the invest plan the required payment goes to the debt and the extra is invested, and once the debt is gone the payment is invested too. At the end we take investments, minus tax on the gains, minus any debt left. The break-even return is the steady return at which both plans finish level.
Real markets do not return a steady rate. A few bad years early on can leave the invest plan behind even when the average return beats the debt rate, which is the risk the guaranteed payoff avoids.
Questions people ask
Should I pay off debt or invest?
Compare the debt’s interest rate with the after-tax return you expect. Pay off high-rate debt such as credit cards first. For low-rate debt such as a mortgage under about 5%, investing usually comes out ahead over many years. Always take an employer 401(k) match first.
Is it better to pay off a credit card or invest?
Pay off the card. Cards averaged 22.36% on balances that paid interest in the third quarter of 2026, and paying one off is a guaranteed, tax-free return at that rate.
Should I pay off my mortgage early or invest?
With a low fixed rate, investing tends to win over long periods, especially in a 401(k) or IRA. Paying the mortgage down is guaranteed and lowers your monthly costs in retirement, so many people do some of both.
What return should I assume for investing?
Use a figure you would be comfortable with in a weak decade, not a best case. Try your number and a lower one: if investing only wins at the high figure, paying off the debt is the safer choice.
Does the 401(k) match change the answer?
Yes. A match is an immediate 50% or 100% return on the money you put in, which beats paying off any debt. Contribute enough to get the full match before sending extra money to debt.
Your next decision
- How fast can I pay off my card?Months and interest saved.
- How does my net worth compare?By age, 2025 Fed data.
- How big should my emergency fund be?Months of costs covered.
Related: Net worth percentile · Am I rich? · Budget · Subscription cost · All planning tools
Sources
- Board of Governors of the Federal Reserve System, Consumer Credit - G.19, Terms of Credit (released November 6, 2026). As of November 6, 2026.
Written by Abiot Y. Derbie, PhD. Average debt rates are from the Federal Reserve’s G.19 consumer credit release. The comparison is a month-by-month simulation with a steady return; real returns vary from year to year. Our editorial policy explains how we source numbers and correct mistakes. This is an estimate, not investment advice. Investment returns are not guaranteed and can be negative.