Troy (single) purchased a home in Hopkinton, Massachusetts, on January 1, 2007, for $290,000. He sold the home on January 1, 2023, for $312,700. How much gain must Troy recognize on his home sale in each of the following alternative situations?
Note: Leave no answer blank. Enter zero if applicable.
d. Troy rented out the home from January 1, 2007, through December 31, 2018. He lived in the home as his principal residence from January 1, 2019, through December 31, 2019. He rented out the home from January 1, 2020, through December 31, 2020, and lived in the home as his principal residence from January 1, 2021, through the date of the sale. Assume accumulated depreciation on the home at the time of sale was $0.
Note: Do not round intermediate calculations. Round your final answer to the nearest whole dollar amount.