Canada Capital Gains Tax Calculator

Enter share purchases and sales to build the adjusted cost base, add a home sale with its designated years, and see the taxable gain and extra tax in your province.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Choose your province

    And other income.

  2. 2
    Enter trades

    Buys and sells with commissions.

  3. 3
    Check the ACB

    Per share after each trade.

  4. 4
    Add a home sale

    With designated years.

  5. 5
    Add other gains

    And losses carried forward.

  6. 6
    Read the tax

    On the gains this year.

About this tool

When you sell shares, funds, a cottage or other capital property for more than it cost, the profit is a capital gain. In Canada half of a net capital gain is added to your income and taxed at your marginal rate; the government's plan to raise the inclusion rate to two-thirds was cancelled in 2025, so 50% still applies. The hard part is often the cost. For identical properties such as shares of the same company or units of the same fund, the Canada Revenue Agency requires an average cost: every purchase, including commissions, is added to a pool, and each sale removes shares at the average cost per share at that moment. This adjusted cost base, or ACB, must be tracked across years and brokers. Homes have their own rule. The principal residence exemption removes the gain for each year the property was designated as your principal residence, using the formula of one plus the number of years designated divided by the number of years owned. A family can designate only one property per year, so owners of a house and a cottage often split the years. This calculator builds an ACB ledger from your trades, shows the gain on each sale, adds a home or cottage sale with the exemption, includes other gains and losses carried forward, and calculates the extra federal and provincial tax at your income level for 2026.

Who this is for

Investors with non-registered accounts, people selling a cottage or rental property, families deciding how to designate a principal residence, and do-it-yourself tax filers.

How averaging works

| Step | Shares | Total cost | ACB per share | |---|---|---|---| | Buy 100 at $10 | 100 | $1,000 | $10.00 | | Buy 100 at $20 | 200 | $3,000 | $15.00 | | Sell 50 at $30 | 150 | $2,250 | $15.00 |

The sale of 50 shares at $30 gives a gain of 50 × ($30 − $15) = $750.

Losses

Capital losses offset capital gains in the same year. Unused net capital losses can be carried back three years or forward indefinitely, but only against capital gains. If you or your spouse buy the same property within 30 days before or after a sale at a loss, the superficial loss rule denies the loss and adds it to the cost of the new shares.

Worked example

Shares bought in three lots for an average of $53.74 and 120 sold at $74.30 give a gain of $2,457.64 after commission; for an Ontario resident with $85,000 of other income, the extra tax is about $364. A cottage bought for $300,000 and sold for $650,000 after $40,000 of costs, owned 12 years and designated for 4, has $129,167 exempt and $180,833 taxable as a gain.

Limits

This calculator handles one security at a time and does not cover foreign exchange, return of capital, the lifetime capital gains exemption or the alternative minimum tax. It is not tax advice; keep your records and check Schedule 3.

Worked example

120 shares sold at $74.30 with an ACB of $53.74: gain $2,457.64, about $364 of tax in Ontario.

Quick facts

Frequently asked questions

How much of a capital gain is taxable in Canada?

Half; the planned increase to two-thirds was cancelled in 2025.

What is the adjusted cost base?

The average cost of identical shares, including commissions, used to work out the gain on a sale.

How does the principal residence exemption work?

It exempts (1 + years designated) / years owned of the gain; one property per family per year.

Do I report a home sale if it is fully exempt?

Yes, report the sale and designation on Schedule 3 and Form T2091.

Can capital losses reduce my salary tax?

No, net capital losses only offset capital gains.

Are my trades stored online?

No, they stay in this browser.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages