The gain from the sale or other disposition of property shall be the excess of the amount realized therefrom over the adjusted basis provided in section
1011 for determining gain, and the loss shall be the excess of the adjusted basis provided in such section for determining loss over the amount realized.