– to sell for the 2026 tax year. The last trading day is Wednesday, December 30. Deadline details

A free tax-loss harvesting calculator for Canadian investors. Upload your broker's holdings file to see which losses you can claim and what they could save you. No sign-up, and your file never leaves your browser.

Tax-loss harvesting calculator: Canada

Upload your broker file, review the holdings, then run the scan. TFSA and RRSP holdings are flagged, not counted, they can’t produce a usable loss.

Broker format Auto-detect is on, change only if an import looks wrong
Leave on auto-detect unless a file imports wrong. A CSV upload never asks for a brokerage login, Tax-Alpha only reads a file you download yourself.

Works for copy-paste from Excel / Google Sheets and for brokers with no CSV button: select your holdings table, copy, and paste it here with its headers.

Your holdings, imported or added by hand. Only ticker, shares, ACB and price are needed; currency, FX and buy-back details live under “Advanced columns”.

Ticker Account Broker Shares ACB / share Price / share Currency FX on buy (to CAD) FX on sale (to CAD) Date acquired Identical property acquired in the 61-day window? Shares rebought in window Remove
Top combined federal + provincial rate. Drag the slider if your bracket is lower.
Tax saved = allowable loss × 50% inclusion × this rate.
Losses offset gains first. Leftover losses carry back 3 years or forward indefinitely.
Scan settings Tax year, planned sell date, income, defaults are set
Rates are versioned by tax year with a source date. Past scans keep the rates they were run with, a rate update never rewrites them.
Sets your superficial-loss window and earliest safe buy-back date. Settlement is T+1.
Shown in the show-your-work panel. Leave blank if you set the rate directly with the slider, the panel will say so rather than guess.
Runs entirely in your browser. Your CSV is read on this device and never uploaded anywhere.
Other ways to add holdings Email forwarding to stay current, manual entry as a last resort
STEP 1, RECOMMENDED

Upload CSV / XLSX

Download the holdings file your broker already offers, TD, Questrade, Wealthsimple, RBC, BMO, Scotia, CIBC, National Bank, Desjardins, Interactive Brokers, Qtrade and others, and upload it in the calculator above. It is read in your browser only, with a preview before anything is added.

STEP 2, KEEP CURRENT

Forward trade-confirmation emails

After a buy or sell, forward the trade-confirmation email from your broker to Tax-Alpha. Each confirmation is parsed for ticker, quantity, price and date, shown to you as a preview, and only then used to update your holdings and ACB. Forward confirmations only, never passwords, statements with full account numbers, or login links. In this development build the forwarding address is a placeholder and no mailbox is live, so use CSV for a trade today.

STEP 3, LAST RESORT ONLY

Enter manually

Type a holding only to fix a gap, a position an upload missed, or a broker with no export at all. The holdings table at the bottom of the calculator is the manual editor.

CSV read in your browserNo broker passwords, everTax-Alpha never places tradesPreview before any import is addedDevelopment build, no live mailbox, no charge

Broker auto-sync is not available in this versionThere is no broker connection or automatic sync in this version. Holdings come in by CSV upload (step 1) and trade-confirmation email forwarding (step 2) only, with manual entry as a last resort. Broker auto-sync will be added later, once there are paying users to cover its cost.

Does getting your holdings in cost money? No. CSV upload and email forwarding add no per-connection charge in this version. This is a development build with no live import mailbox and no charge, uploads are read locally in your browser using public sample formats. Broker auto-sync is deliberately not included yet; it will be added later once there are paying users.

How the scan works

Three checks, in the order the CRA applies them.

1

Spot the unrealized loss

For each holding, proceeds (shares × price, minus a selling commission estimate) are compared with your adjusted cost base. Only non-registered holdings can produce a claimable loss.

2

Apply the superficial loss rule

If you, your spouse, or your RRSP/TFSA buys the same or identical property in the 61-day window around the sale and still holds it at the end, the loss is denied. In a taxable account it is added to the replacement's ACB; inside a TFSA or RRSP it is usually lost for good.

3

Estimate the saving, keep exposure

