"It depends" is one of the most overused phrases in personal finance. Yes, there are variables: tax shelters, employer matching, risk tolerance. But the core math is not mysterious. It's arithmetic. Pay off debt or invest: whichever produces the higher guaranteed or expected return wins.

The problem is that most people never actually run the comparison with their specific numbers. They read "high-interest debt first, then invest" and assume that means credit cards only. Or they hear "always max your 401k" and carry a 22% APR balance for years. Both are wrong in different ways.

This article walks through the real math for every debt type, with specific break-even thresholds and 10-year projections you can compare against your own situation.

4.7%
Approximate after-tax return on a 7% index fund at a 33% marginal rate. This is the break-even point for taxable investing.

The Framework: One Number You Need to Know

The question isn't "should I pay debt or invest?" The question is: which produces a higher effective annual return?

Paying off debt produces a guaranteed return equal to your interest rate. Pay off a 21% credit card and you've earned a guaranteed 21% on that money, with zero risk. No investment does that.

Investing produces an expected return, not a guaranteed one. The S&P 500 has averaged roughly 10% annually over long periods, but the real number that matters for comparison is your after-tax return. In a taxable account, investment gains are subject to capital gains tax. In tax-sheltered accounts (RRSP, TFSA, 401k, Roth IRA), gains compound untouched.

So the comparison is:

The Break-Even Formula

After-tax return = Gross return × (1 − marginal tax rate)

At 7% gross and 33% marginal rate: 7% × 0.67 = 4.69%

Any debt above ~4.7% mathematically favours payoff in a taxable account. Any debt below ~7% may lose to a tax-sheltered account (TFSA, Roth, 401k).

The break-even threshold shifts based on where your investments live. More on that shortly.

The Rate-by-Rate Breakdown

Here's every common debt type matched against a 7% gross investment return at a 33% marginal rate. The "after-tax spread" is the gap between your debt cost and your expected net investment gain.

Debt Type Typical APR After-Tax Return (7% / 33%) Annual Gap per $10K Verdict
Credit card 19–25% 4.7% −$1,430–$2,030 Pay debt
Payday / cash advance 30%+ 4.7% −$2,530+ Pay debt immediately
Personal loan 10–18% 4.7% −$530–$1,330 Pay debt
Car loan 6–9% 4.7% −$130–$430 Pay debt (marginal)
HELOC / home equity 6–8% 4.7% −$130–$330 Borderline
Mortgage (2024+) 5.5–7% 4.7% −$80–+$170 Borderline
Low-rate mortgage (2020–2022) 2–4% 4.7% +$270–$670 Invest
Student loan 4–8% 4.7% −$30–+$470 Varies: run your numbers

The "annual gap per $10K" column shows what each strategy costs you in real dollars over one year per $10,000 of debt. At 21% credit card debt, carrying $10,000 while investing instead costs you $1,630 per year in net economic loss.

Case 1: Credit Card Debt (19–25% APR)

Verdict

Always pay the credit card first.

No diversified investment portfolio consistently returns 20%+ annually. Paying off a 21% credit card is a risk-free 21% return, the best guaranteed rate available anywhere. The only exception is capturing an employer match, and even then, pay the minimum you must to get the full match, then redirect everything to the card.

Credit card debt compounds monthly at rates that erase investing gains completely. Take a $12,000 credit card balance at 22% APR. At a $300/month minimum payment, you'll pay $9,248 in interest over 5.8 years before it's gone.

If instead you invested that $300/month at 7% gross (4.7% after tax) for 5.8 years, you'd accumulate roughly $23,800, but you'd still carry the $12,000 balance plus the $9,248 in interest. You'd be $2,448 behind net versus just paying it off.

The math gets worse the longer you wait. Every month of delay is interest that compounds against you.

Common Mistake

Holding a credit card balance while maxing a brokerage account because "investing is important." If your card charges 22% and your brokerage returns 7%, you're losing 15 percentage points per year on every dollar you invest instead of paying down the card. The portfolio isn't saving you. It's costing you.

Case 2: Mid-Range Debt (7–15% APR)

Verdict

Pay this debt. The math still favours it.

At 7–15%, your debt rate significantly exceeds the after-tax return you can reasonably expect from investing in a taxable account (~4.7% at 33% marginal rate). The one exception: if you have access to an employer match you haven't captured, prioritize that first.

Personal loans typically run 10–18% APR. Car loans in Canada and the US currently average 7–9%. Even at the lower end of this range, the math tilts toward payoff.

At 9% debt cost versus 4.7% after-tax return, you're losing 4.3 percentage points annually on every dollar invested instead of paid down. On a $20,000 car loan, that's $860/year in avoidable economic loss, every year until the loan is gone.

The counterargument you'll hear: "But you might earn more than 7% on your investments." That's true some years. It's also false in others. The debt rate is guaranteed. The investment return is not. When you're choosing between a certain loss and an uncertain gain, the risk-adjusted math favours debt payoff consistently.

Case 3: Low-Rate Mortgage (<5% APR)

Verdict

Invest, especially if you have contribution room.

A mortgage at 3–4.5% costs less annually than the expected after-tax return from a diversified index fund. Every extra dollar put toward the mortgage earns a guaranteed 3.5%. Every dollar invested in a TFSA or Roth earns an expected 7%, tax-free. The expected annual advantage: 3.5% per $10,000, or $350/year compounding over decades.

This is the debt most people get backwards. They feel uncomfortable with the mortgage and throw extra cash at it, while leaving RRSP or 401k contribution room untouched.

If you have a $350,000 mortgage at 3.25% and $30,000 in unused TFSA room, the math is clear: putting money into the TFSA captures expected returns of 7% annually, while mortgage prepayment earns only 3.25%. The gap is 3.75 percentage points, or $1,125/year per $30,000, before compounding.

