Sold some shares, a cottage or a rental condo this year? Then you probably have a capital gains tax calculation ahead of you. The good news: in Canada you are never taxed on the full profit. Only part of the gain is added to your income, and the rest is tax-free. This guide walks through how capital gains tax in Canada is calculated, with plain examples you can follow with a pencil and a calculator.
What counts as a capital gain?
A capital gain happens when you sell (or are considered to have sold) a capital property for more than it cost you. Common examples include:
- stocks, ETFs and mutual fund units held in a non-registered account;
- a secondary property such as a cottage or a rental building;
- cryptocurrency held as an investment;
- a share of a private business.
If you lose money on the sale instead, you have a capital loss, which can be used to reduce capital gains (more on that below).
The three numbers you need
1. Proceeds of disposition
This is what you received when you sold the property. For shares, it is the sale price. For real estate, it is the selling price stated in the deed of sale.
2. Adjusted cost base (ACB)
The ACB is what the property really cost you. It includes the purchase price plus costs to acquire it, such as brokerage commissions, legal fees or a land transfer tax. For buildings, major capital improvements (a new roof, an addition) can also be added. Routine repairs and maintenance cannot.
If you bought the same stock several times at different prices, your ACB is the average cost of all the shares you own, not the price of the last purchase.
3. Outlays and expenses of selling
Selling costs reduce your gain. Think real estate agent commissions, notary or legal fees, and trading commissions.
The capital gains formula
Here is the basic calculation:
- Capital gain = Proceeds of disposition minus (ACB + selling expenses)
- Taxable capital gain = Capital gain × inclusion rate
The inclusion rate is 50%. A proposal to raise it to two-thirds for larger gains was announced in 2024 but was later cancelled by the federal government, so half of your gain is what gets added to your income.
That taxable portion is then taxed at your marginal rate, together with your salary and other income. There is no separate capital gains tax table.
Worked examples
Example 1: selling shares
| Item | Amount |
|---|---|
| Sale price of shares | $30,000 |
| Adjusted cost base (including commissions) | $20,000 |
| Selling commission | $10 |
| Capital gain | $9,990 |
| Taxable capital gain (50%) | $4,995 |
The $4,995 is added to your income for the year. If your combined federal and provincial marginal rate is, say, 37%, the tax on this sale is roughly $1,848. Your actual rate depends on your total income and province.
Example 2: selling a cottage
Suppose you sell a cottage for $450,000. You bought it for $300,000, paid $5,000 in purchase costs, spent $25,000 on a new roof and foundation work, and paid $20,000 in agent and legal fees when selling.
- ACB = $300,000 + $5,000 + $25,000 = $330,000
- Capital gain = $450,000 − $330,000 − $20,000 = $100,000
- Taxable capital gain = $50,000
Fifty thousand dollars of extra income in a single year can push you into a higher bracket, which is why the timing of a sale matters.
Ways to legally reduce capital gains tax
- Use the principal residence exemption. The gain on your home can be fully exempt if it was your principal residence for every year you owned it. You still have to report the sale on your return.
- Offset with capital losses. Capital losses reduce capital gains of the same year. Unused net capital losses can be carried back three years or forward indefinitely, but only against capital gains.
- Invest inside a TFSA. Gains earned inside a TFSA are not taxed, even when withdrawn. Our TFSA vs. RRSP comparison explains which account suits your situation.
- Use your RRSP. Gains inside an RRSP are sheltered while invested, although withdrawals are taxed as regular income. An RRSP contribution can also lower your taxable income the year you sell; see how to estimate RRSP tax savings.
- Spread the gain. In some situations, such as receiving payment over several years, a capital gains reserve can spread the taxable amount over more than one year.
Watch out for the superficial loss rule: if you sell at a loss and you (or an affiliated person, like your spouse) buy the same property within 30 days before or after the sale, the loss is denied and added to the ACB of the new shares instead.
Capital gains in Quebec
Quebec residents report the same capital gain on both the federal return and the Quebec return. The taxable portion is added to income on each return and taxed at the respective federal and Quebec rates. If you are self-employed and also selling investments, the gain stacks on top of your business income, so it helps to plan your instalments; our guide to self-employed income tax in Quebec covers that side.
The official rules, including the forms to use, are published by the Canada Revenue Agency and by Revenu Québec.
Want to check other numbers, like your payroll deductions or loan costs? You will find more free tools on Calculat.ca, a Canadian calculator site and on Calculator Online Canada.
FAQ
What is the capital gains inclusion rate in Canada?
The inclusion rate is 50%, meaning half of your net capital gain is added to your taxable income. The planned increase to two-thirds was cancelled.
Do I pay capital gains tax when I sell my house?
Usually not, if the home was your principal residence for every year you owned it. You must still report the sale and designate the property as your principal residence on your tax return.
Is capital gains tax paid when I sell or at tax time?
Nothing is withheld automatically when you sell shares or property. The gain is reported on your annual return, and the tax is due with your balance owing. Large gains may mean you need to make instalment payments the following year.
Can capital losses reduce my salary income?
Generally no. Net capital losses can only be applied against taxable capital gains, either in the current year, the three previous years or any future year.

Leave a Reply