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