It depends. If you qualify for the home sale exclusion, then gain up to $250,000 ($500,000 on a joint return) is tax free; there is no capital gain. If your gain excludes your applicable exclusion amount, or if you don’t qualify for the exclusion, gain can be taxed at zero (if you are in the 10% or 15% tax bracket after including the home sale gain), 15% if you are in a tax bracket over 15% but not over 35%, and 20% if you are in the 39.6% tax bracket. What’s more, if you are a “high-income taxpayer,” gain over the exclusion amount is treated as investment income and subject to the 3.8% additional Medicare tax on net investment income.
Shifting income to a later year, such as where you defer taxable interest to the following year by purchasing a T-bill or savings certificate maturing after the end of the current year. Investments in qualified retirement plans provide tax deferral.