Skip to main content

Search

Search calculators, blog posts, and pages

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.

Tax Breakdown Effective Rate After-Tax Proceeds Fed vs Provincial Split
Capital Gains Calculator
Transaction
$
$
$

Broker, legal, agent fees

Context
$

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.

1
Calculate the capital gain— $400,000 sale − $275,000 purchase − $20,000 costs = $105,000 gain
2
Apply the carry-forward loss— $105,000 gain − $3,500 crypto loss = $101,500 net capital gain
3
Apply the inclusion rate— Only the taxable portion of the gain — set by the federal inclusion rate — is added to taxable income. The calculator applies the current rate automatically.
4
Tax it at Bob's marginal rate— The taxable portion stacks on Bob's salary. Federal and Ontario tax are then calculated separately and added — there is no single combined rate.

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 calculator showing a rental property sale: sale price, purchase price, selling costs, a loss carry-forward, and other income, with the resulting tax and after-tax proceeds broken down by federal and provincial tax.

Capital Gains Tax by Province / Territory

Atlantic
Central
Prairies
West
Territories

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:

  1. 1Calculate Your Gain: Capital gain = proceeds of sale − adjusted cost base − selling costs (commissions, legal fees).
  2. 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.
  3. 3Add to Taxable Income: The taxable portion stacks on your other income (employment, business, etc.) for the year.
  4. 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.
  5. 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 / RRSPInvestment growth in registered accounts is tax-sheltered. TFSA gains are never taxed; RRSP gains are taxed as income on withdrawal.
  • Lottery & Gambling WinningsWindfalls from lotteries, casinos, and gambling are not taxable in Canada.
  • Gifts & Inheritances ReceivedThe recipient does not have a gain. A taxable disposition may occur for the giver or the estate of the deceased.
  • Life Insurance ProceedsDeath 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

  1. 1Set Aside Tax Money: Put aside the estimated tax as soon as you realize a gain — the bill comes when you file your return.
  2. 2Consider Tax-Loss Harvesting: Selling losing investments before year-end can offset your gains and reduce tax owing.
  3. 3Watch Installment Requirements: If you owe enough tax, the CRA may require quarterly installments to avoid interest — check your situation.
  4. 4Use RRSP Room: RRSP contributions reduce the income your gain stacks onto, lowering your marginal rate.
  5. 5Plan Future Sales: When you have flexibility, spreading large gains across years can keep you in lower brackets.
  6. 6Keep Detailed Records: Track your adjusted cost base (ACB) and keep purchase, sale, and cost records for several years.
  7. 7Get Advice for Complex Cases: Real estate development, deemed dispositions, and business-income questions warrant a tax professional.

Frequently Asked Questions