Deductions & credits

Only the profit is taxable as long term capital gains ...  you need to know the fair market value as of the date of the inheritance for the Sch D.