Calculators & Strategy

Should I pay off debt or invest?

By Isaiah Grant, Founder, AdvisorCal · April 15, 2026
The short answerCompare the after-tax interest rate on your debt against your expected after-tax investment return — if your debt rate exceeds roughly 7%, paying it off first almost always beats the market. Low-rate mortgages under 5% rarely justify accelerated payoff when tax-advantaged investment accounts are available, though the decision also depends on your emergency fund, employer match, and risk tolerance.

Should I pay off debt or invest?

TL;DR. Compare the after-tax interest rate on your debt against your expected after-tax investment return — if your debt rate exceeds roughly 7%, paying it off first almost always beats the market. Low-rate mortgages under 5% rarely justify accelerated payoff when tax-advantaged investment accounts are available, though the decision also depends on your emergency fund, employer match, and risk tolerance.

The decision framework — after-tax rates tell the truth

The debt-vs-invest question boils down to one comparison: the guaranteed "return" of eliminating your debt interest versus the expected (but uncertain) return of investing. The key is comparing apples to apples by converting both to after-tax rates.

Here is a worked example with 2026 numbers. Suppose you have $30,000 in student loans at 6.5% interest and $500/month of extra cash flow. If you throw that $500 at the loans, you save 6.5% on every dollar — guaranteed, risk-free. Now compare that to investing: the historical S&P 500 returns approximately 10% nominal, but after federal taxes on gains (15-20% long-term capital gains rate for most filers) and state taxes, your after-tax return is closer to 7-8%. That makes it a close call.

Now consider credit card debt at 22% APR. No investment reliably returns 22% after taxes — paying the card first is a no-brainer. On the other hand, a mortgage at 4.5% with itemized deductions might carry an effective after-tax rate of only 3.2% (4.5% x (1 - 0.28) for a filer in the 28% bracket who itemizes). Investing at a 7% expected return while carrying that mortgage puts the spread at nearly 4 percentage points in your favor.

The rule of thumb: debt above 7% after-tax — pay it first. Debt below 4% after-tax — invest first. Between 4-7% — it depends on your risk tolerance, emergency fund, and whether you have an employer 401(k) match on the table (always capture the match first — it is an instant 50-100% return).

Try it with your numbers

Run your debt vs. invest comparison

This is the same calculator AdvisorCal subscribers embed on their own advisor websites. running live below. Enter your numbers to see results instantly.

Want this calculator on your own site with your branding? Start a 14-day free trial. no credit card required.

What a good debt vs. invest calculator should show

Key facts

Common follow-ups

Should I pay off my mortgage early or invest in my 401(k)? Almost always invest first — especially if your employer offers a match. A 4.5% mortgage with itemized deductions may carry an effective after-tax rate of 3.2%. Meanwhile, a 401(k) contribution earns an immediate tax deduction (worth 22-37% depending on bracket) and compounds tax-deferred. The math overwhelmingly favors maximizing tax-advantaged accounts before making extra mortgage payments.

What about the debt snowball method — does the math change? The debt snowball (smallest balance first) is a behavioral strategy, not a mathematical optimization. The debt avalanche (highest rate first) saves more in interest. However, if quick wins keep you motivated, the snowball method can work. Neither method changes the core debt-vs-invest comparison — that still depends on your highest debt rate vs. expected investment return.

Is paying off student loans worth it if I expect Public Service Loan Forgiveness? If you qualify for PSLF and are making income-driven payments, accelerating payoff can be counterproductive — you would pay more than necessary on loans that will ultimately be forgiven. In this case, invest the difference. Run the numbers carefully: PSLF requires 120 qualifying payments under an eligible repayment plan while working full-time for a qualifying employer.

Does this analysis change during a market downturn? The expected long-term return does not change based on short-term market conditions — if anything, investing during downturns has historically produced above-average forward returns. However, if a downturn creates income uncertainty, prioritizing debt reduction (especially high-rate debt) provides guaranteed cash-flow relief. The right answer depends on your job security and emergency fund, not on market timing.

When this doesn't apply

The debt-vs-invest framework assumes you have stable income, an adequate emergency fund (3-6 months of expenses), and the discipline to actually invest the money you do not put toward debt. If you lack an emergency fund, building one comes first — neither aggressive debt payoff nor investing helps if an unexpected expense forces you onto a credit card at 22%. The framework also does not apply to debts with non-financial consequences, such as tax liens or debts in collections that threaten wage garnishment. Resolve those first regardless of the interest rate math.

Sources

Try AdvisorCal

AdvisorCal's Debt vs. Invest Calculator is one of 42 financial tools available on a single subscription. Full white-label branding, lead capture, branded PDFs, one flat price. Start a 14-day free trial no credit card required.


AdvisorCal provides software tools, not investment, tax, or legal advice. Consult a qualified professional for decisions specific to your client or personal situation.

Try AdvisorCal

42 financial tools built for advisors. 14-day free trial. No credit card required.

Start Free Trial →

Cancel anytime.