Capital Gains Tax Calculator
Calculate the tax you owe on investment gains in Canada. Enter your purchase and sale details, or just the gain amount, and see exactly how much goes to tax.
tl;dr
In Canada, only the taxable portion of a capital gain — set by the federal inclusion rate — is added to your taxable income. That portion is then taxed at your marginal rate. Federal and provincial tax are calculated separately, so the calculator works out the exact tax for your income and province.
Capital Gains Tax Calculator
Enter your purchase and sale details, then click Calculate to see a detailed breakdown of your federal and provincial capital gains tax.
Broker, legal, agent fees
Employment, interest, rental, etc.
Net capital losses from prior years
For a more detailed tax calculation with CPP, CPP2, EI, deductions, and credits, use the Visual Tax Calculator.
Example: Selling a Rental Property
Bob lives in Ontario and earns $85,000 a year. He bought a rental condo for $275,000 and just sold it for $400,000. His real estate agent charged 5% ($20,000) in commission. Two years ago, Bob lost money on a cryptocurrency investment and has a $3,500 capital loss carry-forward he can apply against this gain.
Applying the carry-forward loss reduced Bob's taxable gain, which lowers the tax he owes — worth tracking even small losses. Because only part of a gain is taxable, the tax is a fraction of the full gain. Enter your own numbers above to see the exact tax, federal and provincial breakdown, and after-tax proceeds.

Capital Gains Tax by Province / Territory
You might also be interested in...
Related calculators that complement your financial planning
Visual Canadian Tax Calculator
Visual Personal Tax Calculator
Free 2026 Canadian tax calculator. Calculate income tax by province with interactive Sankey diagrams, deductions, and credits.
TFSA vs RRSP Calculator
Tax-Efficient Investment Strategy
Free TFSA vs RRSP calculator. Compare after-tax returns with refund reinvestment for Canadian savers. Find which account maximizes your retirement savings.
Canada-wide Tax Comparison
All Provinces & Territories
Compare take-home pay across all Canadian provinces and territories. Interactive map shows net income after taxes, CPP, and EI.
Why Capital Gains Tax Matters
Capital gains tax affects every Canadian who sells investments, real estate beyond their principal residence, or cryptocurrency. Unlike employment income, only part of a capital gain is taxable, which makes it one of the more tax-efficient forms of income in Canada. Even so, many investors are caught off guard at tax time because a gain stacks on top of their other income and can push them into a higher bracket. Understanding the tax helps you decide when to sell, whether to harvest losses to offset gains, and whether to realize gains in lower-income years. For real estate investors, capital gains tax is often the largest cost of a sale; for active investors, it affects the net return on every profitable trade.
How Capital Gains Tax Is Calculated
Capital gains tax in Canada follows a specific process that differs from regular income:
- 1Calculate Your Gain: Capital gain = proceeds of sale − adjusted cost base − selling costs (commissions, legal fees).
- 2Apply the Inclusion Rate: Only the taxable portion of the gain, set by the federal inclusion rate, is added to your income. The calculator applies the current rate automatically.
- 3Add to Taxable Income: The taxable portion stacks on your other income (employment, business, etc.) for the year.
- 4Tax at Your Marginal Rate: Federal and provincial tax are calculated separately on that income and added together — there is no single combined rate. The calculator shows the result for your province.
- 5Offset With Losses: Capital losses offset capital gains in the current year, the previous three years, or carried forward indefinitely — a powerful planning tool.
What's NOT a Capital Gain?
Several common financial events do not trigger capital gains tax in Canada:
- ✕Principal Residence Exemption (PRE) — The sale of your home is fully exempt if it was your principal residence for every year you owned it.
- ✕Gains Inside TFSA / RRSP — Investment growth in registered accounts is tax-sheltered. TFSA gains are never taxed; RRSP gains are taxed as income on withdrawal.
- ✕Lottery & Gambling Winnings — Windfalls from lotteries, casinos, and gambling are not taxable in Canada.
- ✕Gifts & Inheritances Received — The recipient does not have a gain. A taxable disposition may occur for the giver or the estate of the deceased.
- ✕Life Insurance Proceeds — Death benefit payouts to beneficiaries are generally not taxable income.
Common Capital Gains Scenarios
Selling stock on top of a salary
You earn employment income and sell stock for a gain.
Only the taxable portion of the gain is added to your income and taxed at your marginal rate, so the tax is a fraction of the full gain. Enter your gain and salary above for the exact figure.
Selling a rental property
You sell an investment property (not your principal residence) for a gain after costs.
A large one-time gain can push part of your income into a higher bracket. The calculator shows the tax owing and after-tax proceeds in your province.
Selling cryptocurrency
You dispose of crypto for more than your adjusted cost base.
The CRA treats crypto like other capital property — only the taxable portion is taxed, at your marginal rate. Enter the gain above to see what you owe.
What To Do After Calculating Your Capital Gains Tax
- 1Set Aside Tax Money: Put aside the estimated tax as soon as you realize a gain — the bill comes when you file your return.
- 2Consider Tax-Loss Harvesting: Selling losing investments before year-end can offset your gains and reduce tax owing.
- 3Watch Installment Requirements: If you owe enough tax, the CRA may require quarterly installments to avoid interest — check your situation.
- 4Use RRSP Room: RRSP contributions reduce the income your gain stacks onto, lowering your marginal rate.
- 5Plan Future Sales: When you have flexibility, spreading large gains across years can keep you in lower brackets.
- 6Keep Detailed Records: Track your adjusted cost base (ACB) and keep purchase, sale, and cost records for several years.
- 7Get Advice for Complex Cases: Real estate development, deemed dispositions, and business-income questions warrant a tax professional.