since you owned the property and lived in it for 2 out of 5 years before the date of sale, you qualify for the $250,000 gain on sale of home exclusion. however, you will have to pay tax on the depreciation you took while a rental property. if you didn't take depreciation see a tax pro because the law requires you to pay tax on the depreciation you should have taken.