Skip to main content

Pay Off Debt or Invest?

You have money spare each month and a debt you could clear with it. This runs both plans over the same period, with the same total monthly outlay, so the comparison is honest — and tells you what choosing one over the other is actually worth.

Display only. The maths here is the same in every country.

Your numbers are stored in the link itself, not on our servers.

Your position

The debt, and what you can put toward it each month

Over 15 years, clearing the debt first leaves you

$14,769 ahead

Your debt costs 19.99% and your investments are assumed to return 7%. Paying the debt is the guaranteed win.

Debt first

Ahead

Surplus attacks the debt, then switches to investing once it clears

Debt cleared
1 year 7 months
Interest paid
$2,073
Investments
$196,589
Net position
$196,589

Invest first

Surplus is invested from month one; debt runs on its minimum

Debt cleared
8 years 2 months
Interest paid
$12,324
Investments
$181,820
Net position
$181,820

Both plans spend exactly $750 a month. The only difference is where the money goes first. If your employer matches retirement contributions, capture that before either plan — it beats both.

This runs in your browser. Every figure you enter stays on your device. Nothing is transmitted to us, nothing is stored on a server, and there is no sign-up. See our privacy policy.

What this comparison actually does

Most versions of this question are answered with a slogan: "never invest while carrying debt", or "the market beats your mortgage rate". Both are sometimes right and often wrong, and neither depends on your figures.

This calculator runs two plans over the same number of years, with exactly the same amount leaving your account each month, and reports where you end up under each. That equal-outlay rule is what makes it a fair comparison. A calculator that lets one plan spend more than the other is not comparing strategies, it is comparing budgets.

Debt first sends the surplus at the debt until it clears, then redirects the whole payment — surplus plus the freed-up minimum — into investments for the remaining years.

Invest first puts the surplus into investments from month one and pays only the minimum on the debt, for as long as the debt lasts.

The net position at the end is investments minus any debt still outstanding, because a plan that leaves you with a large pot and a large balance has not actually got you further ahead.

The rule the arithmetic gives you

Strip away the detail and the comparison reduces to one thing: is your debt interest rate higher than your expected investment return?

  • Debt rate higher — paying it down wins, and the gap grows the longer you compare over
  • Debt rate lower — investing wins on average, but only on average
  • Close together — the two plans finish near enough that other considerations decide

That is the whole model. Everything else is refinement.

Try a card at 19.99% against a 7% expected return. Paying the debt wins by a wide margin, and no amount of investment optimism closes it, because you are comparing a certain 19.99% against a hoped-for 7%.

Now try a mortgage at 3.5% against the same 7%. Investing wins, and the gap widens with the horizon.

The asymmetry the numbers hide

There is one thing the calculator cannot show you, and it matters more than the gap in most real decisions.

Paying down debt is a guaranteed return. Investing is not.

Clearing a balance at 19.99% returns exactly 19.99%, with certainty, in every possible future. A 7% expected investment return is an average across a wide distribution — some years are strongly positive, some are sharply negative, and the order they arrive in is unknowable.

So even where investing wins in the model, it wins on an expected value that carries risk the debt repayment does not. That does not mean you should always pay debt first. It means a close result should be broken in favour of the certain option, and only a clear margin justifies taking the risk.

A rough way to apply this: if investing wins by less than about a fifth, treat the two as equivalent and choose on other grounds.

What comes before either plan

Two things beat both strategies and should be handled first, whatever the calculator says.

An employer retirement match. If your employer matches contributions, that is an immediate return of 50% or 100% on the matched portion. No debt rate and no market return competes. Contribute enough to capture the full match before you run this comparison at all — the money you are modelling here is what remains afterwards.

A basic emergency fund. Putting every spare pound or dollar into debt repayment feels efficient right up to the first unexpected expense, which then goes back on the card and undoes the progress. A starter fund of a thousand or two breaks that loop. Building an emergency fund covers how to size the full version.

Both of these are why the calculator shows a note about the match beneath the results. It is not a footnote; it is the first step.

Choosing a return figure honestly

The expected return input is where wishful thinking enters. Some discipline:

  • Use a long-run figure rather than recent performance. Recent years are not a forecast.
  • Use a figure after fees. A 7% gross return with a 1% all-in cost is 6%. Our investment fee calculator shows what that difference compounds to.
  • Consider using a figure after tax, if the investments are in a taxable account. Debt repayment returns are never taxed, which quietly favours the debt side of the comparison.
  • Be more conservative over shorter horizons. Averages need time to assert themselves; over five years the range of outcomes is very wide.

If you would not defend the number to someone sceptical, lower it.

Where the tax position changes the answer

The calculator deliberately models cost and return, not tax, because tax treatment differs by country and by account. Two adjustments worth making mentally:

Tax-advantaged space favours investing. Money going into a 401(k), IRA, ISA or pension is treated differently from money in an ordinary account, and that treatment can be worth more than a few percentage points of return. Unused annual allowances also do not carry forward indefinitely, so space skipped this year may be lost.

Deductible interest lowers the effective debt rate. Where mortgage interest is deductible, the effective cost of the debt is below the headline rate, which shifts the comparison toward investing. Where it is not, the headline rate is the real rate.

Neither of these is universal, and both depend on your circumstances. They are worth raising with an accountant rather than resolving from a calculator.

The part that is not arithmetic

Some people carry debt comfortably and some find it genuinely distressing. If a balance is affecting how you sleep, clearing it has a value the model cannot price, and choosing the mathematically second-best option for that reason is a legitimate decision rather than a mistake.

Equally, some people find that having investments growing is what keeps them engaged with their finances at all, and a decade of pure debt repayment with nothing visible accumulating is what makes them give up.

The calculator tells you the price of that preference. Once you know it is a few hundred rather than a few tens of thousands, you can make the choice on the grounds that actually matter to you.

When the answer is neither

If the debt rate is very high and the balance is large relative to your income, the useful move may be to change the rate rather than choose a destination for the money.

  • A 0% balance transfer stops the interest for a fixed window; whether the fee is worth it is worked through in how balance transfers actually work
  • Consolidating into a lower-rate loan does the same without a deadline, though it usually raises your debt-to-income ratio
  • If several debts are involved, the order you clear them in is its own question — our debt payoff calculator compares the avalanche and snowball methods

Lowering the rate improves both plans simultaneously, which is why it is usually worth investigating before optimising between them.

Sharing your figures

The Copy link button encodes your inputs into the page address, so you can send the comparison to a partner or keep it as a bookmark and revisit it when your rate or income changes.

The numbers live in the link and in your browser. Nothing is sent to us, nothing is stored on a server, and there is no sign-up.

MyFinanceBlogs

Your personal finance hub for credit cards, loans, insurance, and investing.

© 2026 MyFinanceBlogs. All rights reserved.

Information on this site is general in nature and is not financial, legal, or tax advice. Consider your own circumstances and consult a qualified professional before making financial decisions.