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