I received a response regarding paying capital gains tax on the sale and purchase of a home within nine months. My next question would be are there deductions for improvements that I made to the home that I sold to reduce the capital gains tax? Also does the cost basis come into consideration or is it a completely different aspect of paying taxes?