Workers’ compensation premiums are deductible by a self-employed individual. There is no dollar limit or other restriction on this write-off.
On a sale of a principal residence, you may avoid tax under the rules.