If you have held the stocks longer than a year, then there is no tax apart from the STT that is already deducted when you sell the shares. If you have held the stock for less than a year, you would have to pay short term capital gains at the rate of 20% on the profit.