It is a gift if they outright transferred the property to you with no exchange.
What is the basis of property received as a gift?
To figure out the basis of property
you receive as a gift, you must know three amounts:
If the FMV of the property at the time of 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.
Note: If you use the donor's adjusted basis for figuring a gain and get a loss, and then use the FMV for figuring a loss and get a gain, you have neither a gain nor loss on the sale or disposition of the property.
If the FMV is equal to or greater than the donor's adjusted basis, your basis is the donor's adjusted basis at the time you received the gift. If you received a gift after 1976, increase your basis by the part of the gift tax paid on it that is due to the net increase in value of the gift. To figure out the net increase in value or for other information on gifts received before 1977, see Publication 551, Basis of Assets. Also, for figuring gain or loss, you must increase or decrease your basis by any required adjustments to basis while you held the property
It is a gift if they outright transferred the property to you with no exchange.
What is the basis of property received as a gift?
To figure out the basis of property
you receive as a gift, you must know three amounts:
If the FMV of the property at the time of 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.
Note: If you use the donor's adjusted basis for figuring a gain and get a loss, and then use the FMV for figuring a loss and get a gain, you have neither a gain nor loss on the sale or disposition of the property.
If the FMV is equal to or greater than the donor's adjusted basis, your basis is the donor's adjusted basis at the time you received the gift. If you received a gift after 1976, increase your basis by the part of the gift tax paid on it that is due to the net increase in value of the gift. To figure out the net increase in value or for other information on gifts received before 1977, see Publication 551, Basis of Assets. Also, for figuring gain or loss, you must increase or decrease your basis by any required adjustments to basis while you held the property