Nifty 50 comprises the top 50 stocks from the top 50 companies in the index in terms of market cap. On the other hand, Sensex comprises the top 30 stocks. The base index value of Nifty is 1000 whereas that of Sensex is 100.