I sold stock this year (2016) and am not sure I figured out the tax correctly.

the stock was inherited and not sure how to year of valuation