Gift tax on transfer of real property

To figure out the basis of property received as a gift, you must know three amounts:

If the FMV of the property at the time the donor made the gift is less than the donor's adjusted basis, your adjusted basis depends on whether you have a gain or loss when you dispose of the property.

If the FMV of the property at the time the donor made the gift is equal to or greater than the donor's adjusted basis, your adjusted basis is the donor's adjusted basis just before the donor made the gift, increased or decreased by any required adjustments to basis while you held the property.