Over 20 years, that difference compounds substantially. This is why the financial advice to "be debt-free" can actually cost low-rate mortgage holders tens of thousands in foregone returns.

Tax Shelter Changes Everything

In a taxable account, the after-tax return on 7% gross is ~4.7%. In a TFSA or Roth IRA, it's the full 7%. This is why mortgage debt below 7% can legitimately lose to investing: the tax shelter eliminates the tax drag that normally compresses returns. Always fill sheltered accounts before paying extra on low-rate debt.

The Employer Match Exception: Non-Negotiable

There is one rule that overrides almost everything else: always capture the full employer match before paying extra debt.

Here's why. An employer that matches 100% of your 401k/RRSP contributions up to 4% of salary gives you an immediate 100% return on every dollar contributed. That's before any investment gains. A credit card at 22% APR doesn't come close.

100%
Guaranteed return on an employer-matched contribution, before any investment return is applied

At a $60,000 salary with a 100% match up to 4%, contributing $2,400/year earns $2,400 in employer contributions immediately. That $2,400 is now invested and grows tax-sheltered. No debt payoff produces a guaranteed 100% return.

The only case where skipping the match makes sense: if your financial situation is so destabilized by debt (missed payments, collection calls, creditors threatening legal action) that the psychological and practical harm of the debt outweighs the mathematical benefit of the match. In that case, get stable first.

Otherwise: minimum payments on all debt, full employer match captured, then redirect everything to highest-rate debt first.

10-Year Projection: The Numbers That Settle It

Enough theory. Here's what each approach actually produces over a decade. Scenario: $15,000 credit card debt at 21% APR, $300/month current minimum payment, $400/month extra to allocate. Freed payments are reinvested at 4.7% after-tax once debt is gone.

Strategy Months to Debt-Free Interest Paid 10-Year Portfolio Value Net Position (Portfolio − Interest)
All $400 extra → debt ($700/mo total) 27 months $4,250 $82,000 $77,750
Split: $200 extra to debt, $200 to invest 43 months $7,500 $77,000 $69,500
$300 minimum only, invest full $400 120 months (barely) $21,000 $65,000 $44,000

At 21% APR, paying debt first wins on every metric — not just net position, but portfolio value too. Early debt freedom unlocks $700/month for investing 93 months earlier, which compounds past the gains from starting investments immediately at a 4.7% after-tax rate. The minimum-payment approach ends up with a portfolio nearly $17,000 smaller and $16,750 worse net.

The split feels balanced but sits in a losing middle: slower debt payoff than Strategy A, a smaller portfolio than Strategy A, and a net position $8,250 behind. The math consistently rewards speed on high-rate debt.

The Split Fallacy

Splitting money between debt payoff and investing on high-rate debt "feels" responsible. The numbers say otherwise. Every month you carry a 21% balance is $175 in interest on a $10,000 balance. A diversified index fund earns roughly $39/month after tax on the same $10,000 at 4.7% net. You're losing $136/month net, every month you delay full payoff.

Your Specific Decision: Run the Numbers

The framework above gives you the general answer. Your specific situation depends on:

The debt-vs-invest calculator on Unburden takes your exact numbers and produces a clear verdict — including the after-tax comparison, employer match analysis, and a 10-year projection for both scenarios.

Run Your Debt vs. Invest Comparison

Enter your debt rate, investment return assumptions, and tax bracket. Get a math-backed verdict in under 60 seconds.

Use the Calculator →

Frequently Asked Questions

At what interest rate should you pay off debt instead of investing?

The break-even rate depends on your after-tax investment return. In a taxable account at a 33% marginal rate, a 7% gross market return becomes roughly 4.7% after tax — so any debt above 4.7% mathematically favours payoff. In a tax-sheltered account (TFSA, Roth, 401k), the full 7% return is preserved, so the break-even rises: debt below 7% could lose to tax-sheltered investing.

Should I pay off my credit card or invest?

Pay the credit card. At 19–25% APR, no diversified investment consistently returns more — especially on a risk-adjusted basis. Paying off a 21% card is a guaranteed 21% return. The S&P 500 has averaged roughly 10% gross over long periods, which is less than half that rate. The math is not close.

Should I pay off my mortgage or invest?

For most mortgages originated at 2–4.5% (common from 2020–2023), investing typically wins — especially in tax-sheltered accounts. For 2024 mortgages at 6–7%+, the comparison is much closer. At 6%, the math sits near the break-even line for taxable investing and slightly below it for sheltered accounts. Run the specific numbers for your rate.

Is it always worth capturing employer matching before paying debt?

Almost always. A 50–100% employer match is an immediate guaranteed return that no debt payoff can match mathematically. Even 25% credit card debt loses to a 100% employer match — the match doubles your contribution before any market return is applied. Exceptions exist only when debt-driven financial instability makes stabilizing the highest priority.

Sources

  1. Bank of Canada. Credit Card Interest Rate Statistics. Published quarterly. bankofcanada.ca
  2. Federal Reserve Bank of St. Louis. Average Credit Card Interest Rate (TERMCBCCINTNS). FRED Economic Data. fred.stlouisfed.org
  3. S&P Dow Jones Indices. S&P 500 Annual Returns 1928–2025. spglobal.com
  4. Canada Revenue Agency. RRSP and TFSA Contribution Limits, 2026. canada.ca/cra
  5. IRS. Rev. Proc. 2025-32 — 2026 Tax Brackets and Standard Deductions. irs.gov
  6. Financial Consumer Agency of Canada. How Compound Interest Works on Credit Cards. canada.ca/fcac
  7. Vanguard Research. Quantifying Your Value: The Advisor's Alpha Framework. advisors.vanguard.com