Skip to main content

Adjusted Cost Base (ACB) Calculator: How to Calculate ACB in Canada

Updated

Figures verified against Canada Revenue Agency, BlackRock iShares and 2 more sources, last checked September 2026. See sources

Your adjusted cost base (ACB) is what an investment cost you for tax: usually the price you paid plus what it cost to buy, such as commissions. When you sell, your capital gain or loss is the sale proceeds minus the ACB of what you sold and minus your selling costs. One half of a capital gain is taxable, the 50% inclusion rate. If you bought the same shares or fund units more than once, your ACB is the average cost of all of them, worked out again after every purchase. The calculator below keeps that running average for you.

ACB calculator

List the transactions in one security, or one series of a fund, from oldest to newest, with every amount in Canadian dollars. For each sale the calculator shows the gain or loss, and when a return of capital takes the ACB below zero, the amount below zero shows as a gain.

Transactions in one security or fund series, oldest first, in Canadian dollars
Adjusted cost base now

Units held
ACB per unit
Gains and losses on sales
Gains from return of capital below zero
Net capital gain or loss
Taxable at the 50% inclusion rate
TransactionUnits heldTotal ACBACB per unitGain or loss

Enter amounts in Canadian dollars, each converted at the exchange rate for its own day. The calculator doesn't apply the superficial loss rule, and the gains are for one holding: report them with your other capital gains and losses on Schedule 3.

What goes into your ACB

The CRA’s capital gains guide describes ACB as usually the cost of a property plus the expenses of acquiring it, such as commissions and legal fees. A commission on a purchase goes into the ACB; a commission on a sale is an outlay you subtract from the proceeds instead. For real estate and other property, the cost of additions and improvements is added, but maintenance and repairs are not. Selling a rental property has more on which costs of a rental count.

Some property has a cost other than what you paid. A gift is generally acquired at its fair market value on the day you receive it, and inherited property generally costs you what the person who died was deemed to receive for it, usually its fair market value just before death, with exceptions. Gifting money to family and inheritance tax in Canada explain those cases. Eligible securities bought through an employee security option agreement have an ACB of the price you paid plus the taxable benefit included in your income for them. How stock options are taxed works through the benefit and the cost base.

The CRA’s page on how mutual funds are taxed says its guidance doesn’t apply to fund units held in a TFSA or another tax-deferred plan. Interest, dividends and capital gains earned in a TFSA are generally tax-free, even when you withdraw them. Income earned in an RRSP is usually exempt from tax as long as the funds remain in the plan, and you generally pay tax when you receive payments from it.

Buying more than once: the average cost

Shares of the same class of a company, or units of a mutual fund trust, are identical properties, and their ACB is averaged. Each class or series of a fund is averaged on its own. Under section 47 of the Income Tax Act, every purchase resets the cost of each identical share to the total cost divided by the number you then own. A sale takes cost out at that average, and the average for the shares you keep stays the same. So you don’t choose which purchase a sale comes from: every identical share carries the same average cost.

You buy 100 units for $5,000 plus a $10 commission, then 50 more for $3,000 plus $10. Your ACB is $8,020 for 150 units, $53.47 a unit. You then sell 60 units for $3,600 and pay $10 to sell. The units sold take $3,208 of cost (60 × $53.47), so the gain is $3,600 − $10 − $3,208 = $382, and $191 of it is taxable. The 90 units you keep have an ACB of $4,812, still $53.47 a unit.

Securities bought under an employee option agreement that are subject to the benefit deferral, or are designated and sold within 30 days, are generally not identical properties, so each keeps its own ACB.

Your T5008 and your broker’s book value

When you sell shares or fund units, you generally get a T5008 slip or an account statement. Box 20 of the T5008 shows the cost or book value, which the CRA’s guide for preparers describes as the total paid for the security, including transaction charges, adjusted for reinvested distributions, returns of capital and corporate reorganizations. The CRA tells investors that box 20 may or may not reflect your ACB, and that you have to make any adjustments when you work out and report your gain or loss. The T5008 slip explained goes through the slip box by box.

Keep the records of your purchases and sales: you don’t attach them to your return, but the CRA can ask to see them.

Reinvested distributions and DRIPs

A distribution you reinvest in more units is still reported as income, because the CRA considers you to have received it before reinvesting it. The CRA says to work out the average cost per unit again each time you buy units or reinvest distributions. A fund distribution you reinvest is taxed as though you had received it, and the amount reinvested is added to your adjusted cost base (ACB); a fund that pays its year-end capital gains this way (reinvested in new units, then immediately consolidated so your unit count doesn't change) still gives you taxable income and a higher ACB. A reinvested distribution and a return of capital can appear on the same T3 slip, one adding to your total cost and the other taking away from it. How ETFs are taxed covers fund distributions in full.

Return of capital, and ACB below zero

A return of capital is the part of a fund's distribution that is more than its earnings; it isn't taxed in the year you receive it but reduces the adjusted cost base (ACB) of your units, which generally means a larger capital gain or smaller capital loss when you sell, and if it takes the ACB below zero the negative amount is a capital gain for that year. On a T3 slip it is box 42: subtract a positive amount from the ACB of the units, and add a negative amount to it. If the ACB goes below zero during the year, the negative amount is a capital gain for that year and the ACB becomes zero, which is section 40(3) of the Act. In the CRA’s example, units bought for $1,000 reached an ACB of zero after $200 of return of capital in each of five years, so the next $100 of return of capital was a capital gain.

Stock splits and consolidations

A split or consolidation isn’t a sale and isn’t taxable, but the ACB per share has to be recalculated. The CRA’s example: 100 shares that cost $1,000 have an ACB of $10 each, and after a 2-for-1 split the 200 shares have an ACB of $5 each. The total ACB stays the same.

Superficial losses

A capital loss is a superficial loss, and can't be deducted, if you or a person affiliated with you (such as your spouse or common-law partner, or a corporation either of you controls) buys, or has a right to buy, the same or identical property in the period from 30 calendar days before to 30 calendar days after the sale, and still owns it or has a right to buy it 30 calendar days after the sale. If you are the one who acquires the substituted property, you can usually add the denied loss to its adjusted cost base, so it reduces your gain or increases your loss when you sell it. The superficial loss rules page has the rule in full. The addition to the replacement property’s ACB is section 53(1)(f) of the Act.

Foreign-currency purchases and sales

Tax results are worked out in Canadian dollars, and an amount in another currency is converted at the Bank of Canada’s rate for the day the amount arose, or for the closest earlier day it quoted one (section 261 of the Act). For a sale, the CRA converts the proceeds at the rate when you sold, the ACB at the rate when you bought, and the selling costs at the rate when you paid them. For fund units, returns of capital are converted at the rate when you received them. Convert each amount this way before you enter it in the calculator.

Sources

The figures and rules on this page come from these sources, last checked against them between September 23, 2026 and October 1, 2026. How we check facts.