Get your taxes done using TurboTax

since you did not own and occupy the home for 2 out of 5 years ending on the date of sale, you do not get the full exclusion.  however, it seems that the principal reason for the sale is a change in place of employment. in such a case the IRS allows a partial exclusion the fraction of which is the number of months owned and occupied out of 24 or the same formula using the number of days owned and occupied out of 730. thus based on the dates you provide you should e entitled to about 80%+/- of the full exclusion. for a single taxpayer, this would be about $200,000 so none of your gain should be taxable.