Below you can see the front-view size comparison of the Pentax K-1 and Nikon D500. The Pentax K-1 is 10 mm narrower and 5 mm shorter than the Nikon D500 but it is also 5 mm thicker.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.