Deductions & credits

For a primary home, if you owned and lived in your house for 2 out of the last 5 years on the date of sale when you sell you can exclude the gain up to $250,000 for single or 500,000 for married from tax.