Deductions & credits

The net after mortgage satisfaction is immaterial.   In the program you enter the value of the property as of the date of death + the cost of sale - the sales price = profit or loss to claim... it is just that simple.