If you sell your home, you might be able to pocket up to a half million dollars in gain from the sale without owing any federal income tax. How? By claiming the home sale gain exclusion. But various rules and limits apply, so it’s important to understand the ins and outs of this tax break.