Pay Down the Mortgage or Invest? Calculator

See what an extra payment or lump sum saves in interest and years, then compare it honestly with investing the same money in a TFSA, RRSP or taxable account: the return you would need to beat your guaranteed mortgage rate, whether you are inside your prepayment privilege, and what happens if markets disappoint.

$
years
Paying down the mortgage
$
%
years
Investing instead
%
More options
Lump sums and your tax rate
$
$
$
Marginal rate 29.6%
Paying down the mortgage
$
For the prepayment-privilege check
%
%
0 = same
years
Prepaying saves$56,850 of interestand pays the mortgage off 5.17 years early, around July 2043: a guaranteed, tax-free 4.09% return. Investing the same $500 a month in a TFSA at 6% leaves you $39,165 further ahead after 20 years, but only if you actually earn 6%. You need more than 4.09% to beat the mortgage.
Prepay the mortgageInvest instead
Extra equity from prepayingFreed payments invested after payoffInvestments after tax
After 20 yearsPrepayInvest
Mortgage balance$0$59,362
Extra equity from prepaying$59,362
Payments invested after the mortgage is gone$128,192
Investments$226,719
Net worth advantage$39,165

Your $6,000 a year is within the $75,000 prepayment privilege (15% of the original amount), so no penalty.

The return you need to beat prepaying, by account
TFSA (tax-free)4.09% a year
RRSP (refund reinvested)4.12% a year
Non-registered (interest taxed at 30%)5.81% a year

A GIC or bond paying less than the mortgage rate in a taxable account never wins. Stocks might, with risk: at 2% less than you expect (4%), prepaying wins by $1,827.

Show the math

Both paths spend the same cash every period: the regular payment plus $500 a month. Prepay: the extra goes on the principal; after the mortgage is gone, the whole payment is invested at your return (the flywheel). Invest: the extra is invested at 6% and the mortgage runs its course. TFSA: no tax either way. The hurdle rates are the pre-tax returns at which each account's after-tax result equals prepaying: TFSA = mortgage rate; taxable = mortgage rate ÷ (1 − marginal rate); RRSP adjusts for the refund and the withdrawal rate over the horizon. Mortgage interest compounds semi-annually; investment returns are annual effective. Not modelled: a HELOC re-borrowing strategy, inflation, or changes in income.

Common questions

Frequently asked questions

Is it better to pay off the mortgage or invest?
Prepaying earns a guaranteed, tax-free return equal to your mortgage rate. Investing only wins if your after-tax return is higher. At a 4.5% mortgage, a TFSA investment needs to beat 4.5%; a taxable account at a 30% tax rate needs about 6.4%. Long-run stock returns have beaten that on average, but not reliably over any given 10 years.
Why is the break-even higher in a taxable account?
Mortgage interest on your home is not deductible and prepaying saves it tax-free, while investment income in a taxable account is taxed. To match a 4.5% tax-free return at a 30% rate you need 4.5% ÷ 0.7 = 6.4% before tax. Interest is taxed at your full marginal rate; capital gains at half of it.
How much can I prepay without a penalty?
Most closed mortgages allow lump sums of 10% to 20% of the original principal each calendar year plus a payment increase of 10% to 100%; open mortgages allow any amount. Anything above the privilege triggers a prepayment charge, so check your mortgage agreement. The calculator checks your plan against the privilege you enter.
What about the RRSP refund?
If you invest in an RRSP, the refund is extra money to put toward either goal. A common approach is to contribute to the RRSP and use the refund to prepay the mortgage, getting both benefits.
Does the calculator account for risk?
No. The mortgage prepayment return is certain; the investment return is an assumption. A fair comparison uses a return you would be comfortable with in a bad decade, not the best case.
Should I do this before my renewal?
Prepaying reduces the balance you renew, which lowers the new payment; see the mortgage renewal calculator. If rates are expected to be higher at renewal, the guaranteed saving from prepaying is worth more.
Is paying down my mortgage the same as a guaranteed return?
Yes. Every dollar of principal you prepay saves interest at your mortgage rate for the rest of the amortization, tax-free and with no risk. To beat it by investing you need a higher after-tax return: at a 4% mortgage rate a TFSA needs more than 4%, and a taxable account needs about 4% divided by one minus your tax rate.
What happens to my mortgage payment after I pay it off early?
That is the part most comparisons miss. Once the mortgage is gone the whole payment is free, and if you invest it the prepay path keeps growing. The calculator invests those freed payments for the rest of the horizon so both paths spend the same cash.
Should I use my RRSP refund on the mortgage?
Contributing to the RRSP and putting the refund on the mortgage combines the two strategies and is often the best of both when your marginal rate is high. Choose the RRSP account and switch the refund destination to compare it.
Full guide: how it works, a worked example, every rule and every source Read the guide →
Sources

Sources

Every figure on this page comes from one of these primary sources. Data last verified .

  1. FCAC, Paying off your mortgage faster
  2. Interest Act, R.S.C. 1985, c. I-15, s. 6
  3. Bank of Canada, Policy interest rate
Put this calculator on your own website

Free for brokers, accountants, advisors and bloggers. Paste this where you want the calculator; it sizes itself and credits GlassLayer with a link.

<iframe src="https://glasslayer.ca/embed/prepay-mortgage-vs-invest" title="Pay Down the Mortgage or Invest? Calculator" style="width:100%;border:0;min-height:900px" loading="lazy"></iframe>
<script>addEventListener('message',e=>{if(e.data&&e.data.type==='glasslayer-embed-height'){document.querySelectorAll('iframe[src*="/embed/"]').forEach(f=>{if(f.contentWindow===e.source)f.style.height=e.data.height+'px'})}})</script>

Data verified for tax year 2026: Updated By Nishant Malik, founder of GlassLayer