Source: https://www.hrblock.com/tax-center/income/real-estate/capital-gains-and-rental-property-sales/