How to Calculate Adjusted Cost Base (ACB) in Canada, With a Worked Example
Your ACB per share is the total cost of all identical shares you own, including commissions, divided by the number of shares, recalculated after each purchase. In the worked example below, two buys, a return of capital and a reinvested distribution give an ACB of $21.41 a share, and selling 60 shares produces a capital gain of $325.40.
What adjusted cost base is and how the CRA averages it
Adjusted cost base is what the CRA treats as your cost of a property when it works out a capital gain or loss. The T4037 guide says it is usually the cost of the property plus the expenses to acquire it, such as commissions and legal fees. Section 54 of the Income Tax Act adds that for most property the ACB is the cost adjusted under section 53, and that it can never be less than nil.
For shares, ETFs and mutual fund units, the CRA requires an average. When you buy identical properties at different prices, you calculate the average cost after each purchase: the total cost of the identical properties you own, divided by the number you own. The guide also says that selling some of them does not change the average cost per unit of the ones you keep.
That catches many traders out. You cannot choose to sell the expensive lot. Every share of the same class carries the same average cost until you buy or adjust again.
| Event | Effect on total cost | Effect on units | Source |
|---|---|---|---|
| Buy (price plus commission) | Adds price and commission | Adds units | T4037 |
| Sell part of the position | Removes units sold times the current average cost | Removes units sold | T4037 |
| Return of capital | Reduces total cost | No change | CRA T3 slip, box 42 |
| Reinvested distribution (DRIP) | Adds the amount reinvested | Adds the units bought | T4037 example |
| Commission on a sale | No change to ACB; added to the costs deducted from proceeds | No change | CRA calculating guide |
Step by step: the calculation
Keep a running record with two columns, total cost and number of units. For each event, update both, then divide cost by units.
For a purchase, add the price and the commission to total cost and add the units. For a sale, take units sold times the current average cost out of total cost, and take the units out. For a return of capital, subtract the amount from total cost. For a reinvested distribution, add the amount reinvested to total cost and the new units to the count.
A return of capital reduces your ACB. The CRA's T3 slip guidance says a positive amount in box 42 is subtracted from the ACB of the trust units, and a negative amount is added. Reinvested distributions raise it: the CRA's own example adds the reinvested amount to total cost and divides by the new number of units.
For the gain on a sale, the CRA's formula is proceeds, minus the ACB, minus the outlays and expenses of selling. A $60 commission on a $6,500 sale with a $4,000 ACB, in the CRA's example, gives a $2,440 gain, and half of it, $1,220, is taxable.
Worked example: two purchases, a return of capital, a DRIP and a partial sale
This is an illustration. You hold shares of one company in a non-registered account, in Canadian dollars. Commissions are $9.99 a trade.
Buy 1: 100 shares at $20.00 is $2,000.00 plus $9.99 commission, so $2,009.99. Buy 2: 50 shares at $24.00 is $1,200.00 plus $9.99, so $1,209.99. After two buys you hold 150 shares at a total cost of $3,219.98, an average of $21.4665.
A return of capital of $30.00 is paid. Total cost falls to $3,189.98. Then a distribution of $150.00 is reinvested and buys 6 shares at $25.00. Total cost becomes $3,339.98 for 156 shares, an average ACB of $21.4101 a share.
Now you sell 60 shares at $27.00 with a $9.99 commission. Proceeds are $1,620.00. The ACB of the 60 shares is 60 × $21.4101 = $1,284.61. The gain is $1,620.00 − $1,284.61 − $9.99 = $325.40. The 96 shares you keep have a total cost of $3,339.98 − $1,284.61 = $2,055.37, still $21.4101 a share.
At the 50% inclusion rate in the CRA guide, the taxable capital gain is $162.70.
| Step | Units held | Change in cost | Total cost | ACB per share |
|---|---|---|---|---|
| Buy 100 at $20.00 + $9.99 | 100 | +$2,009.99 | $2,009.99 | $20.0999 |
| Buy 50 at $24.00 + $9.99 | 150 | +$1,209.99 | $3,219.98 | $21.4665 |
| Return of capital $30.00 | 150 | −$30.00 | $3,189.98 | $21.2665 |
| DRIP: $150.00 buys 6 at $25.00 | 156 | +$150.00 | $3,339.98 | $21.4101 |
| Sell 60 at $27.00 (ACB removed) | 96 | −$1,284.61 | $2,055.37 | $21.4101 |
Foreign currency: convert each amount on its own date
If you buy a US stock, the ACB has to be in Canadian dollars. The CRA says to convert the proceeds at the rate in effect at the time of the sale, the ACB at the rate in effect when you acquired the property, and expenses at the rate in effect when you incurred them. A US$100 purchase made when the Bank of Canada rate was 1.3688 has an ACB of C$136.88. A second US$100 purchase at 1.4291 adds C$142.91. The average is then taken in Canadian dollars: C$279.79 for US$200, or C$139.895 per US$100.
A commission follows the same rule. A US$9.99 commission is converted at the rate on the day of the trade, then added to ACB on a purchase, or deducted with the selling costs on a sale. The US stocks exchange-rate page on this site works through a full example with Bank of Canada rates.
Other things that change ACB
A superficial loss that is denied is added to the ACB of the substituted property (the superficial loss page covers it). A return of capital reduces ACB and reinvested distributions increase it, as in the example above. For ETFs and mutual funds that are trusts, the T3 slip tells you when to adjust: box 42 is a distribution or return of capital that you apply to the cost base at the end of the tax year.
Stock splits, mergers and spin-offs each have their own rules. This page does not cover them. Your broker's tax package or an accountant will give the adjustment, and the CRA expects you to be able to support the figures you report.
Mistakes that give the wrong ACB
Most errors come from a short list. Check yours against it before you file.
Many Canadian brokers show a book cost on your statement. It can be wrong if you moved a position in from another broker, if the same security is held in several accounts, or if distributions were reinvested and not recorded. Treat it as a starting point, not as proof.
| Mistake | Why it is wrong | Fix |
|---|---|---|
| Selling the highest-cost shares first | The CRA averages identical shares; there are no lots | Use the running average |
| Leaving out the commission on a purchase | ACB includes the expenses to acquire the property | Add it to total cost |
| Ignoring return of capital | It reduces ACB, so the gain is larger when you sell | Subtract box 42 amounts |
| Ignoring reinvested distributions | They are purchases that add cost and units | Add cost and units each time |
| Using one exchange rate for a US stock | Each amount converts on its own date | Convert purchase and sale separately |
| Mixing accounts | Shares in a TFSA or RRSP are not part of your taxable ACB | Track each taxable account's holdings |
Who should not rely on this page
If the CRA treats your trading as a business, the results are income, and the capital-gain method above does not govern those trades. The trading-losses page explains the line between capital and business.
The example uses one security in one account. Positions held across several accounts, mergers, options and bonds each need their own treatment.
This page is general information, not tax advice. The examples are illustrations with made-up trades. Confirm your own situation with a Canadian accountant before you file.
Frequently asked questions
How do you calculate adjusted cost base?
Add up the cost of all identical shares you own, including commissions, and divide by the number of shares. Recalculate after every purchase, return of capital and reinvestment. Selling some shares does not change the average cost of the rest.
Do commissions go in ACB?
On a purchase, yes: the CRA says ACB includes the expenses to acquire the property, such as commissions. A commission on a sale is deducted from the proceeds when you calculate the gain.
How does return of capital affect ACB?
It reduces it. The CRA's T3 slip guidance says a positive amount in box 42 is subtracted from the ACB of your units.
How do I convert US dollars to Canadian for ACB?
Convert each purchase at the exchange rate in effect when you bought, and the sale at the rate in effect when you sold, as the CRA's guide says. The Bank of Canada daily rate is the usual source.
Does a DRIP change my ACB?
Yes. Each reinvestment is a purchase that adds its cost and its units to your totals, so it changes the average.
Sources
Provider documents behind this page, checked November 23, 2026.