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.
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
Principal residence exemption
—
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?
Is the inclusion rate 50% or two-thirds?
Do I pay capital gains tax when I sell my home?
Can capital losses reduce the tax?
Are gains in a TFSA, RRSP or FHSA taxed?
What is the lifetime capital gains exemption?
Guides that use this calculator
Capital Gains Tax in Canada: The 50% Rule, Explained With Numbers
Taxes & Registered AccountsThe Principal Residence Exemption: How Your Home Stays Tax-Free (and How People Blow It)
Mortgage & Home BuyingGetting a Cottage Mortgage in Canada: Type A, Type B, and Why the Down Payment Changes
Taxes & Registered AccountsCrypto Taxes in Canada: Every Transaction CRA Considers Taxable
Retirement PlanningInheriting a House in Canada: Taxes, Probate, and the Sell-vs-Keep Decision
Taxes & Registered AccountsRental Income Tax in Canada: Every Deduction Landlords Can (and Can't) Claim
Official sources
Rules and dollar limits change. Confirm current amounts with the official pages below before you act.
- Capital gains (Guide T4037) (Canada Revenue Agency)
- Principal residence and other real estate (Canada Revenue Agency)
- Tax rates and income brackets for the current year (Canada Revenue Agency)
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
RRSP vs TFSA Calculator
Compare after-tax outcomes of RRSP vs TFSA contributions based on your tax rate today versus retirement — see which account wins for you.
Open calculator IncomeIncome Tax Calculator
Estimate your 2026 Canadian take-home pay: federal + provincial tax, CPP and EI, effective and marginal rates, for every province and territory.
Open calculator SavingsTFSA Growth Calculator
Project your TFSA: tax-free growth on your contributions, the dollar value of the shelter vs a taxable account, and what waiting five years costs you.
Open calculator