Deductions & credits

Thank you for all the replies. We plan on not having the closing date until a week after it's been 2 years as our primary residence. Based on the information everyone provided, that should keep us from having to pay the capital gains tax.