Deductions & credits

if you bought it, it's what you paid + the cost of improvements. if you inherited it, then its the Fair Market value on the date of death of the last owner (assuming you had no ownership interest at the time) + the cost of any improvements you made after inheriting it.