Capital gains tax calculator — 50% discount, main residence, 6-year rule

50% discount, main residence exemption, 6-year absence rule, depreciation recapture, partner split. Every ITAA 1997 section cited.