Below you can see the front-view size comparison of the Nikon D5600 and Pentax K-70. The Nikon D5600 is 2 mm narrower and 4 mm thinner than the Pentax K-70 but it is also 4 mm taller.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.