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.

Main Residence CGT Exemption Calculator (Australia)
A$
A$
A$
Advanced options
A$
A$
Capital gains tax payable —
Gross capital gain —
Exempt under the main residence exemption —
Exempt share of the ownership period —
Exempt days —
Taxable days —
Absence days covered by the rule —
Absence days beyond the cap —
Assessable gain before losses —
Capital losses applied —
CGT discount —
Gain added to taxable income —
Gain kept after tax —
Tax as a share of the gross gain —

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.

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.

ParameterValueSourceLast updated
Maximum absence period the main residence CGT exemption can continue when the home is used to produce income (6-year rule)6ato.gov.auEffective 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 months0.5ato.gov.auEffective 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 scheduleato.gov.auEffective 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 rate0.02ato.gov.auEffective 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 threshold28,011ato.gov.auEffective 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 maximum700ato.gov.auEffective 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 start37,500ato.gov.auEffective 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 start45,000ato.gov.auEffective 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 end66,667ato.gov.auEffective 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 10.05ato.gov.auEffective 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 20.015ato.gov.auEffective 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.1ato.gov.auEffective 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

Frequently asked questions

What is the main residence exemption?
It is the rule that keeps the capital gain on your home out of your tax return. Where a dwelling was your main residence for the whole time you owned it, was used for private purposes and sits on land of two hectares or less, the gain is fully disregarded. The exemption is not automatic in every case: it is only full where those conditions held for the entire ownership period, and this calculator exists for the very common case where they did not.
How does the six-year absence rule work?
If you move out of a home that was genuinely your main residence, you can choose to keep treating it as your main residence while you are away. If the property produces income while you are absent, that choice lasts up to six years at a time; if it produces no income, the choice can last indefinitely. Returning to live in the home resets the six-year clock, so a pattern of moving out and back can stretch the exemption over a much longer period.
Can I claim the exemption on two homes at once?
Generally no. You can only treat one dwelling as your main residence at any moment, so choosing to keep the absence exemption on a former home means the new home you are living in is exposed to CGT for the same period. There is a limited overlap of up to six months when you are moving between homes and selling the old one. That trade-off is usually the deciding factor in whether the absence choice is worth making.
How is the partial exemption actually calculated?
By days, not by value. The ATO apportions the gross gain across the ownership period: gain multiplied by the number of days the dwelling was not your main residence, divided by the total number of days you owned it. It does not matter whether the property rose faster during the rental years or the resident years, unless the special market-value rule below applies.
What is the home first used to produce income rule?
If a dwelling was your main residence first and you later start renting it out, you are generally treated as having acquired it at its market value on the day it first produced income. That resets the cost base and can dramatically reduce the gain. If it applies to you, enter that market value as the cost base and count the ownership period from that date rather than from your original purchase.
Is my data private?
Yes. The calculation runs entirely in your browser, so nothing you enter is uploaded, stored, or shared.
Do I need to keep records to support the exemption?
Yes. Keep settlement statements, occupancy evidence and records of any period the property was rented out, since the ATO can ask you to substantiate the dates and the proportion of the exemption you claim.
Does renting out a room affect the exemption?
Renting out part of your home while you still live there can create a partial loss of the exemption for that portion of the property and period, which is different from renting out the whole home while you are absent.

About the author

Taha Kheirandish

Written and reviewed by

Taha Kheirandish

Economics student and independent researcher

Taha Kheirandish reads tax codes the way other people read maps — to find out where a system actually leads, not where it claims to go.

He is an economics student, and his work here is comparative by design. A pension deferral bonus in Quebec, a commuting allowance in Germany, a rent-increase ceiling in the Netherlands: each is a decision a government made about how money should move, and each reads differently once you set it beside eight others. He builds and checks these calculators across nine markets from primary sources — the regulation rather than a summary of it, the ministry’s own circular rather than a news item quoting it.

That is the editorial standard of the site as well as his habit. Every rate, threshold and bracket here carries the document it was read from and the date it takes effect, and gets re-checked when the law moves rather than when someone happens to notice.

He is a researcher, not a licensed adviser, and nothing on this site is personal financial advice. It is arithmetic done carefully with its sources shown — so that you can check it, and take it to someone who is.

Leave a Reply

Your email address will not be published. Required fields are marked *