Pay Off Debt or Invest? The Math That Decides
Should spare cash clear your debt or go into the market? This guide gives the guaranteed-vs-uncertain framework, where the rate line sits, and the steps almost everyone should do first.
You have spare cash and you have debt. Every dollar can either wipe out debt — saving you its interest rate, guaranteed — or go into investments that might earn more. It feels like a toss-up, but there's a clean framework that resolves most of it, plus a few steps that come before the debate even starts.
The core comparison: your debt's rate vs. your expected return
Paying off debt earns you a guaranteed, risk-free, tax-free return equal to the interest rate. Clear a 19% credit card and you've locked in a 19% "return" with zero uncertainty. Investing offers a higher expected return, but uncertain — historically ~7–10% a year from diversified stocks, before inflation, with real volatility.
So line them up: compare your debt's interest rate to the after-tax return you could reasonably expect from investing.
- Debt rate clearly above your expected return (e.g. a 19% card vs. ~7% investing): pay the debt. No contest — you can't reliably beat 19% anywhere.
- Debt rate clearly below your expected return (e.g. a 3% student loan or mortgage): investing usually wins over the long run, and the low-rate debt can ride.
- In between (~6–8%): a judgement call on risk tolerance — the guaranteed return of debt payoff vs. the higher-but-uncertain return of investing.
Debt Payoff Calculator
See how fast extra payments clear your debts and how much interest you'd save — the guaranteed return side of the decision.
Why "guaranteed" deserves a premium
A 7% expected investment return is not the same as a 7% guaranteed debt payoff. The investment return is an average that comes with the risk of losing money for years at a time; the debt payoff is certain. Rational investors pay a premium for certainty, which is why many people sensibly clear debt even when the rates are close — the guaranteed return is worth more than its headline number suggests. As a rule of thumb, that's why the "in between" zone often tilts toward paying the debt if it bothers you at all.
The steps that come first (before you choose)
For most people, neither extreme is right until two things are in place:
- A starter emergency fund. Investing or aggressively overpaying with no cash buffer means the next surprise goes back on a credit card. Build at least one month of expenses first — see emergency fund or pay off debt first.
- The full employer retirement match. If your workplace matches contributions, that's an instant 50–100% return — higher than any debt rate. Capture it before paying down anything but the most toxic debt. Skipping a match to overpay a loan is almost always a mistake.
Worked example
You have $400/month spare, a $8,000 credit card at 21%, and a $15,000 student loan at 4%.
- The card (21%): pay this aggressively. Investing instead would need to reliably beat 21% after tax — it won't. Clearing it is a guaranteed 21% return.
- The student loan (4%): once the card is gone, this can take a back seat. Investing the $400/month at ~7% is likely to out-earn the 4% interest, so paying only the required amount and investing the rest usually builds more wealth.
This is the typical pattern: kill the high-interest debt, then invest while letting low-interest debt ride.
Investment Calculator
Project what investing the spare cash could grow to — the uncertain-but-higher return side of the decision.
Don't forget tax
Put both sides on an after-tax footing. Investing inside a tax-advantaged account (401(k)/ISA/RRSP/super) raises your effective return and tilts the decision toward investing. If any of your debt interest is tax-deductible, that lowers its effective rate. Compare after-tax to after-tax, not headline to headline.
The behavioural factor
The math is only half of it. Some people are far more motivated by watching debts disappear than by watching an investment balance wobble. If carrying debt keeps you up at night, the guaranteed progress and peace of mind from clearing it can be worth more than a slightly higher expected return. The "optimal" plan you won't stick to loses to the slightly-suboptimal one you will.
Common mistakes
- Investing while carrying credit-card debt. Hoping for 8% while paying 21% is going backwards.
- Skipping the employer match to overpay low-interest debt. You're declining a guaranteed 50–100%.
- Throwing everything at a 3% loan. Mathematically you're likely leaving growth on the table — though peace of mind can justify it.
- Comparing pre-tax to post-tax. Always compare like for like.
For the specific case of a low-rate mortgage, see should you pay off your mortgage or invest. For choosing between cash and the market in the first place, see saving vs investing.
More on loans & debt
Which repayment strategy pays off debt faster and saves more interest.
8 min read
The fee-vs-savings math, the 0% intro trap, and how to clear the balance in time.
9 min read
Depreciation, financing, insurance, fuel, and maintenance — the full running cost most buyers underestimate.
9 min read
Why minimum payments keep you in debt for decades, the maths behind the trap, and how to escape it.
8 min read
Put the theory to work: browse all Loans & Debt calculators →