Allowable losses offset capital gains at the 50% inclusion rate. For each harvestable loss you get an educational example of a similar-but-not-identical replacement, a different fund for an ETF, or a weighted basket for a single stock, so your exposure barely moves while the loss is banked. Examples only, not recommendations.

More free tools

Each one is free, anonymous and runs in your browser.

ACB Tracker

Keep your adjusted cost base right, pooled across all your non-registered accounts, with ROC, splits and USD trades handled.

Open the ACB Tracker

Superficial Loss Checker

Check one sale against the 61-day superficial-loss window, across you, your spouse, your TFSA and your RRSP, and get a clear verdict.

Check a sale

TFSA / RRSP Room Tracker

See exactly how much TFSA and RRSP room you have left, and get warned before an over-contribution costs you 1% a month.

Track my room

Dividend / ROC Tracker for ETFs

Log each ETF distribution and watch return of capital lower your ACB automatically, distribution by distribution.

Track distributions

Before you scan

Which brokerages work? TD, Questrade, Wealthsimple, RBC, BMO, Scotia, CIBC, National Bank, Desjardins, IBKR, Qtrade and any CSV

Download or copy your holdings from your broker. The importer reads the file in your browser and detects its layout.

TD Direct Investing

Portfolio report / holdings export (CSV or XLSX). Handles the multi-section report whose holdings table starts Asset Class, Sector, Security Description, Symbol, each account section is read with its own header row. Book value and market value map straight to ACB and price.

VERIFIED, PUBLIC SAMPLE

Questrade

Positions / Investment Summary holdings export, statement XLSX, or a trades export (Symbol, Action, Fill qty, Fill price, Currency, Exec time, Total value). Activity files are rebuilt into positions from their fills, and the preview says so.

VERIFIED, PUBLIC SAMPLES

Wealthsimple

Holdings report (CSV) or Activity CSV (Date, Symbol, Quantity, Price, Type, Account). The Account column drives the TFSA / RRSP / non-registered flag on every row. Managed accounts can paste the holdings table the same way.

VERIFIED, PUBLISHED COLUMNS

RBC Direct Investing

Holdings → Download holdings (CSV / Excel). Upload the file, or paste it with headers. No public sample was available to test against, so this runs on generic header matching, check the import preview.

INFERRED, GENERIC MATCHING

BMO InvestorLine

Holdings / Portfolio view → export, then upload the CSV. Account labels (TFSA, RRSP, margin) carry over. Format inferred from generic header matching, not a real BMO export.

INFERRED, GENERIC MATCHING

Scotia iTRADE

Account holdings → Download. Symbol, quantity, book value and market price columns map by header name. Format inferred, rely on the import preview to confirm the mapping.

INFERRED, GENERIC MATCHING

CIBC Investor's Edge

Portfolio / Holdings → Export to spreadsheet (XLSX uploads work, or paste the table with its header row). Format inferred from generic header matching.

INFERRED, GENERIC MATCHING

National Bank Direct Brokerage

Accounts → Positions → export. English and French column headers (symbole, quantité, valeur comptable) are both recognised, including semicolon-delimited files. Format inferred, no real NBDB export was available to test.

INFERRED, FR / EN MATCHING

Desjardins / Disnat

Portfolio → Positions export. French headers are normalised the same way as NBDB, and account types are detected from the account column. Format inferred, not verified against a real export.

INFERRED, FR / EN MATCHING

Interactive Brokers Canada

Activity Statement (CSV) with an Open Positions section, or a Flex Query positions file. The importer finds the Open Positions header inside the sectioned statement and reads only that table. Built against the paper-trading Activity Statement layout; live Flex column choices vary, so confirm in the preview.

REFERENCE FORMAT, PAPER STATEMENT

Qtrade Direct Investing

Holdings → Download / Export CSV. Standard symbol, quantity and cost columns import with auto-detect. Format inferred from generic header matching.

INFERRED, GENERIC MATCHING

Any other brokerage

