Prepay Mortgage vs Invest Calculator Canada

This mortgage vs invest calculator compares prepaying your mortgage with investing in a taxable account, TFSA or RRSP, and finds the return where they tie.

Prepay Mortgage vs Invest Calculator Canada
C$
%
years
C$
%
%
years
Advanced options
%
%
Advantage of investing over prepaying —
Net position if you prepay (savings minus mortgage) —
Net position if you invest (savings minus mortgage) —
Scheduled mortgage payment —
Mortgage left if you prepay —
Mortgage left if you invest —
Portfolio if you prepay —
Portfolio if you invest —
Mortgage interest avoided by prepaying —
Return that makes the two equal —
Effective after-tax return on the portfolio —

We always strive to use the latest data for every variable so our results and reports are as accurate as possible. Even so, errors are possible — you should not rely on this tool or its report alone, and we accept no liability for any decision made based on it.

What it does

The Prepay Mortgage vs Invest Calculator compares two uses of the same spare cash over a chosen horizon: paying extra against a Canadian mortgage, or investing the money in a taxable account, a TFSA or an RRSP.

Data sources & parameters

The figures below drive this calculator. We keep them aligned with the latest official guidance, and each result recalculates automatically whenever a value changes.

ParameterValueSourceLast updated
Capital gains inclusion rate0.5canada.caEffective 2025-01-0150% inclusion; proposed 2/3 increase cancelled 2025-03-21 (verified 2026-08)

We always strive to use the latest data for every variable so our results and reports are as accurate as possible. Even so, errors are possible — you should not rely on this tool or its report alone, and we accept no liability for any decision made based on it.

The formula

Advantage of investing = (portfolio after tax - mortgage left) when investing - (portfolio after tax - mortgage left) when prepaying

How it works

It runs both strategies month by month on an identical budget using the Canadian semi-annual compounding convention, redirects the whole payment into the portfolio once a mortgage is cleared, taxes the investment return according to the account you choose, and compares the two net positions at the horizon.

Where it is used

  • Deciding whether a lump of spare cash should go to the mortgage or to the market
  • Finding the return an investment has to beat before it is worth skipping a prepayment
  • Seeing how much of an investment return a taxable account gives back in tax

Worked example

On a CA$400,000.00 mortgage the scheduled payment is … a month. Putting the spare cash on the mortgage leaves … owing and a net position of …. Investing it instead leaves … owing and a portfolio worth … after tax, a net position of …. Investing therefore comes out … ahead, and the two strategies would have tied at a return of …, while the stated return is worth … after tax.

What the mortgage vs invest calculator does

With a few hundred dollars a month to spare, is it better to put it on the mortgage or in the market? The calculator runs both strategies side by side over the horizon you choose and reports the difference in your net position at the end.

Both paths spend the same amount each month, both use Canadian semi-annual compounding on the mortgage, and the investment return is taxed according to the account you pick. The result is a dollar difference plus the return the investment would need to earn to come out ahead.

The guaranteed return of prepaying

An extra dollar paid against a mortgage earns the mortgage rate, guaranteed, for as long as the mortgage would otherwise have run. It is also tax-free: interest you never pay is not income. So a 4.5% mortgage is competing with whatever pre-tax return leaves you 4.5% after tax.

Canadian mortgages compound semi-annually by law, so the effective annual cost is slightly above the quoted rate. The calculator converts the quoted rate with the standard formula: halve it for the two compounding periods, then take the sixth root for the six months in each period. That is a legal quoting convention, so it is arithmetic in the code rather than a parameter.

Where the tax drag comes from

Inside a TFSA there is none. Growth and withdrawals are untaxed, so you win by beating the effective mortgage rate.

Outside a registered account, interest and most bond income are taxed every year at your marginal rate, so that part of the portfolio compounds at the return times one minus the rate. Capital gains fare better: only the included portion is taxable, and nothing is taxed until you sell, so the money compounds gross for years first. The calculator splits your expected return between the two treatments using the share you enter, so an equity fund portfolio and a GIC portfolio get very different answers from the same headline return.

In an RRSP, each contribution generates a refund, and putting the refund back in means each after-tax dollar buys more room. Everything compounds untouched until withdrawal, when the whole balance is income. Whether that comes out ahead depends mostly on your marginal rate now compared with your expected rate in retirement.

A worked example

You owe $400,000 at 4.5% with 25 years left, so the scheduled payment is about $2,214, and you have $500 a month spare. You expect 6% before tax, all as capital gains, in a non-registered account at a 40% marginal rate, and look 10 years ahead.

Prepaying saves about $15,432 of interest and leaves a balance of about $214,774. Investing leaves a balance of about $290,206 but a portfolio of about $76,989, so investing ends about $1,557 ahead. The breakeven return is about 5.53%. In a TFSA the breakeven drops to about 4.55%, close to the effective mortgage rate, and investing ends about $5,805 ahead. If the 6% were all interest income instead, the breakeven rises to about 7.58% and prepaying wins by about $3,558.

