Investors & landlords

it won't be zero because you took depreciation on the rental and that part of the gain is taxble