Ask a tax question

Adjusted Cost Base Calculator

Track the average cost of a stock, ETF or fund, the gain or loss on each sale, return of capital and the superficial loss rule. Free and private.

The short version

  • Enter every buy, sell and distribution for one stock, ETF or fund, in any order. You get the average cost per share, the gain or loss on each sale, and the totals by year.
  • It applies the superficial loss rule automatically: a loss is denied in proportion when you buy back within 30 days and still hold the shares 30 days after the sale.
  • Handles reinvested distributions, return of capital (with the negative-ACB rule) and notional distributions from your T3.
  • Amounts in Canadian dollars. For U.S. stocks, convert each trade at that day's Bank of Canada rate first.
  • Nothing you enter leaves your browser; your list is kept on this device only.

Adjusted Cost Base Calculator

Every investor eventually discovers that their broker's idea of their cost and CRA's idea of their cost are different numbers. CRA's is the one that counts. This calculator keeps the running average the way CRA wants it: every purchase averaged in, every sale taking out the average, distributions and losses adjusted the way the rules say. Enter the trades once, keep them here, add new ones as you go.

How to Enter Each Transaction

TypeSharesAmountFees
BuyUnits boughtPrice times units, before commissionCommission
SellUnits soldPrice times units, before commissionCommission
Reinvested distributionUnits receivedAmount reinvestedLeave blank
Return of capitalLeave blankT3 box 42Leave blank
Notional distributionLeave blankCapital gain distributed but not paid in cashLeave blank

The rules behind it are on adjusted cost base explained, and the slips on the T3.

Free

Got a broker statement instead of a list?

Paste or describe the trades. The assistant turns them into the transaction list for this calculator and explains anything unusual, like a spin-off or a merger.

Ask a tax question

Reading the Result

  • Cost per share now is what you'd use for the next sale.
  • Gain or loss by year goes on Schedule 3; half is taxable. The tax at your income is in the capital gains calculator.
  • Loss denied (superficial) isn't gone; it's in the cost of the shares you still hold. Details on capital losses and the superficial loss rule.
  • Several stocks? Run each one separately. Each security has its own pool.
Professional help

Want a tax professional to look at it?

Tell us the situation in a few lines. If it needs a professional, we connect you with a vetted Canadian tax preparer, accountant or tax lawyer who handles exactly this. No charge to ask.

More for investors: stock investment taxes, foreign tax credit and investment taxes.

Other Calculators

Free

Income tax

Federal and provincial tax, CPP, EI, refund or balance owing for 2026.

Open calculator →
Free

Self-employed tax

How much to set aside for tax and both halves of CPP.

Open calculator →
Free

GST/HST $30,000 test

Do you have to register, and from what date?

Open calculator →
Free

GST/HST calculator

Add GST/HST to a price, or take it out, for any province.

Open calculator →
Free

Capital gains

Tax on a sale, with the principal residence exemption.

Open calculator →
Free

Rental property sale

Capital gain plus recaptured CCA when you sell a rental.

Open calculator →
Free

RRSP tax saving

Your room and how much a contribution saves.

Open calculator →
Free

CRA objection deadline

The last day to dispute a notice of assessment.

Open calculator →
Free

Salary and paycheque

Take-home pay per paycheque after tax, CPP and EI.

Open calculator →
Free

Tax refund estimator

Will you get a refund or owe? Uses what was withheld on your slips.

Open calculator →
Free

Retirement income tax

Tax on CPP, OAS, pensions and RRIF, with the age and pension credits, OAS clawback and pension splitting.

Open calculator →
Free

RRIF minimum withdrawal

This year's minimum, the tax withheld on extra, and a ten-year projection.

Open calculator →
Free

Estate tax at death

Tax on the final return from RRSPs, investments, a cottage or rental, plus probate.

Open calculator →
Free

Compare provinces

The same income taxed in every province and territory, ranked lowest to highest.

Open calculator →
Free

Pension splitting

The split between spouses that leaves the least combined tax and OAS clawback.

Open calculator →
Free

OAS clawback

How much Old Age Security you repay at your income, and how much room you have.

Open calculator →
Free

Should I incorporate?

Sole proprietor vs corporation: tax this year, money left in the company, and what happens when it comes out.

Open calculator →

Using It for Crypto

The same averaging rules apply to bitcoin, ether and other crypto. Track each coin separately, enter buys and sells in Canadian dollars at the time of each trade, and treat a crypto-to-crypto trade as a sale of one and a purchase of the other. Fees go into cost or reduce proceeds. Rules: crypto tax.

ACB Calculator Questions

How do I calculate adjusted cost base for multiple purchases?

Keep a running total: add the cost and commission of each purchase, and divide by the units held. When you sell, remove the units at the current average cost. The calculator does this for every transaction you enter.

Does the ACB calculator handle the superficial loss rule?

Yes, for the transactions you enter. It cannot see purchases by your spouse, your corporation or in your registered accounts, which also count.

How do I enter return of capital?

Choose Return of capital and enter the amount from box 42 of your T3 slip. It reduces your ACB; if the ACB would go below zero, the excess is shown as a capital gain.

Can I use this for U.S. stocks?

Yes, after converting each trade to Canadian dollars at the Bank of Canada exchange rate for that day.

Is my data saved?

Only in your browser on this device, so you can come back and add trades. Nothing is sent to our server.

Can I use the ACB calculator for crypto?

Yes. Enter each coin separately in Canadian dollars. A trade of one crypto for another is a sale of the first and a purchase of the second, at fair market value.

Sources: CRA, Guide T4037, Capital Gains. Checked October 2026. Corporate actions such as spin-offs, mergers and stock options are not handled automatically; enter them as advised by the issuer. The superficial loss calculation follows the proportional formula CRA describes for partial repurchases.

Last reviewed October 5, 2026 against CRA and Government of Canada sources. How we check our facts.