Deductions & credits

and by the way, if your gain is less than $250,000 (single) or $500,000 (joint), before tracking down all the improvements since your purchased the home, there is no capital gains tax to pay in any event.