If the gain is substantial, and assuming that at least some portion of it does not qualify for the homeowner's capital gain exemption (i.e., the house was not your principal residence for at least 2...