How capital gains tax is worked out
Australia has no separate capital gains tax rate. When you sell an asset for more than it cost you, the gain (after losses and any discount) is added to your taxable income for the year and taxed at your ordinary rates, along with the Medicare levy. So the same gain can cost one person very little and another person close to half of it, depending on their other income.
The calculation has four steps.
Cost base = purchase price + costs of buying + capital improvements − capital works deductions claimed
The cost base is everything you paid to acquire, improve and hold the asset that has not already been deducted. Costs of buying include brokerage, stamp duty and legal fees. For a rental property, any Division 43 capital works deductions you claimed are taken off the cost base, which makes the gain larger.
Capital gain = (sale price − costs of selling) − cost base
If the result is negative you have made a capital loss. A capital loss cannot be deducted from your salary or other income. It can only reduce capital gains, and any amount you cannot use carries forward to later years.
Net capital gain = (capital gain − capital losses) × (1 − discount)
Capital losses are subtracted first, and only then is the discount applied. The discount is 50% for an Australian resident individual who held the asset for at least 12 months, and 0% otherwise.
Extra tax = tax(other taxable income + net capital gain) − tax(other taxable income)
Here tax means income tax at the resident rates for the year, less the low income tax offset, plus the Medicare levy. Working it out as a difference captures any bracket the gain pushes you into, and any offset it takes away.
The 12-month rule
The ATO counts the 12 months without the day you acquired the asset and without the day of the sale (the CGT event). In practice, if you bought on 1 July 2025, the earliest sale date that qualifies for the discount is 2 July 2026. A sale on 1 July 2026 is one day short and gets no discount. For shares and property the dates that count are normally the contract dates, not the settlement dates, so check your contract notes before relying on a date close to the line.
Worked example: selling an investment property
An Australian resident with $90,000 of other taxable income in 2026–27 sells an investment property held for six years. They have $10,000 of capital losses carried forward from an earlier share sale.
- Cost base. Purchase price $600,000 plus stamp duty and legal fees of $26,000 plus a $14,000 kitchen renovation = $640,000. (In this example no capital works deductions were claimed; if they had been, they would come off this figure.)
- Capital gain. Sale price $800,000 minus $20,000 agent’s commission and marketing = $780,000. $780,000 − $640,000 = $140,000.
- Losses. $140,000 − $10,000 = $130,000.
- Discount. Held more than 12 months, so 50% × $130,000 = $65,000 comes off. The net capital gain is $65,000.
- Tax without the sale. On $90,000: income tax $4,020 + 30% × $45,000 = $17,520, plus Medicare levy $1,800 = $19,320.
- Tax with the sale. On $155,000: income tax $31,020 + 37% × $20,000 = $38,420, plus Medicare levy $3,100 = $41,520.
- Extra tax. $41,520 − $19,320 = $22,200, which is 15.9% of the $140,000 capital gain.
Had the same property been sold within 12 months, there would be no discount. The net capital gain would be $130,000, taxable income $220,000, and the extra tax $49,950, more than twice as much.
Common mistakes and how to read the result
- Leaving out costs. Stamp duty, legal fees and selling costs are easy to forget, and every dollar left out is a dollar of gain taxed.
- Counting deducted costs twice. Interest, rates and repairs you claimed against rent cannot also go into the cost base.
- Reading the effective rate as a tax rate. The effective rate is the extra tax divided by the full capital gain. It is useful for comparing outcomes, but the tax itself is charged at your marginal rate on the net capital gain.
- Timing. The gain is taxed in the year of the contract date. Moving a sale into a year with lower other income, or past the 12-month mark, can change the result a lot. This calculator shows the numbers; it does not suggest when to sell.
Your home and the main residence exemption
A home you have lived in as your main residence for the whole time you owned it is generally exempt from CGT. This calculator does not model the exemption. Partial exemptions, which arise when a home was rented out, used to earn income, or was not your main residence for the whole period, need an apportionment that depends on dates and choices this page does not ask for. If the property you are selling was ever your home, see the ATO guidance before using these figures.
Foreign residents
Foreign residents are taxed at foreign resident rates, pay no Medicare levy and, for assets acquired after 8 May 2012, generally get no CGT discount for the time they were not Australian residents. Foreign residents are usually taxed only on gains from taxable Australian property, such as Australian real estate, so a sale of listed shares may not be taxed in Australia at all. Choosing “Foreign resident” here applies foreign rates with no discount; it does not apportion a discount for periods of Australian residency, and it does not cover temporary residents.
What this calculator leaves out
- the main residence exemption, full or partial
- assets acquired before 20 September 1985, which are generally exempt
- the small business CGT concessions, collectables and personal use assets
- the indexation method for assets acquired before 21 September 1999
- the Medicare levy surcharge, study loan repayments and tax offsets other than the low income tax offset
- companies, trusts and super funds, which have different discount rules
Changes passed by Parliament in 2026 replace the 50% discount with cost base indexation and a 30% minimum tax for gains that accrue from 1 July 2027. Sales covered by this calculator happen before that date, so the current rules apply. A sale dated 1 July 2027 or later is outside its scope.
For 2026–27, the ATO had not published Medicare levy low-income thresholds or foreign resident tables when this page was updated, so the 2025–26 figures are carried forward for those items. Tax rates are listed on the income tax calculator.
Sources
- ATO: CGT discount (12-month rule and 50% rate for individuals; current rules for 2025–26 and 2026–27)
- ATO: How to calculate your CGT (losses applied before the discount)
- ATO: CGT discount for foreign residents (assets acquired after 8 May 2012)
- ATO: CGT when selling your rental property (cost base and capital works)
- ATO: Tax rates – Australian resident (2025–26 and 2026–27)
- Treasury: Capital gains tax and negative gearing (changes from 1 July 2027)