Keeping the two strategies comparable

The most common flaw in this comparison is letting the two paths spend different amounts. If you prepay aggressively, the mortgage clears early, and from then on that strategy has a large free cash flow the invest strategy lacks, because it is still making payments. Ignoring that makes prepayment look bad.

The calculator moves the entire freed-up budget, scheduled payment and spare cash together, into the same portfolio the moment a mortgage clears, in whichever strategy clears first. In the month of the last payment, only the amount needed to close the balance is paid and the rest of that month’s budget is invested. Monthly outlay is identical in both paths throughout the horizon.

What the breakeven number tells you

In a TFSA the breakeven comes out close to the effective annual mortgage rate, a useful check that the model behaves. In a non-registered account it sits above the mortgage rate, and well above it when the return is mostly interest taxed at a high marginal rate. In an RRSP with a lower expected retirement rate it can sit below the mortgage rate, because the tax difference between contribution and withdrawal does some of the work.

The decision then comes down to whether you expect the portfolio to beat that number over the horizon, after fees, with the volatility attached.

What the model leaves out

Volatility matters most. The expected return is applied as a smooth annual figure, so the portfolio never has a bad decade or forces you to sell at the wrong time, while a prepayment carries no such uncertainty.

Prepayment privileges are next. Most Canadian mortgages cap what you can pay down each year without penalty, typically a percentage of the original principal plus a payment increase option. Spare cash above the privilege cannot go on the mortgage.

Liquidity is the last. A portfolio can be reached in a few days. Home equity needs a refinance, a line of credit or a sale, and lenders are least willing to grant those when you most need them.

Using the result

Read the advantage figure as a direction under your assumptions. Change the expected return by a point either way; if the answer flips easily, the two options are close and certainty and peace of mind can decide it.

This calculator provides an estimate for information only and is not financial or investment advice.

About This Mortgage vs Invest Calculator

Use this mortgage vs invest calculator to get an instant, accurate estimate. The figures follow official CRA guidance and every rate and threshold is kept up to date for 2026. Adjust the inputs above to match your situation, or browse all our calculators to plan your next step.

Tax year 2026

Frequently asked questions

Should I pay down my mortgage or invest?
It depends on the after-tax return you can earn compared with your mortgage rate. Prepaying gives a guaranteed, tax-free return equal to the mortgage rate. Investing offers a higher expected return, but it is uncertain and, outside a registered account, taxed. The calculator turns that trade-off into two numbers you can compare.
What is the breakeven return the calculator reports?
The pre-tax investment return at which both strategies leave you in the same position at the end of the horizon. Above it, investing wins on these assumptions; below it, prepaying wins. In a TFSA it lands close to the effective annual mortgage rate, and in a taxable account above it.
Why is the breakeven higher than my mortgage rate?
The mortgage return is tax-free and an investment return usually is not. Every dollar of interest you avoid is a dollar you keep, while investment gains in a non-registered account are shared with the CRA. That tax drag is why the breakeven sits above the mortgage rate.
How does the calculator keep the comparison fair?
Both strategies spend the same amount every month: the scheduled payment plus the spare cash. When a mortgage is cleared inside the horizon, the whole freed-up budget goes into the portfolio. Without that rule the prepayment strategy would look worse than it is, because its cash flow would vanish.
How is the RRSP option modelled?
It assumes the refund from each contribution is put back into the account, which is the same as an after-tax dollar buying more contribution room, and it taxes the whole balance at the withdrawal rate you set at the end of the horizon. If your rate in retirement is lower than today's, that gap shows up as an advantage.
Does this account for the risk of investing?
No, and that is the main limitation. The expected return is a smooth annual figure with no volatility or sequence risk, while a prepayment is certain. Two strategies with the same expected outcome are not equally attractive when one of them can lose money.

About the author

Taha Kheirandish

Written and reviewed by

Taha Kheirandish

Economics student and independent researcher

Taha Kheirandish reads tax codes the way other people read maps — to find out where a system actually leads, not where it claims to go.

He is an economics student, and his work here is comparative by design. A pension deferral bonus in Quebec, a commuting allowance in Germany, a rent-increase ceiling in the Netherlands: each is a decision a government made about how money should move, and each reads differently once you set it beside eight others. He builds and checks these calculators across nine markets from primary sources — the regulation rather than a summary of it, the ministry’s own circular rather than a news item quoting it.

That is the editorial standard of the site as well as his habit. Every rate, threshold and bracket here carries the document it was read from and the date it takes effect, and gets re-checked when the law moves rather than when someone happens to notice.

He is a researcher, not a licensed adviser, and nothing on this site is personal financial advice. It is arithmetic done carefully with its sources shown — so that you can check it, and take it to someone who is.

Leave a Reply

Your email address will not be published. Required fields are marked *