STOCK COST BASIS CALCULATORS You are going to need to know it when you sell an asset. The taxable capital gain will be the difference between the selling price and your cost basis. The higher the cost basis, the less capital gains tax you will have to pay. See how stock spin offs, mergers, splits, split-offs, rights, or return of capital affect your cost basis. These calculators make it easy!