Superficial loss calculator: the 30-day period and the denied amount
By Wash-Sale Guardian (who's behind it) · Published 2026-11-12 · Last updated 2026-11-12 · How the checker works
Canada's superficial loss rule, sometimes called the 30-day rule, denies a capital loss in whole or in part when you, or a person affiliated with you, acquire the same or identical property in the period from 30 days before to 30 days after the sale, and at the end of that period you or a person affiliated with you owns it or has a right to acquire it. Enter the trade date of a sale at a loss to see that period, counted from the settlement date as the Canada checker (beta) counts it. Then enter the units sold, acquired and held and the loss to see the part CRA's formula denies. Everything stays in this page; nothing you enter is sent anywhere.
For the 2026 tax year, the last trade date that settles in 2026 is Wednesday, December 30, 2026, for shares and ETFs that settle one business day after the trade.
This page is about Canadian taxes, in Canadian dollars. For the US wash-sale rule, which counts trade dates, use the wash sale calculator.
1. The superficial loss period
2. How much of the loss is denied
CRA's formula takes four numbers for one sale. Count the units of everyone who counts for the rule together: you, your spouse, an RRSP or TFSA of either of you, and any other person affiliated with you. Whether an RESP or an FHSA counts isn't settled; ask a CPA.
It works one sale at a time, on the numbers you type. The guide to the superficial loss rule explains who counts as affiliated with you, the RRSP and TFSA traps, and the 2026 year-end dates.
Check your own trades (Canada, beta)
The Canada checker (beta) reads your broker CSV files in your browser, with nothing uploaded, and applies the superficial loss rule across your accounts, your registered plans and your spouse's. Where a result depends on a question CRA hasn't settled, it shows "Can't tell" and names the question. It is free during the beta.
Check my trades in the Canada checker Read how the Canada check works
An example you can check by hand
You bought 100 shares of a TSX-listed stock on Wednesday, December 9, 2026, and sold 75 of them at a loss of $1,000 on Wednesday, December 30, 2026. You bought and sold nothing else, and neither did anyone affiliated with you.
- Settlement: the sale settles one business day later, on Thu, Dec 31, 2026, so it counts for 2026.
- The period: 30 days before to 30 days after Dec 31, both days included: Tue, Dec 1, 2026 to Sat, Jan 30, 2027. The first day after it is Sun, Jan 31, 2027, which isn't a trading day: purchases traded on or after it settle after the period, and the next trading day is Mon, Feb 1, 2027.
- The edges: a purchase traded Fri, Jan 29, 2027 settles Mon, Feb 1, 2027, after the period, though it was traded inside it; CRA hasn't settled whether it counts. At the other end, a purchase traded Mon, Nov 30, 2026 settles Tue, Dec 1, 2026, inside the period.
- The amount: the December 9 purchase settles Thu, Dec 10, inside the period, so S = 75, P = 100 and B = 25 (the shares still held on Jan 30). The least is 25, so 25 ÷ 75 × $1,000 = $333.33 is denied, rounded to the cent. $666.67 remains a capital loss, and $333.33 is added to the ACB of the 25 shares still held.
- The strict reading: here the shares bought on December 9 are acquired in the period and 25 of them are still held at its end, so, read strictly, the law would deny the whole $1,000, as the CIBC explainer quoted below says of its own example where 25 of 100 shares bought in the period are sold. CRA's formula is the administrative concession that allows the $666.67. That explainer works the same S, P, B and L and rounds the result to $333.
How it is worked out
The period. The definition of "superficial loss" in section 54 of the Income Tax Act (read on 2026-11-12 on the Justice Laws website, which shows the Act current to 2026-10-19) speaks of "the period that begins 30 days before and ends 30 days after the disposition". The loss is superficial when, in that period, "the taxpayer or a person affiliated with the taxpayer acquires a property" that is, or is identical to, the property sold, and "at the end of that period, the taxpayer or a person affiliated with the taxpayer owns or had a right to acquire the substituted property". The definition also lists cases it leaves out, which CRA's capital losses page names.
Counted from the settlement date. In technical interpretation 2015-0588981C6, from the APFF roundtable of October 9, 2015 (read on 2026-11-12 in the published text of 2015-0588981C6), CRA answered in French: "c'est la Date de règlement d'une transaction boursière (et non la date de négociation de la transaction) qui est la date de disposition aux fins de calculer le gain ou la perte en capital". In English, the settlement date of a stock market trade, not its trade date, is the date of disposition for calculating the capital gain or loss (our translation). CRA's T5008 guide (T4091) asks for the same date on the slip, in Box 14: "Enter the month and day on which the transaction was completed (the settlement date)." CRA's circular on technical interpretations (IC70-6R12) says one "is not determinative of the tax treatment of a specific taxpayer's situation", and we found no CRA statement that applies the settlement date to the superficial loss period by name. This calculator uses the same date rules as the Canada checker (beta): the period runs from 30 calendar days before to 30 calendar days after the sale's settlement date, both days included, a purchase counts by its own settlement date, and a sale counts in the year it settles, the year of its date of disposition in CRA's view.
The settlement date worked out. Without a settlement date, it is worked out from the trade date. On May 27, 2024 the Canadian Securities Administrators announced that the rule amendments for "a shorter settlement cycle for equity and long-term debt market trades" had come into force in Canada, and added: "The transition to T+1 in the United States will take place May 28, 2024, one day later than in Canada." (CSA news release, read on 2026-11-12). Their notice of April 27, 2017 concerns "shortening the standard settlement cycle for equity and long-term debt market trades in Canada from three days after the date of a trade (T+3) to two days after the date of a trade (T+2)", with the amendments expected to "come into force, with certain transitional relief, in all CSA jurisdictions on September 5, 2017", the date the notice also expected for the US markets (CSA notice, 2017, read on 2026-11-12). So the calculator counts one business day after the trade from May 27, 2024 on the TSX and from May 28, 2024 in the US, two from Sept. 5, 2017, and three before that, by the TSX or the NYSE holiday rules. In Canada, Nov. 11 and, from 2021, Sept. 30 count as days nothing settles, though the TSX trades on both: its notices call each "a Banking Holiday ONLY" and "a non-settlement day" (TSX notice for Nov. 11, 2025; TSX notice for Sept. 30, 2026; both read on 2026-11-12).
The amount. A CIBC Private Wealth explainer (March 2026, read on 2026-11-12) says: "The CRA has, administratively, established a formula to determine the amount of a superficial loss upon a partial disposition." Its formula:
Superficial loss = (the least of S, P and B) ÷ S × L
S = "the number of items disposed of" · P = "the number of items acquired in the 61-day period" · B = "the number of items
left at the end of the period" · L = "the loss on the disposition as otherwise determined without regards to the superficial
loss rules"
CRA gives the same formula in its own words, "SL = (Least of S, P and B)/S x L", in technical interpretation 2022-0940941C6, from the APFF roundtable of October 7, 2022 (read on 2026-11-12 in the published text of 2022-0940941C6). There CRA works the loss out "as if all the parties were one person", and says: "In general, the number of shares remaining at the end of the period for the purpose of element B of the formula means all shares that are identical, including shares acquired prior to that period." So P and B count you, your spouse and your plans together, and B includes units held from before the period. The denied part is rounded to the cent, half up, and the loss that remains is L less it.
The strict reading. The same CIBC explainer says CRA "has acknowledged that this technical reading of the law is, indeed, correct", which denies the whole loss when the definition is met, and that CRA has adopted "an administrative policy to allow some of the otherwise superficial loss on a partial disposition of property". The calculator shows the formula's amount. It can't tell from four totals whether the definition is met, which is why each result says it assumes the loss is superficial.
Where the denied part goes. CRA's capital losses page (dated 2026-02-05, read on 2026-11-12) says: "if you are the person who acquires the substituted property, you can usually add the amount of the superficial loss to the adjusted cost base of the substituted property." That is section 53(1)(f). When the units are held by more than one of you, CRA divided the denied loss among the holders in proportion to the units each held, and added the RRSP's part to the adjusted cost base of the shares the RRSP bought (2022-0940941C6). CRA also says you cannot claim a deduction for "any capital losses within your RRSP" (CRA, RRSP deduction limit, dated 2026-01-29, read on 2026-11-12), so that part may never reduce your tax. CI Global Asset Management's explainer (February 26, 2021, read on 2026-11-12) says that when "substituted property is acquired within the RRSP or TFSA 30 days before or 30 days after", "again the loss is permanently denied"; CRA doesn't say so in those words.
What this leaves out
- Who counts as affiliated with you. It counts the units you type. Your spouse or common-law partner and a corporation you or your spouse control are affiliated with you (section 251.1). A registered plan such as your RRSP can count too: CRA counted a purchase by the seller's RRSP in its 2022 interpretation. Whether an RESP or an FHSA counts isn't settled. The guide to the rule explains who counts.
- What is identical property. CRA's archived bulletin IT-387R2 describes identical properties as "properties which are the same in all material respects", so that "a prospective buyer would not have a preference for one as opposed to another" (read on 2026-11-12). Whether a Canadian depositary receipt (CDR) is the same property as the share isn't settled, and two different securities, such as two ETFs on one index, might still be identical property: this page doesn't judge that.
- US-dollar trades. Amounts here are in Canadian dollars; this page doesn't convert. CRA's Schedule 3 page (dated 2026-02-05, read on 2026-11-12) says a foreign currency amount is "in general" converted at the Bank of Canada rate "in effect on the day of the transaction", and accepts some other rates, without saying which day that is for shares. In technical interpretation 2015-0588981C6, CRA said the US-dollar proceeds of a stock market sale are converted at the rate the Bank of Canada posted at noon on the settlement date. Asked whether it would accept either date, used the same way year after year, it answered: "Le contribuable doit suivre l'approche décrite ci-haut" (the taxpayer must follow the approach described above; our translation). An interpretation is not determinative of a specific taxpayer's situation (IC70-6R12).
- Several sales, accounts and plans at once. It works one sale at a time, on the totals you type. CRA's formula applied to each sale on its own can count one purchase for two loss sales, which isn't settled. The Canada checker (beta) reads your broker files and applies the rule across your accounts, your registered plans and your spouse's.
- Rights to acquire. The definition counts a right to acquire the property at the end of the period, and deems a right to acquire a property to be identical to it, so an option, or a purchase traded but not yet settled, can matter. This page counts only the units you type.
- Questions CRA hasn't settled. Among them: whether a loss is superficial when you, your spouse or a plan bought in the period and sold again while older units were still held at its end; when the denied amount is added to the ACB; and a purchase traded by the period's last day that settles after it. How the Canada check works lists them under "Questions not yet settled".
- Other settlement dates. The worked-out date uses the standard cycle the securities regulators set for equity and long-term debt trades. If your confirmation shows another settlement date, enter it.
- Advice. It is arithmetic on what you type, not tax advice. Confirm your own situation with a tax professional, and ask a CPA before you claim a loss the rule may touch.
Frequently asked questions
How is the 30-day superficial loss period counted?
From the sale's settlement date: 30 calendar days before it to 30 calendar days after it, both days included, so 61 days in all. The Income Tax Act calls it "the period that begins 30 days before and ends 30 days after the disposition". In technical interpretation 2015-0588981C6, CRA took the view that the settlement date of a stock market trade, not its trade date, is the date of disposition for calculating the capital gain or loss; we found no CRA statement that applies it to the superficial loss period by name. This calculator, like the Canada checker, counts a purchase by its own settlement date too.
What is the last day to sell at a loss for the 2026 tax year in Canada?
For shares and ETFs, which settle one business day after the trade, Wednesday, December 30, 2026: a sale that day settles Thursday, December 31. A sale traded Thursday, December 31 settles Monday, January 4, 2027, because January 1 is a holiday on the TSX calendar, so it counts for 2027: in CRA's view (technical interpretation 2015-0588981C6) the settlement date is the date of disposition. Its period runs from December 5, 2026 to February 3, 2027. Check your broker's own year-end notice too.
When does a re-buy fall outside the period?
When it is traded after the period's last day. For a sale traded Wednesday, December 30, 2026, the period ends Saturday, January 30, 2027, so a purchase traded on or after Sunday, January 31 settles after it, and the first trading day then is Monday, February 1. A purchase traded Friday, January 29 settles February 1, but it was traded inside the period and the law also counts a right to acquire the property, so CRA hasn't settled whether it counts. The period also reaches back 30 days before the sale's settlement date, and it covers purchases by your spouse and by an RRSP or TFSA of either of you.
How much of the loss is denied if I buy back fewer shares than I sold?
CRA's formula denies the least of S (the units sold), P (the units acquired in the period) and B (the units held at its end), divided by S, times the loss. Sell 100 shares at a $1,000 loss and buy 40 back that you still hold at the end of the period: S = 100, P = 40 and B = 40, so 40 ÷ 100 × $1,000 = $400 is denied and $600 remains a capital loss. The $400 is added to the adjusted cost base of the 40 shares.
Does a purchase before the sale count?
Yes. P counts units acquired in the 30 days before the sale as well as after it. Holding none before, buy 100 shares on December 9, 2026 and sell 75 of them at a $1,000 loss on December 30: S = 75, P = 100 and B = 25, so 25 ÷ 75 × $1,000 = $333.33 is denied, though nothing was bought after the sale. If you sell all 100 instead, none of the loss is superficial as long as, at the end of the period, neither you nor anyone affiliated with you (your spouse, your plans or anyone else) owns any of the shares or has a right to acquire them: no re-buy of yours or theirs still held then, no option and no purchase traded but not yet settled. If any of you does, part or all of the loss can be denied.
Does a purchase by my spouse, my RRSP or my TFSA count?
It can. The rule counts a purchase by you or by a person affiliated with you, and your spouse or common-law partner is affiliated with you (section 251.1). A CIBC explainer names "a trust of which you or your spouse or partner are a majority interest beneficiary (such as your RRSP or TFSA)", and CRA counted a purchase by the seller's RRSP in technical interpretation 2022-0940941C6. Count those units in P and B. Whether an RESP or an FHSA counts isn't settled; ask a CPA.
Is a superficial loss lost for good?
Usually not. CRA says that if you are the person who acquires the substituted property, "you can usually add the amount of the superficial loss to the adjusted cost base of the substituted property", and that this "will either decrease your capital gain or increase your capital loss when you sell the substituted property." A replacement bought in an RRSP is the case to watch. In technical interpretation 2022-0940941C6, CRA added that part to the adjusted cost base of the RRSP's shares, but CRA also says you cannot claim a deduction for "any capital losses within your RRSP", so that part may never reduce your tax. A fund company's explainer (CI Global Asset Management) calls a loss denied by a purchase in an RRSP or TFSA "permanently denied"; CRA doesn't say so in those words. Ask a CPA.
Not tax advice. Sources: ITA s. 54 · ITA s. 53 · ITA s. 251.1 · CRA, capital losses · CRA, T5008 guide (T4091) · CRA, Schedule 3 · CIBC explainer · CRA 2022-0940941C6 · CRA 2015-0588981C6 · CRA IC70-6R12 · CRA, RRSP deductions · CRA IT-387R2 (archived) · CI Global Asset Management explainer · CSA, T+1 (2024) · CSA, T+2 (2017) · TSX notice, Nov. 11 · TSX notice, Sept. 30. Confirm your own situation with a tax professional.