How to Calculate Adjusted Cost Base (ACB) in Canada
How to calculate ACB for shares, mutual funds, ETFs, US-dollar stocks, real estate, inherited property, and employee shares, with CRA rules and worked examples.
On this page
Your adjusted cost base (ACB) is the tax cost of a property: what you paid for it, plus the costs of acquiring it, adjusted up or down for events that happen while you own it. You subtract the ACB and your selling costs from the sale price to get your capital gain or loss. For shares and fund units you have bought more than once, the CRA requires a weighted average cost across all identical units, recalculated after every purchase.
Capital gain = proceeds of disposition − outlays and expenses of selling − ACB
The rules come from the CRA's capital gains guide, T4037. This guide applies them to the assets Canadians most often get wrong. For a quick average-cost calculation on shares, use the ACB calculator.
What goes into ACB, and what does not
| Add to ACB | Subtract from ACB | Neither |
|---|---|---|
| Purchase price | Return of capital distributions | Mortgage or loan interest on a home or cottage |
| Commissions and brokerage fees to buy | Property tax and insurance on personal-use property | |
| Legal fees and land transfer tax to buy | Repairs and maintenance | |
| Capital improvements to real estate | Annual account fees | |
| Reinvested distributions and phantom (notional) capital gains distributions | ||
| Denied superficial losses on replacement property |
Selling costs, such as the commission on a sale or a real estate agent's fee, are not part of ACB. They are deducted separately as outlays and expenses, which has the same effect on the gain.
Shares bought in several lots
Shares of the same class of the same corporation are identical properties. You cannot choose which lot you sold. Every purchase is blended into one average, and a sale removes shares at that average cost without changing it. Shares in your RRSP, TFSA, or other registered plans are kept out of the pool; shares in all your non-registered accounts, at any broker, go in together.
The ACB calculator page walks through the CRA's own three-purchase example and a partial sale. The rest of this guide covers situations where the purchase price alone is not the answer.
Mutual funds and ETFs: distributions change the ACB
Funds pay distributions that are taxed in the year you receive them. If you reinvest them, you have bought more units with after-tax money, and that cost has to be added to your ACB, or you will be taxed on it twice.
Example. Elena buys 1,000 units of a mutual fund at $10.00, for $10,000.
- In year one the fund distributes $400, which she reinvests at $10.50 a unit: 38.095 new units. Her ACB rises to $10,400 for 1,038.095 units, about $10.02 a unit.
- In year two the fund pays $50 of return of capital (shown in box 42 of her T3 slip). Return of capital is not taxed when paid; it reduces ACB to $10,350.
- She then sells all 1,038.095 units at $11.20, for $11,626.66.
Her capital gain is $11,626.66 − $10,350 = $1,276.66. If she had used her original $10,000 as the ACB, she would have reported a $1,626.66 gain, overstating it by $350: the $400 she reinvested minus the $50 of return of capital.
ETFs add one twist: some distribute capital gains as "phantom" or "reinvested" distributions without paying cash or issuing new units. The amount is taxable on your T3, and you add it to your ACB. Fund providers publish an annual tax breakdown per unit, which is the easiest source for both return of capital and phantom distributions.
Stocks bought in US dollars
Your ACB and proceeds must be in Canadian dollars. Convert each purchase at the exchange rate on the day you bought, and each sale at the rate on the day you sold. The Bank of Canada publishes daily rates.
Example. You buy 50 shares at US$100 with a US$5 commission when US$1 = C$1.35, and later sell them at US$130 with a US$5 commission when US$1 = C$1.38.
- ACB: (US$5,000 + US$5) × 1.35 = C$6,756.75
- Net proceeds: (US$6,500 − US$5) × 1.38 = C$8,963.10
- Capital gain: C$2,206.35
Part of that gain comes from the US dollar strengthening, and it is taxed as part of the same capital gain. If you buy the same stock at several times, convert each lot at its own rate before averaging.
Real estate other than your home
For a rental property or a cottage that is not fully sheltered by the principal residence exemption, the ACB is:
- the purchase price
- land transfer tax, legal fees, and other costs of buying
- capital improvements made while you owned it
Example. A rental condo cost $420,000. Land transfer tax was $6,000 and legal fees $1,800. Later, the owner added a second bathroom for $25,000 and repainted for $4,000. The ACB is $420,000 + $6,000 + $1,800 + $25,000 = $452,800. Painting is a repair, deducted against rental income in the year it was paid, not added to ACB. If the condo sells for $610,000 with $28,000 of commission and legal fees, the capital gain is $610,000 − $28,000 − $452,800 = $129,200.
The line between an improvement and a repair is whether the work betters the property beyond its original condition or extends its useful life. Replacing worn carpet with similar carpet is a repair; adding a deck is an improvement.
If you claimed capital cost allowance (CCA) on the building, the sale may also trigger recapture, which is fully taxable income separate from the capital gain. For a home that was your principal residence for some years, see the principal residence exemption calculator.
Inherited and gifted property
Inherited. When someone dies, they are generally deemed to have sold their capital property at fair market value immediately before death, and the tax is paid on their final return. The person who inherits takes over with an ACB equal to that value, as T4037 notes. Keep the valuation used on the estate's return: it is your ACB.
The main exception is property left to a surviving spouse or common-law partner (or a spousal trust), which normally rolls over at the deceased's ACB. The tax is deferred until the spouse sells or dies, and the spouse's ACB is the deceased's original cost, not the value at death.
Gifted. If you give shares to an adult child, you are deemed to have sold them at fair market value, and your child's ACB is that value. A gift to your spouse normally rolls over at your ACB, and the attribution rules generally tax future gains in your hands.
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
Unlocked — the Canada Capital Gains Cheat Sheet is ready.
Open the Canada Capital Gains Cheat SheetShares from your employer
Under an employee stock option, a stock purchase plan with a discount, or restricted share units, the benefit you receive is taxed as employment income. To avoid taxing that amount twice, the ACB of the shares is the price you paid plus the taxable benefit, which is generally the fair market value when you acquired the shares.
Example. You exercise options to buy 500 shares at $8 when they trade at $20. The $6,000 benefit ($12 × 500) is on your T4. Your ACB is $8 + $12 = $20 a share, or $10,000. If you sell later at $23, your capital gain is $1,500, not $7,500.
Employee shares can follow special identical-property rules, such as designating newly acquired option shares as the ones sold within 30 days. Check your plan documents and T4 slip, because these rules change which ACB applies to a quick sale.
Other events that reset ACB
- Becoming a resident of Canada. Immigrants are generally deemed to acquire most of their property at fair market value on the day they become resident, which becomes their ACB.
- Changing use. Turning a home into a rental, or a rental into a home, is a deemed sale and reacquisition at fair market value, unless you make an election to defer it.
- Stock splits and consolidations. The total ACB stays the same; only the per-share figure changes.
- Corporate reorganizations and mergers. Share-for-share exchanges are often tax-deferred, carrying your old ACB into the new shares. The company's tax information page normally explains the allocation.
Crypto-assets
Crypto-assets of the same type are pooled and averaged in the same way. The CRA describes the ACB of a crypto-asset as usually its weighted average cost, and a crypto-for-crypto trade is a disposition at the fair market value of what you receive. The crypto tax guide has a worked example.
Common ACB mistakes
- Using the broker's book value. It may ignore return of capital, reset after an account transfer, or mix accounts.
- Forgetting reinvested distributions. Over a decade of reinvesting, this can overstate your gain by thousands.
- Averaging only within one account. All your non-registered holdings of the same security are one pool.
- Converting US trades at an annual average rate. Use the rate for each transaction date.
- Leaving out a denied superficial loss. It belongs in the replacement shares' ACB; the capital losses guide shows how.
Once you have a reliable ACB, estimate the tax with the capital gains tax calculator, and read how capital gains tax works in Canada for reporting on Schedule 3.
Frequently asked questions
What is included in adjusted cost base?
What is the ACB of inherited shares or property?
How do I convert US-dollar purchases to Canadian dollars?
What if I can't find my original purchase records?
- adjusted-cost-base
- acb-canada
- capital-gains-canada
- identical-properties
- cra
- stocks-tax-canada
Informational only
This guide explains general rules as published by the IRS and other official sources. It is not tax, legal, or investment advice, and it can’t account for your full situation. How we research and update guides.