Hal_Al
Level 15

Deductions & credits

Simple answer: you pay 15% long term capital gains rate, assuming owned  the home at least one year.

Depending on your total income, some of the gain may be taxed a 0%. 

You can use this tool to do an estimate.   https://turbotax.intuit.com/tax-tools/calculators/taxcaster/?s=1. Enter your regular income first to see the regular tax. Then add the sale to see the effect.
Enter the difference between the sale price and what you paid for it originally as a long term capital gain (LTCG). Depending on how much total income you have LTCG are partially taxed at 0%, 15%, 20% and/or 23.8%. 

 

There is a partial exception to the two year rule if your move was due to an employment relocation or other "unforeseen circumstances". Other than that, there is no way to avoid the tax.