Tools

Capital gains tax calculator

Estimate the tax on a share sale in the 2026–27 income year. Enter what you paid and received, your other income and any capital losses, and see the gain, the discount and the extra tax it adds, step by step.

Your sale

Estimated tax on this sale$636.80about 16% of your gain
Cost base (price plus costs)$10,020.00
Capital gain$3,980.00
Less the 50% CGT discount−$1,990.00
Net capital gain added to your income$1,990.00
Taxed at up to 30%, plus the 2% Medicare levy

For an Australian resident individual, at the ATO's resident rates. It leaves out the Medicare levy's low-income reduction and surcharge, other offsets and every other concession. An estimate, not tax advice.

How capital gains tax works on shares

Capital gains tax is not a separate tax. When you sell shares for more than they cost you, the gain, after any capital losses and the discount, becomes a net capital gain that is added to your taxable income for the year and taxed at your marginal rate, with the Medicare levy on top.

capital gain = sale price − (purchase price + costs to buy and sell)

Brokerage on both the purchase and the sale counts as part of the shares' cost, so it reduces the gain.

A worked example

Shares bought on 1 August 2025 for $10,000 plus $10 brokerage and sold on 15 October 2026 for $14,000, less $10 brokerage, make a capital gain of $3,980.00. They were owned for more than 12 months, so the 50% discount halves that to a net capital gain of $1,990.00.

On top of $90,000 of other income, that is taxed at 30% plus the 2% Medicare levy: about $636.80, or 16% of the gain. Sold after only a year, the same shares would get no discount and cost $1,273.60.

The CGT discount, and what changes in July 2027

An Australian resident who owned shares for at least 12 months, not counting the day bought or the day sold, can reduce the gain by 50%. Both days are the trade dates on your contract notes, not the settlement dates. The ATO's CGT discount page sets out the conditions.

That is changing. The Treasury Laws Amendment (Tax Reform No. 1) Act 2026 replaces the discount for resident individuals, trusts and partnerships with cost base indexation on gains that accrue from 1 July 2027, and adds a minimum 30% tax for individuals on certain net capital gains. Shares held across that date keep the current treatment on the gain made before it. Sales in 2026–27 are not affected, which is why this calculator stops at 30 June 2027. The ATO's summary of the reform is the place to follow it.

Resident tax rates for 2026–27

The ATO's resident rates, which the calculator uses. They exclude the 2% Medicare levy.
Taxable income Tax on this income
$0 – $18,200 Nil
$18,201 – $45,000 15c for each $1 over $18,200
$45,001 – $135,000 $4,020 plus 30c for each $1 over $45,000
$135,001 – $190,000 $31,020 plus 37c for each $1 over $135,000
$190,001 and over $51,370 plus 45c for each $1 over $190,000

Source: the ATO's resident tax rates.

Capital losses

A capital loss can only reduce capital gains. It cannot come off your salary or other income, and any loss you cannot use this year carries forward to reduce gains in later years. Losses come off the gain before the discount is applied, which the calculator does in that order.

What the calculator leaves out

  • Foreign and temporary residents, who generally pay CGT only on taxable Australian property, which an ordinary share holding usually is not.
  • Companies, trusts and super funds, which have their own rates and discount rules.
  • The Medicare levy's low-income reduction, the Medicare levy surcharge and tax offsets.
  • Several purchases of the same shares, where which parcel you sold changes the cost base.
  • Dividends, franking credits and foreign tax, which are taxed separately from the gain.

For the bigger picture, read our guide to trading and investing tax in Australia, and keep the contract notes and statements from every trade.

This calculator is provided for education. It estimates tax for an Australian resident individual at the ATO's 2026–27 rates and leaves out the situations listed above. Your actual tax depends on your whole return. It is not tax advice: check the ATO's guidance or ask a registered tax agent.

Rory Hughes

Rory Hughes

Lead broker reviewer

Rory Hughes has been Chief Operating Officer of Business24-7, a UAE broker comparison site, since 2023. He researches, tests and writes ShareTradingPlatforms.au's broker reviews and comparison guides, focusing on total cost of trading and which entity actually onboards the client.

Written by
Fact-checked by
Last reviewed15 January 2026

Our methodology · How we make money · Why trust us