If you inherited it, except from a spouse, the basis would be the value at the time of inheritance. However, if it’s not your primary residence, you might not get the capital gains shelter from turning it over into another house.
Turbo-Tax probably has a calculator that will figure it out for you.
It was the booby prize in a divorce.