The BSE Sensex ended at 40,869.47, up by 192.84 points or 0.47 per cent, after trading in a range of 40,727.37 and 41,230.14. There were 21 stocks advancing against 9 stocks declining on the index. The broader indices ended in green; the BSE Mid cap index rose 0.69 per cent while Small cap index was up by 1.04 per cent.