CI Direct, Virtual Brokers, a US broker holding Canadian-listed ETFs, or a spreadsheet of your own: any CSV / XLSX with ticker + quantity + cost or value works. Manual entry always works too.

GENERIC CSV / XLSX
Same ticker at two brokers? Build one pooled ACB from the holdings above

Canada pools identical property across all your non-registered accounts, wherever they are held (s.47). If you hold the same fund at two brokers, import both files before you scan: each broker shows only its own book value, and harvesting on half the picture can shrink or erase the loss. Spouse and registered accounts are never pooled.

Default 50%. Only your share of a joint account is counted in your totals. Confirm your ownership share with your CPA, attribution can follow who contributed the money, not the account title.

The pooled view builds from the holdings table above. Add or import holdings, then build it.

How single-stock replacement examples are built Factor window, basket weights, validation

A single stock has no similar-but-not-identical twin, so the scan shows an educational example of a weighted basket of diversified funds that rebuilds the stock’s risk profile. Examples only, not recommendations, and CRA has not ruled on them.

Factor window: 1 year maximum: 252 trading days, no longer betasThe factor estimation window is 1 year maximum, 252 trading days, and longer betas are not used, because older data can skew the estimate toward what the stock used to be rather than how it moves now. Within that window, a market beta and Fama-French factor loadings describe how a stock has actually been moving, its market sensitivity, size, value, profitability, investment and momentum tilts, well enough to build a basket that mimics its systematic performance relatively well. What it cannot do, and should not try to do, is reproduce company-specific idiosyncratic risk: earnings surprises, guidance, product news. That idiosyncratic risk is diversified away by the basket, not copied, so the basket tracks the stock's systematic performance, not its day-to-day company-specific path.

How a replacement basket is determined

  • Measure the sold stock first, 1 year maximum. Using daily total returns over a factor estimation window of 1 year maximum, the trailing 252 trading days, never longer, cross-checked against a shorter 126-day window, regress the stock's excess return on the market's excess return. That slope is its market beta; the two windows must roughly agree, or the estimate is flagged unstable. Do not use longer betas: a 2- or 5-year beta mixes in stale regimes and can skew the profile away from how the stock trades now.
  • Add the Fama-French factors. The same return history, the same 252-trading-day maximum window, never extended beyond 1 year, is regressed on the five Fama-French factors, market (MKT), size (SMB), value (HML), profitability (RMW) and investment (CMA), plus momentum (MOM), using the factor series published in the Kenneth French data library. The loadings say why the stock moves: a large chip-maker typically loads as large-cap, growth-tilted, high-momentum and high-beta, which is a very different profile from a Canadian bank's low-beta, value-and-dividend profile.
  • Match the rest of the profile. Realised volatility, sector and industry, country and currency, and market-cap range are recorded alongside the factor loadings. A basket that matches beta but halves volatility, or swaps USD exposure for CAD, has not rebuilt the risk.
  • Solve for the weights. Candidate sleeves are diversified funds, a broad total-market fund, a sector fund, a factor- or style-tilted fund, never the sold stock itself. Weights are chosen to minimise the squared distance between the basket's combined factor loadings and the stock's loadings, plus a penalty for expected tracking error, subject to: weights sum to 100%, two to three sleeves, each sleeve between 10% and 50%, and no sleeve is identical property to what was sold.
  • Validate before showing it. The fitted basket is checked against the stock over a held-out recent three months that were not used to fit it. If the residual tracking error is too large, common for event-driven or binary-outcome names, the honest output is “no close basket,” a plain broad-market basket, and waiting out the 31 days, rather than a forced match.
  • Shrink noisy estimates. Betas and loadings from a window capped at 1 year, 252 trading days maximum, are noisy and shift after earnings and regime changes, so estimates are shrunk toward the sector average and toward a beta of 1.0, and re-estimated on the day of the sale. A factor fit is a description of the recent past, not a promise about the next 31 days. The basket it produces is designed to mimic the stock's systematic performance relatively well; its company-specific idiosyncratic risk is diversified away, not copied.
  • The tax check is separate, and it wins. Risk matching never overrides the superficial loss rule: no part of the basket may be identical property to the security sold, and only CRA can decide what counts as identical. CRA has not ruled on these replacements. Confirm with your CPA before trading.

