How is cost basis calculated on an inherited asset?

How is cost basis calculated on an inherited asset?

This key calculation for stocks, property, and other inherited assets will drive the tax you may pay in states that still have inheritance taxes.