From rental to primary home: Uncle Sam takes his cut

Depreciation recapture costs 25%