What the output looks like: illustrative example only

For a large US semiconductor stock, the format the method produces is a weighted basket, never a single “swap-to” name:

  • 45%, a broad US total-market index fund (thousands of stocks, a different index from anything sold)
  • 30%, a diversified large-cap growth / Nasdaq-100 index fund (rebuilds the growth and momentum tilt)
  • 25%, a diversified semiconductor industry fund (many chip names, so the sector exposure stays but the single-name risk does not)

Those weights are an illustration of the format, not a fitted result: this build has no live return-history feed, so no beta or factor loading has been calculated for any stock here, and the example is not a recommendation. In a scan result, the basket shown for your holding is labelled the same way, and every replacement carries the warning: CRA has not ruled on this replacement, confirm with your CPA before trading.

ACB Tracker: adjusted cost base, pooled across accounts

Your capital gain or loss is proceeds minus ACB, so a wrong ACB quietly corrupts every tax decision downstream. This is the standalone ACB Tracker, built for DIY investors who do not want tax-loss harvesting and just need their cost base right: pooled ACB across accounts, from your own transactions, with return of capital, splits and USD FX handled. Free and anonymous, no sign-up, no email required.

Calculate your ACB

Adjustments Return of capital, reinvested distributions, shares already sold

ACB tracking with transactions

Enter transactions in date order and Tax-Alpha rebuilds ACB from them. ACB is pooled across all your non-registered portfolios for the same symbol, per Income Tax Act s.47. TFSA and RRSP positions are tracked separately and never pooled. Spouse accounts get a Spouse badge: their purchases are checked for the superficial loss rule, but their ACB is never merged with yours. Joint accounts are weighted by your ownership share, default 50%. USD amounts are converted at the Bank of Canada rate you enter for the acquisition date on a buy, and the settlement-date rate on a sale.

Not used for ROC or distributions, use the amount field for those.
Buy / sell: price per share. ROC / distribution: total $ amount. Split: ratio, e.g. 2 for a 2-for-1 split.
USD / FX, commission and joint ownership Defaults work for CAD trades in your own account
Bank of Canada rate on the acquisition date for a buy, on the settlement date for a sale. Use 1 for CAD.
Joint accounts only. Default 50%. Confirm your share with your CPA.

No transactions yet. Add a buy to start a pool.

Pooled ACB (s.47)

Pools appear here as you add transactions.

Exports use the tax year of each sale. File names follow tax-alpha-schedule-3-[year].pdf / .csv.

Hand-checked math: 12 cases

These are the spec's hand-checked cases, recomputed live by the same functions the scan uses. Every case must match to the cent.

See the 12 hand-checked cases
#CaseExpectedCalculatedResult

The rules behind the math

  • Buying raises ACB by the full cost, commissions included. Every buy is blended into one average cost per share across all your non-registered accounts; Canada does not use per-lot accounting like the US.
  • Return of capital lowers ACB. Common with ETFs and REITs, ROC is reported in box 32 of a T3 slip. If ROC ever pushes ACB below zero, the negative amount is treated as an immediate capital gain and ACB resets to zero.
  • Reinvested distributions raise ACB. You were taxed on them even though you never saw cash, so they add to your cost. Missing this is the most common cause of double taxation on Canadian ETFs.
  • Selling does not change ACB per share. It removes shares at the current average ACB. Your gain or loss is proceeds (net of selling commission) minus the ACB of the shares sold.
  • Identical property is pooled. The same security held at two brokers, or in joint and single accounts, shares one ACB pool for tax purposes, whatever each broker's screen shows.

Why this matters for harvestingThe main calculator uses the ACB per share you enter. If your broker's book value ignores years of ROC or a second account, your "loss" may be smaller, or may not exist at all. Ten minutes with your T3s and trade confirmations is the cheapest accuracy you can buy.

