The basis of the property you inherit is generally the fair market value of the property on the date of the decedent’s death.
You may be able to increase the basis of the property you inherit by adding certain expenses, such as the cost of probate and estate administration, to the fair market value of the property.
You can find more information about determining the basis of property you inherit in Publication 551, Basis of Assets.