Tax-Loss Harvesting Calculator Canada
See how much tax you save by selling an investment at a loss to cancel out capital gains, using your province and income.
The investment you would sell
Your tax year
Tax on this year's profits, before and after selling
Canooq estimate · Ontario · 2026 rates
What this same loss is worth at other incomes
A lower bar next to a higher income is real: Ontario's health premium rises in steps, so at some incomes the profit also costs a little premium, and the loss saves it.
Canooq estimate · Ontario · 2026 rates
What is tax-loss harvesting?
Tax-loss harvesting means selling an investment that is worth less than you paid, so its loss cancels the profits you made on other investments. Less profit on your tax return means less tax. You then buy something similar, so your money never leaves the market.
Say you sold some shares this year for a $10,000 profit. Half of that, $5,000, is added to your income and taxed. You also own an ETF you bought for $20,000 that is now worth $15,000. Sell it, and the $5,000 loss cancels half of your profit. Only $2,500 is taxed instead of $5,000. In Ontario on an $85,000 income, that is about $741 less tax.
It only works in a regular investing account. Inside a TFSA, RRSP or FHSA, nothing is reported to the CRA, so there are no profits to cancel and no losses to claim.
- Capital gain
- The profit when you sell an investment for more than you paid. Buy for $10,000, sell for $14,000, and the gain is $4,000. Only half of it is added to your income.
- Capital loss
- The same thing in reverse: you sell for less than you paid. Buy for $20,000, sell for $15,000, and the loss is $5,000. It can only cancel capital gains, not your salary.
- Book value
- What you paid for an investment, including trading fees. Your broker shows it as book value. The adjusted cost base (ACB) is the official name the CRA uses.
What your numbers say
You paid $20,000 for an investment now worth $15,000. Selling it locks in a $5,000 capital loss. Against your $10,000 of profits this year, it cancels $5,000. Only half of a profit is taxed, so your taxable gains drop from $5,000 to $2,500, and your tax bill in Ontario falls by $741.
Your next dollar of income is taxed at 29.7%, so each dollar of profit costs you 14.8% and each dollar of loss saves the same. The trade has to be placed by Wednesday, December 30, 2026 to count for 2026. The replacement you buy starts with a lower cost, so the tax is pushed into the future rather than erased; it pays most when you sell the replacement in a lower-income year, such as retirement.
Assumptions and sources
Half of every capital gain and loss counts for tax, as set out in the CRA’s guide T4037. Income tax uses 2026 federal and provincial brackets with the basic personal amount; other credits are not modelled.
The loss is applied to this year’s gains first. What is left is carried back to the three previous years, up to the gains you enter, then forward. Both are valued at today’s rate on a capital gain, since the tool cannot know your rate in those years.
Trades settle one business day after you place them, and the TSX is closed on December 25 and 28, 2026, so December 30 is the last trade date that settles in 2026.
Fees, foreign exchange and losses you already carry from earlier years are left out. If you trade often enough for the CRA to treat it as a business, these rules do not apply. Confirm your book value on your broker statement before you sell.
Four things you need for it to work
If any one of these is missing, selling at a loss will not lower your tax. The calculator checks the first three for you; the fourth is up to the replacement you pick.
An investment that is down
Its market value is below its book value. That gap is the loss.
In the right account
A regular, non-registered account. TFSA, RRSP and FHSA results are never reported.
Gains to cancel
Profits taken this year, or reported in the last three years. A loss only cancels gains.
A different replacement
Something similar, not the same investment, so the 30-day rule cannot deny the loss.
The 30-day rule that can cancel your loss
The CRA does not let you sell at a loss and buy the same thing right back. Under the superficial loss rule, the loss is denied if you, your spouse or common-law partner, a company you control, or your own RRSP or TFSA buys the same investment in the 30 days before or after the sale and still holds it 30 days later.
| What you do | What happens |
|---|---|
| Sell, then buy the same ETF back the next day | Loss denied |
| Sell, and your spouse buys it the same week | Loss denied |
| Sell, and buy it in your TFSA or RRSP two weeks later | Loss denied for good |
| Sell, and buy a similar ETF that tracks a different index | Loss allowed |
| Sell, wait 31 days, then buy the original back | Loss allowed |
The usual fix is a fund from another company that follows a different index. XIC follows the S&P/TSX Capped Composite and VCN follows the FTSE Canada All Cap Domestic: both hold most of the Canadian market, so switching from one to the other keeps you invested and keeps the loss.
How to do it in your account
- Open your broker account and switch to the gains and losses view. Sort holdings by the biggest drop, comparing market value with book value.
- Add up the profits you have taken this year in regular accounts. Your broker's realized gains report lists them.
- Sell the whole position that is down. Selling part of it gives you part of the loss.
- The same day, buy a similar investment that tracks a different index, so your money stays invested.
- At tax time, your T5008 slip shows the sale. Report it on Schedule 3, and add Form T1A to send a leftover loss back to past years.
The deadline, and the catch
A sale counts in the year it settles, one business day after you place it. With the TSX closed on December 25 and 28, the last day to sell for 2026 is Wednesday, December 30.
The replacement you buy starts at today’s lower price, so if it climbs back and you sell it, you report a bigger profit then. Harvesting pushes tax into the future. You keep and invest the saving now, and you pay less overall if you sell the replacement in a lower-income year, such as retirement.
Common questions about tax-loss harvesting
What is tax-loss harvesting, in plain words?
You sell an investment that is worth less than you paid for it, in a regular investing account. That locks in a capital loss, which cancels profits you made selling other investments, so less of your income is taxed. The same day, you buy a similar investment so your money stays in the market. You end up holding roughly the same thing and paying less tax this year.
Does it work in a TFSA, RRSP or FHSA?
No. Nothing that happens inside a TFSA, RRSP or FHSA is reported on your tax return: profits there are not taxed, and losses there cannot be claimed. Harvesting only works in a regular, non-registered account, sometimes called a cash or margin account. If your only investments are in registered accounts, you have nothing to harvest, and nothing to pay tax on either.
How much of a capital gain is taxed?
Half. If you buy shares for $10,000 and sell them for $15,000, your capital gain is $5,000, and $2,500 of it is added to your income. You pay your normal tax rate on that $2,500. At a 30% rate that is about $750. A capital loss works the same way in reverse: half of it cancels taxable gains, which is why the tool shows each dollar of loss saving half of your tax rate.
Can a capital loss lower the tax on my salary?
No. A capital loss can only cancel capital gains, not employment income, interest or most other income. That is why the tool asks for the profits you have already taken. If you have no gains this year, the loss is not wasted: it carries back to gains from the last three years or forward to any future year.
What happens if my loss is bigger than my gains?
The part you cannot use becomes a net capital loss. You can send it back to cancel capital gains you reported in any of the three previous years by filing Form T1A with your return, and the CRA refunds the tax you paid on them. You do not need to amend the old returns. Anything still left over carries forward to every future year with no expiry, and the CRA keeps track of the balance on your notice of assessment.
What is the superficial loss rule?
It is the CRA rule that stops you from selling at a loss and buying the same thing straight back. The loss is denied if you, your spouse or common-law partner, a corporation you control, or your own RRSP or TFSA buys the same or an identical investment in the 30 days before or the 30 days after your sale, and still holds it 30 days after. A denied loss in a regular account is added to the cost of the new purchase, so it comes back later. A loss denied because your RRSP or TFSA bought the investment is gone for good.
What can I buy instead so I stay invested?
Something similar that is not the same investment. For index funds, the usual answer is a fund from another company that follows a different index. For example, XIC follows the S&P/TSX Capped Composite Index and VCN follows the FTSE Canada All Cap Domestic Index: both hold most of the Canadian stock market, so switching from one to the other keeps your money working without breaking the 30-day rule. Two funds that track the same index are riskier, because the CRA can treat them as identical.
What is the deadline to harvest a loss for 2026?
Wednesday, December 30, 2026. A sale counts in the year it settles, and Canadian stock and ETF trades settle one business day after you place them. The TSX is closed on December 25 and 28, so a trade on December 30 settles on December 31. A trade placed on December 31 settles in January and counts for 2027.
Is tax-loss harvesting free money?
Mostly it is tax you pay later instead of now. The replacement you buy costs less than your original did, so if it climbs back and you sell it, you report a bigger gain then. It still pays off in three ways: you keep and invest the saving today, you can pay less overall if you sell the replacement in a lower-income year such as retirement, and a loss carried back turns into a real refund from a year that is already closed. For a saving of a few dollars, the trading fees and your time may not be worth it.
How do I report a harvested loss?
Your broker sends a T5008 slip or an annual gains and losses summary showing the sale. You report the sale on Schedule 3 of your tax return, and most tax software fills it in from the slip. To carry a loss back to an earlier year, also file Form T1A with this year's return. Keep your own record of what you paid, because the book value on the slip is not always right after transfers or reinvested dividends.
How accurate is this calculator?
It gives a close planning estimate. It uses 2026 federal and provincial tax brackets with the basic personal amount, and values any carried-back or carried-forward loss at today's rate, since it cannot know your rate in other years. It leaves out fees, foreign exchange on US-dollar holdings, losses you already carry from earlier years, and credits for dependants, tuition or medical expenses. Check your book value on your broker statement before you sell.
Related reading
Guides to investing and paying less tax in Canada.

Couch Potato Investing in Canada: A Simple Index Portfolio Guide
A deeper guide to Canadian Couch Potato investing, including passive indexing, asset allocation, all-in-one ETFs, EQT/GRO/BAL fund names, rebalancing, fees, behaviour, and account choice.

TFSA in Canada: Contribution Room, Withdrawals and Investing
Everything that grows in a TFSA is tax-free, and you can take money out any time. The 2026 limit is $7,000, and anyone eligible since 2009 has up to $109,000 of room.

8 Canadian Personal Finance Misconceptions That Can Lead You Astray
A raise can't leave you with less, a TFSA can hold stocks, and renting isn't money thrown away. Eight Canadian money myths, each with the numbers that settle it.
Keep going by journey
Newcomer setup
Move from arrival tasks to banking, credit, housing, phone service, taxes, and a workable first-month plan.
Saving money
Build a monthly plan, reduce recurring costs, prepare an emergency buffer, and choose the next useful money step.
Housing
Compare affordability, prepare rental documents, estimate moving costs, and understand the rent-versus-buy trade-off.
Documents
Create practical Canadian letters, checklists, employment records, rental documents, and organized admin files.