Deductions & credits

assuming you're are filing as single do you have taxable income of over $400,000? that's about what it takes to have the gain taxed at 20%. your actual tax on the gain could actually be 0%  if taxable income is under $40,000.