Someone on here would explain it better than me but my understanding is
Sale Price - $800k
Bought Price - 280k
Capital Gain $520k
Minus Costs eg Renovations, agent fees, solicitor fees, Stamp duty?? say $50k
Capital Gain after Costs $470k
Plus Depreciation claimed say 20k
Capital Gain...