Below you can see the front-view size comparison of the Nikon D7100 and Nikon D5300. The Nikon D5300 is 11 mm narrower and 9 mm shorter than the Nikon D7100 but they have the same thickness of 76 mm.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.