Markets ended the day flat on Tuesday. The BSE Sensex ended at 37,973.22, down 8.41 points or 0.02%. The Nifty ended at 11,222.40, down 5.15 points or 0.05%.