Deductions & credits

So your starting "Basis" (similar to cost) is the Fair Market Value on the Date of Death.  The cost of any improvements is also added to the Basis.

If the property was used as a rental (or a business), depreciation will lower your Basis, creating a larger taxable gain.