L LoanLens Canada

Capital Gains Tax Calculator

Tax on a capital gain in Canada: the 50% inclusion rate applied to your 2026 federal and provincial brackets, with the principal residence exemption for property and the effective rate on the gain.

$
$
$

Commissions, legal fees, staging

$

This year's or carried forward

$

Employment or other income before the sale; it sets the bracket the gain lands in.

Estimated tax on this sale

$0

Capital gain

$0

Taxable (50%)

$0

Federal tax

$0

Provincial tax

$0

Effective rate on the gain

0%

Marginal rate on the top dollar

0%

You keep after tax

$0

The honest read

—

Quick Answer

Selling an investment for $150,000 that cost $100,000 is a $50,000 capital gain. Half of it, $25,000, is added to your income; on top of an $80,000 salary in Ontario that costs about $7,500 in 2026 federal and provincial tax, an effective 15% on the gain. Your principal residence is exempt, and nothing inside a TFSA, RRSP or FHSA is ever a capital gain.

How the calculator works

It computes the gain (sale price minus adjusted cost base minus selling costs), nets any capital losses you enter, removes the principal residence share for property, and includes 50% of what is left in your income. The tax is the difference between your 2026 federal and provincial income tax with and without that extra income, using the same bracket engine as the income tax calculator, so the gain is stacked on top of your other income and taxed at the brackets it actually reaches, not at a flat rate. Quebec's federal abatement and Ontario's surtax and health premium are included.

The 50% inclusion rate, and the increase that never happened

Only half of a capital gain is taxable, which is why the effective rate on a gain is half your marginal rate: 20% of the gain at a 40% bracket, 26.8% at Ontario's top 53.5% bracket. Budget 2024 proposed raising the inclusion rate to two-thirds on gains above $250,000 a year; the measure was deferred in January 2025 and cancelled by the federal government on March 21, 2025, so one-half applies for 2026 (CRA Guide T4037, checked September 14, 2026). The capital gains guide has the full history and the planning moves that follow from it.

Real estate: the principal residence exemption and the flipping rule

A home that was your principal residence for every year you owned it is fully exempt, but the sale must still be reported. For a cottage or a home that was rented out for part of the time, the exempt fraction is (years designated + 1) ÷ years owned; the "plus one" lets you cover the year you move between homes. Enter the years and the calculator does the split. Property bought and sold within 365 days is business income at 100% under the residential property flipping rule, with exceptions for death, separation, a new job, illness and similar events. The principal residence exemption guide and the cottage guide cover the designation choice for families that own two properties.

Ways to pay less, legally

  • Spread the sale over two tax years so each half lands in a lower bracket; the calculator shows the marginal rate the top dollar hits.
  • Harvest losses in the same year, or carry them back up to three years against gains already taxed. Watch the 30-day superficial loss rule.
  • Make an RRSP contribution in the year of the gain; a deduction at your marginal rate offsets the included half dollar for dollar. The RRSP vs TFSA calculator sizes it.
  • Donate appreciated securities in kind: the gain is eliminated and you get the donation receipt for the full value.
  • Hold growth assets in a TFSA going forward, where none of this applies. The TFSA calculator prices the shelter.

Assumptions and limits

  • 2026 brackets and the basic personal amount; CPP and EI are computed on your other income only, since a capital gain is not pensionable or insurable.
  • Other credits (spousal, age, tuition), the alternative minimum tax, the lifetime capital gains exemption for small business and farm property, and foreign tax credits are not modelled. Large gains with low other income can trigger AMT.
  • Other income is treated as employment income. Pension, self-employment or dividend income changes the credits and the result by a small amount.
  • The principal residence exemption assumes you were resident in Canada when you bought the property (that is where the "plus one" comes from) and that no other property was designated for the same years.
  • Crypto is treated as a capital gain, which is how the CRA treats most individual investors; frequent trading can be business income at 100%.

Frequently Asked Questions

How is capital gains tax calculated in Canada?

There is no separate capital gains rate. You take the sale price, subtract the adjusted cost base and selling costs to get the gain, include 50% of it in your income, and pay tax on that half at your federal and provincial marginal rates. A $50,000 gain adds $25,000 to income; at a 43% marginal rate that is $10,750 of tax, or 21.5% of the gain.

Is the inclusion rate 50% or two-thirds?

50%. The April 2024 federal budget proposed raising it to two-thirds on gains above $250,000 a year for individuals; the change was deferred in January 2025 and cancelled on March 21, 2025 without ever being legislated. The CRA administers the one-half rate for all years, and this calculator uses it.

Do I pay capital gains tax when I sell my home?

Not on a property that was your principal residence for every year you owned it. If it was your principal residence for only some years, the exempt share is (years designated + 1) ÷ years owned, which the calculator applies when you enter both counts. You must still report the sale on your return to claim the exemption. A property bought and sold within 365 days is generally taxed as business income at 100% under the flipping rule, with exceptions for life events such as death, divorce or a job move.

Can capital losses reduce the tax?

Yes. Allowable capital losses (half of the loss) offset taxable capital gains in the same year, and unused net losses carry back three years or forward indefinitely against gains only. Enter the full loss and the calculator nets it against the gain before applying the inclusion rate. Selling at a loss and rebuying the same security within 30 days triggers the superficial loss rule and the loss is denied.

Are gains in a TFSA, RRSP or FHSA taxed?

No. Gains inside registered accounts are never capital gains: a TFSA or FHSA withdrawal is tax-free, and an RRSP withdrawal is taxed in full as ordinary income regardless of how the money grew. Capital gains tax only applies to non-registered accounts, real estate other than your principal residence, crypto, and other property.

What is the lifetime capital gains exemption?

A separate shelter for gains on qualified small business corporation shares and qualified farm or fishing property, worth $1.25 million of gains per person since June 25, 2024. It does not apply to publicly traded stocks, rental property or crypto, and this calculator does not model it. The November 5, 2026 federal budget also proposed a separate exemption for gains on qualifying shares of certain Canadian corporations; it is not yet law and is not modelled either. If you are selling a private business, the exemption, the alternative minimum tax and the timing of the sale all need professional advice.

Guides that use this calculator

Official sources

Rules and dollar limits change. Confirm current amounts with the official pages below before you act.

Add this calculator to your website

Free for realtors, mortgage brokers, bloggers and community sites. Paste this code into any page; it stays up to date automatically and shows no ads. All embeddable calculators

Related calculators

Free calculator by LoanLens.ca