Guides

How to calculate your adjusted cost base (ACB)

A step-by-step guide to the adjusted cost base (ACB) in Canada: average cost, commissions, partial sales, return of capital and the superficial loss rule, with a worked example.

What the ACB is

Your adjusted cost base is what your shares cost you, commissions included. In Canada, identical shares share one average cost, even across different brokers. You need it to calculate the capital gain or loss when you sell in a non-registered account.

A worked example

StepCalculationTotal ACBACB per share
Buy 100 shares at $50, $9.99 commission5,000 + 9.99$5,009.99$50.10
Buy 50 shares at $60, $9.99 commission5,009.99 + 3,009.99$8,019.98$53.47 (150 shares)
Sell 80 shares at $70, $9.99 commissionACB removed: 80 × 53.4665 = $4,277.32$3,742.66$53.47 (70 shares)

The capital gain on the sale is $5,600 − $4,277.32 − $9.99 = $1,312.69. Half of it, $656.35, is added to your taxable income. Note that selling does not change the ACB per share.

What changes your ACB

The superficial loss rule

If you sell at a loss and you, or your spouse, buy the same shares within 30 days before or after the sale, the loss is denied. It is added to the ACB of the shares you bought back, so you recover it later.

What you do not need to track

Investments held in a TFSA, an RRSP or a FHSA. Capital gains and losses there are not reported.

Official sources

By the Finance in Numbers team. Updated December 3, 2026. Checked against official sources (see how we check the numbers).

Your money, in clear numbers, in your inbox

New calculators and guides, plus the new TFSA, RRSP and FHSA limits and tax brackets as soon as they are published. Bonus: the free ACB tracking template.

New calculators and guides, yearly updates to limits and rates. At most two emails a month. Unsubscribe any time: reply to the email or write to financeinnumbers@gmail.com. Privacy