Paste a sale, add any buy-back of the same or identical property, and this checker applies the 61-day window, 30 days before the sale to 30 days after, across you, your spouse or common-law partner, your TFSA and your RRSP. Free and anonymous: no sign-up, no email, and nothing leaves your browser.

Paste a trade instead Optional, fills the sale fields for you

Paste a line from a trade confirmation or spreadsheet, for example Sold XEQT 400 shares on 2026-11-10, loss $1,740, and the checker fills in what it can find. Check the fields below before running it.

The sale

ACB minus proceeds, before the superficial loss rule. Use the ACB Tracker if you are not sure of this number.

Buy-backs of the same or identical property

Any purchase in the window counts, including a DRIP or an automatic buy. Leave a row on “No purchase” if there was none.

Add another purchase A second or third buy-back in the window

How the verdict is decided

  • Safe: no affiliated purchase of identical property inside the window is still held at the end of it, so the full loss is claimable.
  • Partially denied: only part of the position was bought back, so the loss is denied in proportion, shares bought back divided by shares sold.
  • Denied: the whole position was bought back inside the window and still held, so none of the loss is claimable now.
  • Where the denied loss goes: if the buy-back sits in a non-registered account, the denied amount is added to the ACB of the replacement shares. If it sits in a TFSA or RRSP, there is no usable ACB and that portion is generally lost for good.
  • Earliest safe buy-back date: sale date plus 31 days, provided nothing else in the window catches you.

CRA My Account is the source of truth for your room, this tracker does the arithmetic around it. Enter the room CRA shows you and what you have contributed, and see your room remaining, the deadlines that matter, and a clear warning if you have gone over. Free and anonymous: no sign-up, no CRA login, and nothing leaves your browser.

TFSA

CRA's figure is as of January 1 and can lag recent transactions. Check the date on it in My Account.
Withdrawals and next-year projection Optional, only affects the January 1 estimate
Withdrawals do not free up room today, they are added back on January 1 of the next year.
Used only for the January 1 projection. Leave blank until CRA announces it.

RRSP

Include contributions in the first 60 days of next year if you plan to count them for this tax year.

Deadlines that matter

DateWhat it means
Dec 31, 2026TFSA calendar year ends. Withdrawals made in 2026 are added back to your room on January 1, 2027, withdrawing late in December and re-contributing in January is the standard way to move money between TFSAs without a direct transfer.
Jan 1, 2027New TFSA room arrives: last year's withdrawals plus the new annual dollar amount are added to whatever room you had left.
Mon Mar 1, 2027RRSP deadline for the 2026 tax year, the 60th day of 2027. Contributions by this date can be deducted on your 2026 return.
Fri Apr 30, 2027Personal tax filing deadline. Report TFSA over-contributions on form RC243 and RRSP amounts on Schedule 7 if you have them.

Over-contribution warnings, in plain terms

  • TFSA: an excess amount is taxed at 1% per month for every month it stays in the account. If this tracker shows a negative TFSA room, withdraw the excess right away and file form RC243, the meter runs monthly.
  • RRSP: contributions above your deduction limit are not deductible. CRA generally allows a $2,000 lifetime excess cushion without penalty, but amounts above that are taxed at 1% per month (form T1-OVP). This tracker flags both cases.
  • CRA's number can be stale: My Account room figures are dated January 1 and financial institutions report contributions on their own schedule. Your own contribution records win ties, keep them.

Part of many Canadian ETF distributions is return of capital (ROC): not income, but your own money handed back, and it lowers your adjusted cost base. This tracker logs each distribution, shows the ROC in it, and adjusts your ACB automatically as you add distributions. Free and anonymous: no sign-up, no email, and nothing leaves your browser.

Position

Your ACB before the first distribution below. Changing the position resets the running ACB under the distribution list.

Add a distribution

From the fund's distribution breakdown, confirmed after year-end in box 32 of your T3. This is the amount that lowers ACB.
Dividends and reinvested amounts Optional, for a complete distribution record
Taxed as income in a non-registered account; no ACB effect, tracked here so the full distribution adds up.
A reinvested (DRIP or “phantom”) distribution raises ACB by this amount. Enter 0 for a cash distribution you kept.

