The costs of selling the property is deductible from the amount realized. Then you would subtract the basis of the property, which would be a step-up in basis to fair market value as of the date of death. Any gain or loss on the sale would be reportable on the estate's Form 1041 income tax return.