MAGI from a sale in a taxable account

If you sell a stock that has increased in value in a taxable account, how much is include in MAGI, capital gains and basis?