No distributions yet. Add one above, or load the example.

What ROC does to your ACB

  • ROC lowers ACB dollar for dollar. It is not taxed when received in a non-registered account, but every dollar of ROC means a dollar more capital gain (or a dollar less loss) when you eventually sell.
  • ROC per distribution is on your T3. Funds estimate the split during the year and finalize it after year-end, box 32 of the T3 slip is the number to trust, so update a distribution if the T3 differs from the estimate.
  • Negative ACB is a deemed gain. If ROC pushes your ACB below zero, the excess is treated as an immediate capital gain and ACB resets to zero. This tracker flags that the moment it happens.
  • Reinvested distributions raise ACB. You are taxed on them even though no cash arrived, so they add back to your cost, the mirror image of ROC.

Everything above is free to use with no sign-up, the calculator, the ACB Tracker, the Loss Checker, the Room Tracker and the ROC Tracker. Paid tiers are optional, for investors who harvest every year and want alerts and a CPA-ready Schedule 3 handled. One $500 harvested loss at a 43% marginal rate saves $107.50, more than a year of Harvest.

Harvest annual saves $9 vs paying monthly

Free

$0
  • Unlimited free scans, no sign-up, no email required
  • Estimated saving shown immediately, on the page
  • CSV / XLSX upload first, trade-confirmation email forwarding second, manual entry last resort, no broker auto-sync in this version
  • Superficial-loss check and one-line summary
  • Show-your-work and educational replacement examples
  • ACB calculator and all guides
Run a free scan

Plus

$199 / year
  • Everything in Harvest
  • Multi-account and multi-broker, unlimited portfolios
  • Year-round alerts on every portfolio
  • Schedule 3 export for every account
  • Email support within 1 business day

December Scan

$19 one-time
  • One full scan and report, Harvest features for that scan
  • Schedule 3 export for that scan
  • No subscription, no auto-renewal
  • No alerts after Dec 31

ACB Tracker: standalone

$49 / year
  • For DIY investors who do not want tax-loss harvesting
  • Pooled ACB across non-registered accounts (s.47)
  • Transactions, return of capital, splits and USD FX
  • No Harvest alerts, no Schedule 3 export, ACB only
  • Free to use now; paid plan is a placeholder in this build

Checkout

Harvest, annual plan$99.00
Total due today$99.00

Tax is not included yet, it will be added at checkout.

Subscriptions renew automatically until cancelled; December Scan never auto-renews. Secure checkout is handled by Stripe Payment Links: card details never touch this site. Checkout is not live in this development build and no charge is made. The free calculator above needs no account and no email either way.

Pricing questions

Why annual and monthly?

Annual is $99/yr. Monthly is $9/mo ($108/yr) if you'd rather not commit. Harvesting is seasonal, but ACB tracking and loss monitoring run all year, which is what most members stay for.

Is Tax-Alpha tax advice?

No. Tax-Alpha is a calculator and record-keeping tool. The estimates apply standard CRA rules to your inputs; a Canadian tax professional should review large or unusual transactions.

What happens to my uploaded CSV?

Nothing leaves your device. The free calculator reads files locally in your browser, whichever brokerage they came from. Pro's ACB tracking is opt-in per holding.

Which brokerages are supported?

CSV upload covers TD Direct Investing, Questrade, Wealthsimple, RBC Direct Investing, BMO InvestorLine, Scotia iTRADE, CIBC Investor's Edge, National Bank Direct Brokerage, Desjardins / Disnat, Interactive Brokers Canada, Qtrade, plus any other broker that exports a CSV with ticker, quantity, and cost or value columns. Step 2 is forwarding trade-confirmation emails to keep holdings current, and manual entry is the last resort. Broker auto-sync is not available in this version, it will be added later once there are paying users.

I hold the same ETF at two brokers. What should I do?

Import both files before running the scan. Canada pools identical property into one ACB across all non-registered accounts, so the correct loss is only visible with both halves in. The scan adds holdings from each upload instead of replacing them.