Investors & landlords

All $600K ... the outstanding mortgage is immaterial ...  read the rules :  https://www.irs.gov/pub/irs-news/fs-08-18.pdf