We purchased a townhome in 2006 for $440,000. In 2017, we converted the home from personal to a rental property. At that time, the property's value had gone down to $360,000.
What can we use as the cost basis related to depreciation; $440,000 or $360,000?