It’s time to look at a calendar to see whether you meet the time test for the home sale exclusion. You must have owned and used the home as your principal residence for at least two of the five years preceding the date of sale. This is not based on a calendar year; you can count up days.
Obviously, you owned the home for the requisite period, but you have to see whether you also used it as your primary home for at least two years. If another residence is your primary home and you spent time in the one you sold, those days don’t count; only the days it was used as a principal residence are taken into account.
Real property in which 80% or more of the gross income is from dwelling units. Under MACRS, depreciation is claimed over 27.5 years under the straight-line method.