Usually exempt for primary residence if lived in 2+ years
Major improvements increasing basis (e.g., additions, new roof)