Is the gains tax on the sale of a home pro-rated? We are thinking about selling our house 2-3 months before our two year mark. We bought at $215k and might sell at $290k.