Skip to content
TheMoney Pocket

Free · 1-page PDF-ready sheet

Canadian capital gains rules, on one page

Inclusion rate, ACB math, superficial-loss rules, and carryback windows — the CRA rules you actually need at tax time.

  • The 50% inclusion rate and how it is applied
  • Adjusted cost base (ACB) formula with an example
  • Superficial-loss 30-day rule
  • Capital-loss carryback (3 years) and carryforward
Privacy policy

ACB Calculator — Adjusted Cost Base for Stocks (Canada)

Calculate the weighted-average adjusted cost base (ACB) of Canadian stocks and ETFs bought in several lots, with ACB per share, capital gain, and tax.

Canadian Capital Gains Tax

Add the ACB Calculator — Adjusted Cost Base for Stocks (Canada) to your site

Free for any website. Paste the snippet where the calculator should appear. A visible “Calculator by The Money Pocket” credit is required — the embed stops if it is removed.

<div data-tmp-embed="acb-calculator"></div>
<script src="https://www.themoneypocket.com/embed.js" async></script>

Purchase Transactions

Purchase 1

This calculator applies the CRA's identical properties (averaged ACB) rule. For special situations — stock splits, return of capital distributions, employee stock options — adjustments may be needed. See the T4037 guide for full details.

On this page
  1. How do you calculate ACB per share?
  2. The inputs and what the calculator returns
  3. The CRA's own example, step by step
  4. Worked example: a partial sale with commissions
  5. Adjustments the calculator does not make for you
  6. Superficial losses and your ACB
  7. Which shares are pooled together?
  8. Reading the gain and tax result
  9. Keeping ACB records the CRA will accept

This calculator works out your adjusted cost base (ACB) when you have bought the same stock or ETF more than once. Add each purchase lot with its share count, price, and commission; it pools them into one average cost per share, as the CRA requires, then estimates the capital gain and tax if you sold everything at the price you enter. It is for informational purposes only: results are estimates, and your broker's statements and your own records are what the CRA will rely on.

How do you calculate ACB per share?

Add up everything you paid for all the shares you hold, including commissions, and divide by the number of shares. Each time you buy more, recalculate. When you sell some, the ACB per share of the shares you keep does not change; only the total falls in proportion. This is the identical property rule in the CRA's capital gains guide, T4037, which says you must calculate the average cost of each property in the group at the time of each purchase.

ACB per share = (ACB of shares already held + cost of new purchase + commission) ÷ total shares after the purchase

The inputs and what the calculator returns

InputWhat to enter
SharesNumber of shares in each purchase lot
Price per shareWhat you paid per share, in Canadian dollars
CommissionThe total commission for that lot (not per share)
Current or selling price per shareThe price you sold at, or today's price for a what-if
Selling commissionTotal commission on the sale
Combined marginal rateYour federal plus provincial rate

The calculator returns total shares, total ACB, ACB per share, gross proceeds, the capital gain, the taxable half, and the estimated tax. It assumes you sell every share you entered. To model a partial sale, read the ACB per share from the results and multiply it by the number of shares you are selling, as in the example below.

The CRA's own example, step by step

Guide T4037 uses this sequence, which shows both rules: purchases change the average, sales do not.

TransactionSharesCostTotal sharesTotal ACBACB per share
Buy at $15100$1,500100$1,500$15.00
Buy at $20150$3,000250$4,500$18.00
Sell 200−200−$3,60050$900$18.00
Buy at $21350$7,350400$8,250$20.63

The sale removes 200 × $18.00 = $3,600 of ACB, which is what is subtracted from the proceeds to compute that sale's gain or loss. The 50 remaining shares keep their $18.00 cost until the next purchase blends them with the new shares.

Worked example: a partial sale with commissions

Sam holds shares outside his registered accounts and lives in British Columbia.

  1. He buys 200 shares at $25 with a $9.99 commission: cost $5,009.99.
  2. He buys 100 more at $31 with a $9.99 commission: cost $3,109.99.
  3. Total: 300 shares, ACB $8,119.98, so the ACB per share is $8,119.98 ÷ 300 = $27.0666.

In 2025 he sells 120 shares at $38 and pays $9.99:

  • Proceeds net of commission: (120 × $38) − $9.99 = $4,550.01
  • ACB of the shares sold: 120 × $27.0666 = $3,247.99
  • Capital gain: $4,550.01 − $3,247.99 = $1,302.02
  • Taxable capital gain: $651.01

