How is capital gains tax worked out?
Three steps are common to every country here. First the gain: the sale proceeds minus what you paid and the costs of buying and selling. Second, any capital losses come off. Third, each country decides how much of what is left is taxed, and at what rate. That third step is where the rules part company, which is why this page asks for a country before anything else.
Because most countries tax gains at rates that depend on your other income, the calculator works out the tax on the gain as the difference between your tax with the gain and your tax without it. That way the gain is placed on top of your other income, as the rules require, and no band is counted twice. The table under the result shows each slice of the gain and the rate it meets.
United States: long-term and short-term rates for 2026
Gains on assets held for more than one year are long-term and are taxed at 0%, 15% or 20%, depending on where they fall once added on top of your other taxable income. Gains on assets held for one year or less are short-term and are taxed as ordinary income. The 2026 thresholds set by the Internal Revenue Service in Rev. Proc. 2025-32 are:
| Filing status | 0% up to | 15% up to | 20% above |
|---|---|---|---|
| Single | $49,450 | $545,500 | $545,500 |
| Married filing jointly | $98,900 | $613,700 | $613,700 |
| Head of household | $66,200 | $579,600 | $579,600 |
| Married filing separately | $49,450 | $306,850 | $306,850 |
The calculator subtracts the 2026 standard deduction for your filing status unless you enter your own deductions. Example: a single filer with $80,000 of adjusted gross income has $63,900 of taxable income after the $16,100 standard deduction. A $20,000 long-term gain sits entirely in the 15% band, so the tax is $3,000. Had the shares been held for under a year, the same gain would be taxed at ordinary rates, costing $4,400.
Above $200,000 of income for a single filer, or $250,000 for a married couple filing jointly, the 3.8% net investment income tax applies as well. A single filer with $300,000 of income and a $100,000 long-term gain pays $15,000 at 15% plus $3,800 of that tax, $18,800 in all.
United Kingdom: rates and the annual exempt amount for 2026/27
For shares and other assets that are not residential property, HM Revenue and Customs sets rates of 18% for gains that fall within the basic-rate band and 24% above it, with an annual exempt amount of £3,000 for 2026/27. Losses come off before the exempt amount.
The basic-rate band is £37,700 of taxable income. Gains use whatever part of it your other income has not filled. With £40,000 of salary, the personal allowance of £12,570 leaves £27,430 of taxable income, so £10,270 of the band is unused. A £20,000 gain minus the £3,000 exempt amount leaves £17,000 taxable: £10,270 at 18% and £6,730 at 24%, a total of £3,463.80.
The personal allowance shrinks by £1 for every £2 of income over £100,000, which pushes more income into the band and more of the gain to 24%: at £120,000 of income the same gain costs £4,080. Scottish taxpayers use these UK bands for capital gains, not the Scottish income tax bands.
Canada: the inclusion rate and your marginal rate
In Canada only part of a capital gain is taxed: the inclusion rate is one half, after the government cancelled a planned increase to two-thirds on 21 March 2025. The taxable half is added to your income and taxed at your federal and provincial rates. For 2026 the lowest federal rate is 14%, and federal brackets run up to 33% on income over $258,482.
Example in British Columbia: with $80,000 of other income, a $20,000 gain adds $10,000 of taxable income. Federal tax on it is $2,050 at 20.5% and British Columbia tax $770 at 7.7%, so $2,820 in all. The calculator also applies the federal basic personal amount of $16,452, which tapers to $14,829 between net incomes of $181,440 and $258,482, so it handles both very low and very high incomes. British Columbia and Alberta are available now; other provinces will be added once their surtaxes and credits are confirmed at source.
Australia: the 50% discount and the 2026-27 rates
An Australian resident individual who has held an asset for at least 12 months can reduce the net capital gain by 50%. The remainder is added to taxable income and taxed at resident rates, plus the 2% Medicare levy. From 1 July 2026 the rate on income between $18,201 and $45,000 falls from 16% to 15%, under legislation passed in March 2025.
With $90,000 of other income and a $20,000 gain on shares held for more than a year, $10,000 is taxed at 30%, or $3,000, plus a $200 Medicare levy: $3,200. Sold inside 12 months, the full $20,000 is taxable and the bill doubles to $6,400. When the taxable gain crosses a bracket, the calculator splits it: at $130,000 of other income, the first $5,000 is taxed at 30% and the next $5,000 at 37%.
Singapore and the UAE: why the calculator shows no tax
Choosing Singapore or the United Arab Emirates returns a tax of zero, with the reason. The Inland Revenue Authority of Singapore says gains from selling shares and financial instruments are generally not taxable, though gains from what amounts to trading can be taxed as income. In the UAE, corporate tax reaches individuals only when they run a business or business activity, and Cabinet Decision No. 49 of 2023 excludes personal investment on your own account.
A zero here describes those countries' rules for someone resident there. A resident of one country who invests through another, or who moves during the year, may face tax elsewhere; the calculator does not work out residence.
The same gain under four tax systems
Each row uses a gain of 20,000 in the local currency on shares held for more than a year, from the examples above:
| Country | Other income | Taxable part of the gain | Estimated tax |
|---|---|---|---|
| United States, single | $80,000 | $20,000 | $3,000 |
| United Kingdom | £40,000 | £17,000 | £3,463.80 |
| Canada, British Columbia | $80,000 | $10,000 | $2,820 |
| Australia | $90,000 | $10,000 | $3,200 |
| Singapore or the UAE | any | 0 | 0 |
The amounts are in different currencies and are not converted, so read across the columns for the method, not for which country costs more.
What this calculator leaves out
It covers individuals selling shares, funds and similar investments. It does not cover residential property, business disposals or relief schemes, employee share plans, inheritance, or gains inside tax-free accounts. It does not apply US state and local taxes, the alternative minimum tax or the yearly use of losses against other income, Canadian provincial credits, or the Australian low-income Medicare reduction. Where you bought the same shares several times, the cost to enter follows each country's own matching or averaging rules; use the figure your records or your broker's statement give.
Treat the result as an estimate to check against your own return or with a qualified adviser. Each country's figures name their official source and a next-review date at the foot of the page.
Common mistakes when estimating capital gains tax
- Using the sale price as the gain. The gain is the price minus what you paid and the costs.
- Ignoring the holding period. In the US and Australia, one day either side of the year can change the tax a great deal.
- Treating the rate as flat. In the UK and the US, part of a gain can be taxed at one rate and the rest at another.
- Forgetting losses. Losses on other sales in the same year usually reduce the taxable gain.
- Mixing up tax years. The UK year runs from 6 April and Australia's from 1 July; the date of sale decides which rules apply.
Glossary
Cost basis: what you paid for an asset, plus allowable buying costs. Proceeds: what you received when you sold it. Annual exempt amount: the UK allowance of gains taxed at nothing each year. Inclusion rate: the share of a Canadian capital gain that is taxable. CGT discount: the Australian reduction of a gain on assets held at least 12 months. Net investment income tax: an extra US tax of 3.8% on investment income above set income levels.
Frequently asked questions
How is capital gains tax calculated?
Take the sale proceeds, subtract what you paid and the costs of buying and selling, and subtract any capital losses. Then apply your country's rules: an allowance, discount or inclusion rate, and the rate that applies once the gain is added to your other income.
What is the capital gains tax rate in the US for 2026?
Long-term gains are taxed at 0%, 15% or 20%. For a single filer, 0% applies to taxable income up to $49,450 and 20% above $545,500. Short-term gains, on assets held a year or less, are taxed at ordinary income rates, and the 3.8% net investment income tax can apply at higher incomes.
How much capital gains tax will I pay in the UK in 2026/27?
Gains above the £3,000 annual exempt amount are taxed at 18% within your unused basic-rate band and 24% above it. With £40,000 of salary, a £20,000 gain on shares costs £3,463.80.
What is the capital gains inclusion rate in Canada?
One half. The planned increase to two-thirds was cancelled on 21 March 2025, so half of a capital gain is added to income and taxed at your federal and provincial rates.
How does the Australian CGT discount work?
An Australian resident individual who holds an asset for at least 12 months can reduce the net capital gain by 50%. The rest is added to taxable income and taxed at resident rates plus the 2% Medicare levy.
Is there capital gains tax in the UAE or Singapore?
For individuals investing on their own account, generally no. Singapore's tax authority says gains from selling shares are generally not taxable unless the activity amounts to trading, and UAE corporate tax applies to individuals only when they run a business.
Do capital losses reduce capital gains tax?
Yes, in all four countries the calculator taxes, losses on other sales reduce the gain that is taxed. In the UK they come off before the £3,000 allowance, and in Australia before the 50% discount.
Does holding shares for more than a year lower the tax?
In the US and Australia, yes. The US taxes long-term gains at 0%, 15% or 20% rather than ordinary rates, and Australia halves the gain on assets held at least 12 months. The UK and Canada do not use a holding period for shares.
Which country's rules should I use?
Generally the country where you are resident for tax in the year you sell. If you moved during the year or hold investments abroad, the rules can be more involved than this calculator covers.
How current are the rates on this page?
Each country shows its tax year, the official source of every figure, the date it was checked and the date it is next due for review. Rates and allowances you see filled in can be changed if your situation differs.
Courses behind investment tax
Stock Market Trading Beginners Course
Structured online beginner program covering UK, USA, and European stock markets, technical analysis, fundamental analysis, risk management, and trading psychology.
See what the course coversETF Exchange Traded Funds Investing and Trading Course
Introduction to exchange-traded funds, covering how ETFs combine stock and mutual fund features and how to use them for portfolio construction.
See what the course coversACCA PL Advanced Taxation ATX Online Course for Exam Preparation
Exam-focused preparation for the ACCA Advanced Taxation paper, covering taxation issues, tax implications, tax rules, and strategic tax planning scenarios.
See what the course coversSources and review
Last reviewed 13 November 2026 by the NIFM Academy editorial team. Next review by 15 January 2027.
United States, tax year 2026. Next review by 15 January 2027.
- Internal Revenue Service, Rev. Proc. 2025-32, section 4.01 tax rate tables and section 4.03 maximum zero rate and 15 percent rate amounts for 2026. Checked 13 November 2026.
- Internal Revenue Service, IR-2025-103, 2026 standard deduction: 16,100 dollars single, 32,200 married filing jointly, 24,150 head of household. Checked 13 November 2026.
- Internal Revenue Service, Net Investment Income Tax, 3.8 percent; thresholds 200,000 single and head of household, 250,000 married filing jointly, 125,000 married filing separately. Checked 13 November 2026.
- Internal Revenue Service, Topic No. 409, long-term means held more than one year. Checked 13 November 2026.
United Kingdom, tax year 2026/27. Next review by 6 April 2027.
- HM Revenue and Customs, Capital Gains Tax rates and allowances, 18 and 24 percent for individuals and an annual exempt amount of 3,000 pounds for 2026 to 2027; losses deducted before the allowance. Checked 13 November 2026.
- GOV.UK, Income Tax rates and Personal Allowances, personal allowance 12,570 pounds, reduced by 1 pound for every 2 pounds over 100,000; basic rate band 37,700 pounds. Checked 13 November 2026.
- Income Tax Act 2007 section 10 and Taxation of Chargeable Gains Act 1992 sections 1H and 1I, capital gains use the UK basic rate limit, including for Scottish taxpayers. Checked 13 November 2026.
Canada, tax year 2026. Next review by 15 January 2027.
- Prime Minister of Canada, news release of 21 March 2025, the proposed increase in the capital gains inclusion rate is cancelled; the rate stays at one half. Checked 13 November 2026.
- Canada Revenue Agency, Personal income tax rates, current year, 2026 federal brackets from 14 to 33 percent, and British Columbia rates. Checked 13 November 2026.
- Canada Revenue Agency, T4032 payroll deductions tables, January 2026, basic personal amount 16,452 dollars, falling to 14,829 between net income of 181,440 and 258,482. Checked 13 November 2026.
- Government of Alberta, Personal income tax, 2026 Alberta brackets from 8 to 15 percent. Checked 13 November 2026.
Australia, tax year 2026-27. Next review by 1 July 2027.
- Treasury Laws Amendment (More Cost of Living Relief) Act 2025, Schedule 7 of the Income Tax Rates Act 1986, resident rates for 2026-27: nil to 18,200 dollars, 15 percent to 45,000, 30 percent to 135,000, 37 percent to 190,000, 45 percent above. Checked 13 November 2026.
- Income Tax Assessment Act 1997, sections 115-25 and 115-100, assets held at least 12 months; 50 percent discount for individuals. Checked 13 November 2026.
- Medicare Levy Act 1986, section 6, levy of 2 percent of taxable income. Checked 13 November 2026.
Singapore, tax year 2026. Next review by 13 November 2027.
- Inland Revenue Authority of Singapore, Gains from sale of property, shares and financial instruments, gains from selling shares and financial instruments are generally not taxable; trading activity can be taxed. Checked 13 November 2026.
United Arab Emirates, tax year 2026. Next review by 13 November 2027.
- UAE Ministry of Finance, Corporate Tax, individuals are in scope only when they conduct a business or business activity in the UAE. Checked 13 November 2026.
- UAE Cabinet Decision No. 49 of 2023, personal investment by a natural person is excluded from business activity for corporate tax. Checked 13 November 2026.