Basis is the price an investor pays for a security plus any out-of-pocket expenses. It is used to determine capital gains or losses for tax purposes when the stock is sold. Also, for a futures contract, the difference between the cash price and the futures price observed in the market.