How it works
Enter the lump sum you have, the debt balance and its yearly interest rate, and the return you expect from investing. Then the tax you pay on returns, how many years you are comparing, and any penalty for repaying early.
Formula
Investment gain = the amount x ((1 + return x (1 - tax))^years - 1).
Break-even return = the debt rate divided by (1 - tax).
Above that return the investment wins, below it the debt does.
Example
100,000 against a 22% debt, or invested at 15% for 5 years: repaying saves 110,000 in interest, the investment earns 101,135.72 after tax, so the debt is ahead by 8,864.28.
For a single year it is 22,000 against 15,000, so the debt is 7,000 ahead.
Frequently asked questions
What if the lump sum is bigger than the debt?
Only the balance can be repaid. The page repays that and shows the rest separately, which you could invest instead.
Is the investment return guaranteed?
No. The page treats your return as an average, while the interest saved on the debt is certain. Keep that difference in mind when the two are close.