Out of state rental property

how do I determine the basis when calculating capital gains tax?