Deductions & credits

You need to step up the basis to the Fair Market Value on date of death.  Only the increase in FMV between date of passing and date of sale is subject to capital gains.   This could be nil if the property were sold right away.