The IRS has a provision for the sale of your Primary Home. If you have lived in the home at least 2 of the past 5 years, you can exempt up to $250,000 for Single Taxpayers or $500,000 for MFJ. Net Profit above those thresholds are subject to Capital Gains Tax. However, if you are subject to Capital Gains, you can avoid them by reinvesting the proceeds within 180 days. This is know as a Temporary Tax Deferral.
IRS Topic 701 should answer any other questions you may have regarding the sale of your personal residence:
https://www.irs.gov/taxtopics/tc701
If you find this answer helpful, give me a thumbs UP!!!