Main Residence CGT Exemption Calculator (Australia)
Work out how much of your home sale gain the main residence exemption shields from CGT, how many six-year absence days you have left, and the tax on the rest.

What it does
The Main Residence CGT Exemption Calculator works out how much of the gain on an Australian home is exempt from capital gains tax when the property was not your main residence for the whole time you owned it, and what tax is payable on the part that is not exempt.
Data sources & parameters
The figures below drive this calculator. We keep them aligned with the latest official guidance, and each result recalculates automatically whenever a value changes.
| Parameter | Value | Source | Last updated |
|---|---|---|---|
| Maximum absence period the main residence CGT exemption can continue when the home is used to produce income (6-year rule) | 6 | ato.gov.au | Effective 2026-07-01Maximum absence period the main residence CGT exemption can continue when the home is used to produce income (6-year rule) |
| CGT discount for assets held over 12 months | 0.5 | ato.gov.au | Effective 2024-07-01Confirmed for FY2026-27. Ends 2027-06-30 on purpose: Treasury Laws Amendment (Tax Reform No. 1) Act 2026 replaces the 50% discount with cost-base indexation + a 30% minimum tax for gains accruing after 1 Jul 2027. audit 2026-09-23 |
| Resident brackets (Stage 3) | Rate schedule | ato.gov.au | Effective 2026-07-01FY2026-27 rates (15% on $18,201-$45,000). Ends 2027-06-30: the scheduled 2027-07-01 row (14%) takes over. audit 2026-09-23 |
| Medicare levy rate | 0.02 | ato.gov.au | Effective 2024-07-01Confirmed unchanged and current for FY2026-27 against the official source. Open-ended (was to 2027-06-30): statutory, not indexed, no change legislated; audit 2026-09-23 |
| Medicare levy lower threshold | 28,011 | ato.gov.au | Effective 2025-07-01Window opened: the threshold is indexed annually and there is no successor row, so closing it at 2027-06-30 would have fallen back to the undated 26,000 row |
| LITO maximum | 700 | ato.gov.au | Effective 2024-07-01Confirmed unchanged and current for FY2026-27 (ATO). Open-ended (was to 2027-06-30): statutory, not indexed, no change legislated; audit 2026-09-23 |
| LITO taper 1 start | 37,500 | ato.gov.au | Effective 2024-07-01Confirmed unchanged and current for FY2026-27 against the official source. Open-ended (was to 2027-06-30): statutory, not indexed, no change legislated; audit 2026-09-23 |
| LITO taper 2 start | 45,000 | ato.gov.au | Effective 2024-07-01Confirmed unchanged and current for FY2026-27 against the official source. Open-ended (was to 2027-06-30): statutory, not indexed, no change legislated; audit 2026-09-23 |
| LITO phase-out end | 66,667 | ato.gov.au | Effective 2024-07-01Confirmed unchanged and current for FY2026-27 against the official source. Open-ended (was to 2027-06-30): statutory, not indexed, no change legislated; audit 2026-09-23 |
| LITO taper rate 1 | 0.05 | ato.gov.au | Effective 2024-07-01Confirmed unchanged and current for FY2026-27 against the official source. Open-ended (was to 2027-06-30): statutory, not indexed, no change legislated; audit 2026-09-23 |
| LITO taper rate 2 | 0.015 | ato.gov.au | Effective 2024-07-01Confirmed unchanged and current for FY2026-27 against the official source. Open-ended (was to 2027-06-30): statutory, not indexed, no change legislated; audit 2026-09-23 |
| Medicare levy shade-in rate (low-income reduction) | 0.1 | ato.gov.au | Effective 2025-07-01Replaces the 0.10 and 0.8 literals in medicare-levy-au. Verified against the ATO worked example: taxable income $29,000 against the $28,011 threshold gives a levy of $98.90. |
We always strive to use the latest data for every variable so our results and reports are as accurate as possible. Even so, errors are possible — you should not rely on this tool or its report alone, and we accept no liability for any decision made based on it.
The formula
Gross gain = proceeds − cost base − selling costs; Assessable gain = gross gain × taxable days ÷ ownership days; Taxable gain = (assessable gain − capital losses) × (1 − CGT discount); CGT = tax on (other income + taxable gain) − tax on other income
How it works
It splits the ownership period into exempt days and taxable days. Days you lived in the home are exempt, days you were absent without renting it out are exempt, and days you were absent while renting it out are exempt for as long as the absence rule allows. The gross gain is apportioned across those days, capital losses come off the assessable part first, the CGT discount is applied if you owned the property for more than twelve months, and the remaining gain is stacked on your other income and taxed at the resident rates plus the Medicare levy.
Where it is used
- Costing the tax on selling a former home that has been rented out
- Checking how much of the six-year absence period you have used
- Comparing a sale now against a sale before the absence rule runs out
Worked example
A home bought for A$700,000.00 and sold for A$1,200,000.00 after 4,380 days of ownership produces a gross gain of …. Five years were spent living in it and seven years renting it out, so the absence rule covers … of those rental days and leaves … outside the exemption. That makes … of the period exempt, … of the gain tax free, and … payable in capital gains tax.
What the main residence exemption calculator does
The main residence exemption calculator shows how much of the gain on an Australian home escapes capital gains tax when the property was not your main residence for the whole ownership period, and prices the tax on whatever is left over. It counts your exempt days, applies the six-year absence rule to any period the home was rented out, apportions the gain, applies capital losses in the correct order, applies the CGT discount where the holding period allows it, and taxes the remainder on top of your other income at the resident rates plus the Medicare levy.
Most home sales in Australia never touch a tax return. The ones that do are almost always partial exemption cases: a first home that became an investment, a job transfer that turned into five years interstate, a couple who kept the old unit rented while paying off the new house. Those are the cases this tool is built for.
The day-count method, in full
The ATO does not care which years the growth happened in. It cares how many days the dwelling was your main residence. The formula is the gross capital gain multiplied by the days the dwelling was not your main residence, divided by the total days of ownership.
That means a property that doubled in the two years you lived there and flatlined for the eight years it was rented is still taxed on eighty per cent of the gain. Value timing is irrelevant; day counts are everything. It also means small changes to the dates matter. Counting from settlement instead of contract, or forgetting a few months of vacancy between tenants, moves the answer.
Enter the ownership period in days rather than years, because that is how the calculation is actually run and because part-years are where the errors creep in. Twelve years is 4,380 days at 365 days a year; use the real day counts from your contracts if you have them.
The six-year absence rule, and its limits
Section 118-145 lets you keep treating a former home as your main residence after you move out. Two versions apply.
If the dwelling produces income while you are away, the choice lasts a maximum of six years. That is the figure this calculator caps your rental absence days at, and it is held as a parameter rather than written into the code, so it tracks the law rather than the day the tool was built.
If the dwelling produces no income, the choice can be made indefinitely. A home left vacant, lent to family rent free, or used only by you on visits falls into this category. Enter those days separately, because they are not capped.
Three limits deserve attention. First, the dwelling must have been established as your main residence before you moved out; you cannot apply the absence rule to a property you never lived in. Second, the six years run from each departure, so moving back in and re-establishing the home resets the clock and a fresh six-year period becomes available. Third, the choice is exclusive: while you apply it to the old home, the home you actually live in is not exempt for those same days.
Losses, the discount, and the order of operations
The order the ATO applies is fixed, and getting it backwards costs money.
- work out the gross gain: proceeds less the cost base and the incidental costs of selling
- apportion it by days to find the assessable part
- reduce the assessable part by capital losses, current year first and then carried forward
- apply the CGT discount to whatever is left, if the property was owned for more than twelve months
- add the discounted amount to your other taxable income for the year
Losses come off before the discount, never after. A fifty thousand dollar loss shelters fifty thousand dollars of gain if applied first, and only twenty five thousand of value if applied after halving. The discount itself requires more than twelve months of ownership, which in practice means at least 366 days between the acquisition contract and the sale contract.
Because the taxable gain is stacked on your other income, the tax on it depends entirely on what else you earned that year. A gain of forty thousand dollars costs far less to someone on a modest salary than to someone already in the top bracket, which is why the calculator asks for your other taxable income and runs the whole amount through the brackets, the low income tax offset and the Medicare levy rather than assuming a flat rate.
Getting the cost base right
The cost base is more than the purchase price. It includes stamp duty, conveyancing, buyer's agent fees, and the capital improvements you made along the way, a new kitchen, a deck, a subdivision cost. The incidental costs of selling, principally agent commission and legal fees, are entered separately here so you can see their effect.
Two adjustments catch people out. Capital works deductions claimed while the property was rented reduce the cost base, so a decade of claiming 2.5 per cent depreciation on the building makes the eventual gain larger than the purchase and sale prices suggest. And holding costs such as interest, rates and insurance can only sit in the cost base for periods when they were not deductible, which for a rented property means they generally cannot.
If the home was your main residence first and you later rented it out, the home first used to produce income rule usually applies. You are treated as having bought it at market value on the day it first earned rent, and the day count starts from that date. Where that rule applies, enter the market value as the cost base and count ownership from that day; the partial exemption apportionment then runs over the shorter period.
Foreign residents and other traps
Since 30 June 2020 a person who is a foreign resident for tax purposes at the moment of the sale generally gets no main residence exemption at all, regardless of how many years they lived in the property. Narrow life-events exceptions exist for a short absence involving terminal illness, death, or a marriage breakdown. The consequences are severe enough that anyone selling while overseas should confirm their residency position before signing a contract, not after.
Other situations that change the answer include running a business from home, which brings an interest-deductibility apportionment into play; land over two hectares, where only the dwelling and adjacent land within the limit are covered; and inherited dwellings, which have their own two-year disposal window. This calculator handles the mainstream partial exemption case and does not model those.
Reading your result
The exempt share of the ownership period tells you how much of the gain never enters the tax system. The absence days beyond the cap tell you how much of your rental period fell outside the six-year rule, which is the single figure that most often surprises owners of long-term rentals. The taxable gain is the amount added to your income, and the tax as a share of the gross gain shows the real cost as a percentage of everything you made.
If the days beyond the cap are large, it is worth checking whether you ever moved back in during that period, because a genuine return resets the six-year clock and can pull thousands of days back inside the exemption.
This is an estimate based on the day counts and figures you enter and the current ATO parameters, not personal tax advice. Property CGT depends on contract dates, cost base adjustments, residency status and the choices you make in your return, so confirm the outcome with a registered tax agent before relying on it.
About This Tool: Main Residence Exemption
Main residence exemption: use this tool to get an instant, accurate estimate. The figures follow official ATO guidance and every rate and threshold is kept up to date for 2026. Adjust the inputs above to match your situation, or browse all our calculators to plan your next step.
Tax year 2026

