Below you can see the front-view size comparison of the Nikon D5300 and Nikon D5200. The Nikon D5300 is 4 mm narrower and 2 mm thinner than the Nikon D5300 but they have the same height of 98 mm.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.