Below you can see the front-view size comparison of the Pentax K-S2 and Olympus PEN-F. The Olympus PEN-F is 19 mm shorter and 36 mm thinner than the Pentax K-S2 but it is also 2 mm wider.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.