With $80,000 of other income, his 2025 combined rate is 28.2% (20.5% federal plus 7.7% BC, from the CRA's 2025 rate table), so the tax is about $183.59.

He keeps 180 shares with a total ACB of $8,119.98 − $3,247.99 = $4,871.99, still $27.07 each. Later he buys 50 shares at $40 plus $9.99 ($2,009.99). His new pool is 230 shares with an ACB of $6,881.98, or $29.92 per share.

To reproduce the sale in the calculator, enter the two purchase lots, read the $27.07 ACB per share, and do the 120-share multiplication yourself. Then, for the later purchase, enter one lot of 180 shares with a $4,871.99 total cost (180 shares at $27.0666) and a second lot of 50 shares at $40 with $9.99 commission.

Adjustments the calculator does not make for you

Several events change your ACB without a purchase. Adjust your lots for these before relying on the result:

EventEffect on ACBWhere to find the number
Return of capital (ROC)Reduces total ACBBox 42 of the T3 slip, or the fund's annual tax breakdown
Reinvested distributions (DRIP)Adds the reinvested amount, plus new unitsYour broker's DRIP confirmations
Reinvested capital gains distribution with no new units (phantom distribution)Increases total ACBFund's annual tax breakdown; it is reported as income on the T3
Stock split or consolidationTotal ACB unchanged; per-share ACB changesCorporate action notice
Superficial loss on a repurchaseDenied loss is added to the replacement sharesYour own trade history
Purchases in US dollarsConvert each purchase and sale to Canadian dollars at the exchange rate for that dayBank of Canada daily rates

Return of capital. Suppose you own 500 units of an ETF with a total ACB of $10,000 ($20 per unit), and in 2025 the T3 shows $200 of return of capital in box 42. Your ACB falls to $9,800, or $19.60 per unit. ROC is not taxed when received; it is taxed later through a larger gain when you sell. If ROC ever drives your ACB below zero, the negative amount is treated as a capital gain in that year and your ACB resets to zero.

Splits. In a 3-for-1 split, 100 shares with a $6,000 ACB become 300 shares with the same $6,000 ACB, so the ACB per share drops from $60 to $20. Enter the post-split share count and an adjusted price that keeps the total cost the same.

Free · 1-page PDF-ready sheet

Canadian capital gains rules, on one page

Inclusion rate, ACB math, superficial-loss rules, and carryback windows — the CRA rules you actually need at tax time.

  • The 50% inclusion rate and how it is applied
  • Adjusted cost base (ACB) formula with an example
  • Superficial-loss 30-day rule
  • Capital-loss carryback (3 years) and carryforward
Privacy policy

Superficial losses and your ACB

If you sell at a loss and you, or a person affiliated with you such as your spouse or a corporation you control, buy the same or identical shares within 30 calendar days before or after the sale, and still hold them 30 days after, the loss is superficial. You cannot deduct it. Instead, you usually add it to the ACB of the replacement shares, as T4037 explains.

Example: you own 100 shares with an ACB of $5,000 and sell them for $4,000, a $1,000 loss. Ten days later you buy 100 shares back for $4,100. The loss is denied, and the new shares carry an ACB of $4,100 + $1,000 = $5,100, or $51 per share. When you eventually sell them without repurchasing inside the window, the deferred loss reduces your gain or increases your loss. The calculator does not detect this, so add the denied amount to the repurchase lot's commission field to carry it into the average.

Which shares are pooled together?

  • Pooled: all shares of the same class of the same company, or units of the same fund series, held in any of your non-registered accounts, even at different brokers.
  • Not pooled: shares in your RRSP, RRIF, TFSA, or FHSA. Trades inside those accounts do not produce capital gains or losses on your return.
  • Not pooled with yours: your spouse's shares. Gains in a joint account are generally taxed according to who contributed the money, and each person tracks the ACB of their own share of the holdings.
  • Different properties: two ETFs tracking the same index from different providers are not the same security, even if they hold similar stocks.

Crypto-assets follow the same averaging logic. The CRA describes the ACB of a crypto-asset as usually its weighted average cost; see the crypto tax guide for the specifics.

Reading the gain and tax result

The tax figure multiplies the taxable half of the gain by the single rate you enter. If the sale pushes you across a bracket line, run the calculator at both rates. For province-specific rates and loss carryforwards, take the gain into the Canadian capital gains tax calculator. If the result is a loss, the capital loss planner shows how to use it.

Keeping ACB records the CRA will accept

Brokers often show a "book value" that is not your tax ACB: it may ignore return of capital, mix accounts, or reset after an account transfer. Keep a running spreadsheet with the date, shares, price, commission, and resulting ACB per share for every transaction and adjustment, and save trade confirmations and T3 and T5008 slips. The T5008 slip from your broker reports proceeds, and sometimes a cost amount, but the CRA expects you to report your own correctly calculated ACB on Schedule 3. For the full method, including real estate and reinvested dividends, read how to calculate adjusted cost base in Canada.

Frequently asked questions

How do I calculate ACB per share in Canada?
Add the cost of every purchase, including commissions, and divide by the number of shares you hold. Recalculate after each purchase. Selling shares does not change the ACB per share of the shares you keep.
Can I choose which lot I sell, like FIFO?
No. Shares of the same class of the same company are identical properties, and the CRA requires an average cost across all of them. FIFO and specific-lot identification are not allowed for this purpose.
Do shares in my TFSA or RRSP count toward my ACB?
No. Only shares held outside registered plans are pooled. Shares of the same company held in several non-registered accounts, even at different brokers, are pooled into one average cost.
How does return of capital affect my ACB?
It lowers it. Subtract each return of capital distribution, reported in box 42 of the T3 slip, from your total ACB. If the ACB would go below zero, the negative amount is a capital gain and the ACB resets to zero.
The full guideHow to Calculate Adjusted Cost Base (ACB) in CanadaHow to calculate ACB for shares, mutual funds, ETFs, US-dollar stocks, real estate, inherited property, and employee shares, with CRA rules and worked examples.

How we build our calculators

Formulas follow the published IRS, Treasury, or agency rules cited on the page, and run entirely in your browser — we never see the numbers you type. Results are estimates for informational purposes only and are not tax, legal, or investment advice. Editorial standards.

More canadian capital gains tax calculators

See the Canadian Capital Gains Tax hub →

Read next