Capital Gains Tax Calculator Canada: How the Tax on a Gain Is Worked Out
By FindMySum · Last reviewed
This capital gains tax calculator Canada residents can use estimates how much extra federal and provincial tax you will pay when you sell shares, funds, a rental property, a cottage or another capital asset for more than it cost. It follows the Canada Revenue Agency's method: work out the gain, take half of it into income, and measure how much that extra income raises your tax for the year. Below we explain each step, show the calculation with the calculator's default inputs and list what it leaves out.
The three numbers that make a capital gain
A capital gain is the difference between what you received and what the asset cost you, after the costs of selling:
Capital gain = proceeds of disposition − adjusted cost base − outlays and expenses
- Proceeds of disposition are the sale price, or the fair market value if you gave the asset away or were deemed to sell it.
- Adjusted cost base (ACB) is the purchase price plus the costs of buying it, such as commissions and legal fees, plus capital improvements to a property. For shares bought in several lots it is the average cost of all the shares you hold, not the price of the lot you think you sold.
- Outlays and expenses are the costs of selling: brokerage commissions, legal fees, a real estate commission.
If the result is negative you have a capital loss. A loss has no tax and cannot reduce your salary, but half of it is an allowable capital loss that offsets taxable capital gains this year, in any of the previous three years, or in any future year.
The 50% inclusion rate
Only half of a capital gain is taxable. The half you include is the taxable capital gain, reported on line 12700 of the T1 return. The 2024 federal budget proposed raising the inclusion rate to two-thirds for an individual's gains above $250,000 a year, first from June 25, 2024 and later from January 1, 2026. That increase never became law: on March 21, 2025 the government cancelled it, and the CRA administers the one-half rate. The calculator uses one-half for every tax year it offers.
How the tax on the gain is measured
Canada has no separate rate for gains. The calculator therefore works out your federal and provincial tax twice, using the same tax tables as our income tax calculator:
- on your other income alone, and
- on your other income plus the taxable capital gain.
The difference is the tax caused by the gain. This approach handles everything that depends on taxable income: moving into a higher bracket part-way through the gain, the Ontario surtax and Ontario Health Premium, the Quebec federal abatement and the reduction of the federal basic personal amount at high incomes. No Canada Pension Plan or Employment Insurance contributions are charged on a capital gain, so only income tax changes.
The calculator also shows two helpful comparisons. The marginal rate on capital gains is your combined marginal rate on salary multiplied by the inclusion rate, which is the tax on the next dollar of gain. And the "saved by the inclusion rate" figure is the difference between the real tax and what the same gain would cost if it were taxed in full, like interest or wages.
Worked example with the default inputs
The calculator opens with a sale of shares for $50,000 that cost $30,000, no selling costs, $85,000 of employment income, Ontario, the 2026 tax year and no losses to apply.
Gain. $50,000 − $30,000 − $0 = $20,000. Half of it, $10,000, is the taxable capital gain.
Income before the gain. Employment income of $85,000 has $1,127 of enhanced CPP deducted from it (the 1% first additional contribution on $71,100 plus the 4% second additional contribution on $10,400), leaving taxable income of $83,873.
Adding the gain. Taxable income rises to $93,873. That whole $10,000 sits in the federal 20.5% bracket (from $58,523 to $117,045 in 2026) and the Ontario 9.15% bracket (from $53,891 to $107,785). Basic Ontario tax stays below the surtax threshold of $5,818, and the Ontario Health Premium is already at its $750 level, so neither changes.
- Federal tax on the gain: $10,000 × 20.5% = $2,050.00
- Ontario tax on the gain: $10,000 × 9.15% = $915.00
- Total: $2,965.00, which is 14.83% of the $20,000 gain
Tax without the gain is $15,551.05 and with it $18,516.05. You keep $17,035 of the gain, and the sale leaves you with $47,035 of cash after tax. Had the whole $20,000 been taxed like salary, the tax would have been $6,047.29, because the extra income would also push basic Ontario tax over the surtax threshold. The inclusion rate saves $3,082.29.
The same sale costs $3,050.00 in Alberta, $2,820.00 in British Columbia and $3,611.75 in Quebec at the same income. With $250,000 of other income in Ontario, the tax on the same gain rises to $4,996.94, because the gain falls in the top brackets and partly in the zone where the federal basic personal amount shrinks.
Losses and the principal residence
Enter capital losses you want to apply in the advanced field as the full loss, before halving. The calculator subtracts them from the gain and tells you if some of them are left over. Remember that net capital losses carried from earlier years are recorded by the CRA at their allowable (halved) value; double them before entering them here.
If you sell a home that was your principal residence for every year you owned it, choose that option and the gain is exempt. You still report the sale and the designation on Schedule 3. Only one property per family unit can be designated for a given year, so a cottage and a city home owned at the same time cannot both be fully exempt, and a home you rented out or used for business can be partly taxable. Those cases need Form T2091(IND) and are not modelled.
US capital gains: switch the region to United States
The region selector at the top of the calculator switches to US federal rules for 2026 on the same page (open it in US mode). The US does not use an inclusion rate. Instead, how long you held the asset decides how the whole gain is taxed.
Short-term gains (held one year or less) are taxed as ordinary income at the same 10% to 37% bracket rates as wages. Long-term gains (held more than one year) get their own rates of 0%, 15% and 20%, set by your taxable income including the gain. For 2026, IRS Rev. Proc. 2025-32 puts the top of the 0% rate at $49,450 of taxable income for a single filer ($98,900 married filing jointly) and the top of the 15% rate at $545,500 ($613,700 joint). The gain is stacked on top of your other taxable income, so a large gain can be taxed partly at 0% and partly at 15%.
Worked example (US defaults). A single filer with $85,000 of other income sells shares for $50,000 that cost $30,000, a $20,000 long-term gain. After the $16,100 standard deduction, taxable income is $68,900 without the gain and $88,900 with it. All of the gain sits above the $49,450 zero-rate amount, so it is taxed at 15%: $3,000. Held for one year or less, the same gain would fall in the 22% bracket and cost $4,400. With $40,000 of other income instead, taxable income without the gain is $23,900, so the first $25,550 of a $30,000 gain is taxed at 0% and only $4,450 at 15%, or $667.50.
Net Investment Income Tax. An extra 3.8% applies to the smaller of your investment income and your modified adjusted gross income above $200,000 ($250,000 married filing jointly, $125,000 married filing separately). These thresholds are fixed in the law and are not indexed for inflation.
Selling your home. If you owned the home and lived in it for at least 2 of the 5 years before the sale, up to $250,000 of the gain is excluded ($500,000 on a joint return), the US counterpart of the principal residence exemption. A loss on your home is not deductible.
Losses. Capital losses offset gains first; up to $3,000 of any remaining net loss ($1,500 married filing separately) comes off other income each year, and the rest carries forward. US mode shows federal tax only: most states also tax the gain as ordinary income.
UK Capital Gains Tax: switch the region to United Kingdom
In UK mode (open it) the calculator follows HMRC's method for individuals in the 2025-26 and 2026-27 tax years. There is no inclusion rate. Instead every individual gets an annual exempt amount of £3,000, and the gains above it are taxed at 18% or 24%. Which rate applies depends on how much of your basic rate band (£37,700) your taxable income has already used: gains that fit in the rest of the band pay 18%, the rest pays 24%. The rates are the same for shares, crypto and residential property.
Worked example (UK defaults). You earn £45,000 and sell shares for £50,000 that cost £30,000, a £20,000 gain. Taking off the £3,000 allowance leaves £17,000 taxable. Your taxable income is £45,000 − £12,570 Personal Allowance = £32,430, so £5,270 of the basic rate band is left: £5,270 × 18% = £948.60, and the other £11,730 × 24% = £2,815.20. The tax is £3,763.80 and you keep £16,236.20 of the gain. HMRC's own example on GOV.UK gives the same method: with taxable income of £20,000 and gains of £52,600, the tax is 18% on £17,700 plus 24% on £31,900, or £10,842.
Business Asset Disposal Relief. Gains on selling all or part of a qualifying business are taxed at a flat 14% for disposals in 2025-26 and 18% from 6 April 2026. Your main home is normally exempt through Private Residence Relief, and the calculator shows no tax when you pick it. Losses from earlier years reduce gains only down to the £3,000 allowance, so the allowance is never wasted. A gain on UK residential property must be reported and the tax paid within 60 days of completion.
India: LTCG and STCG
In India mode (open it) the calculator applies the rates in force for sales on or after 23 July 2024, for a resident individual in the new tax regime:
- Listed shares and equity mutual funds (STT paid): long-term after 12 months, taxed at 12.5% on gains above ₹1.25 lakh a year; short-term gains at 20%.
- Land, buildings, gold, unlisted shares and other assets: long-term after 24 months, taxed at 12.5% without indexation; short-term gains are added to your income and taxed at slab rates. For land or a building bought before 23 July 2024 a resident pays the lower of that and 20% with indexation: enter the purchase date and the calculator shows both and uses the lower.
Surcharge on these gains is capped at 15%, and 4% Health and Education Cess is added to everything. The calculator works out your total tax with and without the gain, both rounded to ₹10, and the difference is the tax on the gain. That way the rules that connect the gain to your salary are included: the rebate for total income up to ₹12 lakh cannot be used against tax at the special rates, and if your other income is below the basic exemption limit the unused part is set against the gain.
Worked example (India defaults). With a salary of ₹15 lakh you sell equity fund units held for two years for ₹5 lakh that cost ₹3 lakh. The ₹2 lakh long-term gain is ₹1.25 lakh exempt and ₹75,000 taxable: ₹75,000 × 12.5% = ₹9,375, plus 4% cess = ₹9,750. Sold within 12 months, the same gain would be taxed at 20%: ₹41,600 with cess.
What the calculator does not cover
- Alternative minimum tax. AMT includes all of a capital gain and applies a flat federal rate above a large exemption. A very large gain in one year can trigger it; the AMT is recoverable over the next seven years.
- Lifetime capital gains exemption. Owners of qualified small business corporation shares or qualified farm or fishing property can shelter up to $1,250,000 of gains. Claiming it is not modelled.
- Reserves. If you are paid over several years, you can spread the gain over up to five years.
- Business income. Frequent traders and property flippers can have their profit taxed as business income, fully included. Since 2023 a home sold within 12 months of buying it is generally treated that way.
- Other income types. Your other income is treated as employment income; pension, dividend and self-employment income carry different credits.
To see your whole tax bill rather than the tax on one sale, use the income tax calculator. To keep future gains out of tax altogether, compare holding investments in a TFSA or an RRSP.
More questions
Is there a separate capital gains tax rate in Canada?
No. Canada has no stand-alone capital gains tax. Half of the gain is added to your income for the year and taxed at the same federal and provincial rates as your salary, which is why the same gain costs a different amount for different people and in different provinces.
Do I pay capital gains tax on investments inside a TFSA or RRSP?
No. Gains inside a TFSA are never taxed, and gains inside an RRSP, RRIF or FHSA are not reported as capital gains. RRSP and RRIF withdrawals are taxed in full as ordinary income instead, so the half-inclusion advantage is lost on money that comes out of an RRSP.
How do I report a capital gain on my tax return?
List each sale on Schedule 3 with the proceeds, the adjusted cost base and the outlays and expenses. The taxable capital gain from Schedule 3 goes on line 12700 of your T1 return. Brokers send a T5008 slip or an annual trade summary, but the ACB on those slips is often missing or wrong for shares you transferred in, so keep your own records.
Does a capital gain affect my benefits?
It can. The taxable half of the gain counts as net income, so a large gain in one year can reduce income-tested amounts such as the Canada child benefit, the GST/HST credit and, for seniors, Old Age Security through the recovery tax. Spreading sales over two calendar years can soften the effect.
Can I give shares to my children to avoid the tax?
A gift is treated as a sale at fair market value, so you report the gain in the year you give the shares. Gifts of listed shares to a registered charity are the exception, with no tax on the gain, and you also get a donation receipt for the full value.
How much Capital Gains Tax will I pay in the UK on £20,000 of gains?
It depends on your income. After the £3,000 annual exempt amount, £17,000 is taxable. Someone earning £45,000 has £5,270 of basic rate band left, so that part is taxed at 18% and the rest at 24%, about £3,764. A higher rate taxpayer pays 24% on the whole £17,000, or £4,080.
Is LTCG on mutual funds in India tax-free up to ₹1.25 lakh?
For equity-oriented funds and listed shares, yes. Long-term gains up to ₹1.25 lakh a year in total are exempt, and the rest is taxed at 12.5% plus surcharge and cess. Debt funds bought after 1 April 2023 have no such exemption and are taxed at slab rates however long you hold them.
Sources
- Line 12700 – Capital gains (Canada Revenue Agency)
- T4037 Capital Gains guide (Canada Revenue Agency)
- Prime Minister Carney cancels the capital gains inclusion rate increase (Office of the Prime Minister, March 21, 2025)
- Canadian income tax rates for individuals, current and previous years (Canada Revenue Agency)
- IRS Rev. Proc. 2025-32: 2026 tax rate schedules and capital gain thresholds
- IRS: Net Investment Income Tax
- IRS Topic 701: Sale of your home
- Capital Gains Tax: what you pay it on, rates and allowances (GOV.UK)
- Capital Gains Tax rates and annual tax-free allowances (HMRC)
- Business Asset Disposal Relief (GOV.UK)
- Finance (No. 2) Act, 2024, Gazette of India
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.