Below you can see the front-view size comparison of the Sony RX100 IV and Olympus PEN-F. The Sony RX100 IV is 23 mm narrower and 14 mm shorter than the Olympus PEN-F but it is also 4 mm thicker.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.