Both Panasonic GX8 and Olympus PEN-F have Four Thirds sized 20.0 MP resolution sensors so sensor size and resolution is not a differentiator between these two cameras.
Below you can see the GX8 and PEN-F sensor size comparison.
Sensor Size and Resolution Comparison image of Panasonic GX8 and Olympus PEN-F Cameras
Panasonic GX8 and Olympus PEN-F have the same sensor sizes so they will provide same level of control over the depth of field when used with same focal length and aperture.
DxOMark Sensor Scores
Both Panasonic GX8 and Olympus PEN-F sensors have been tested by DxoMark. DxoMark scores camera sensors for color depth (DXO Portrait), dynamic range (DXO Landscape) and low-light sensitivity (DXO Sports), and also gives them an overall score. Of the two cameras that we are comparing, GX8 has scored 75, 1 points higher than PEN-F.
Model
Overall
Color Depth
Dynamic Range
Low-light ISO
Panasonic GX8
75
23.5 bits
12.6 Evs
806 ISO
Olympus PEN-F
74
23.1 bits
12.4 Evs
894 ISO
Sensor size sets the circle of confusion, so it drives how much depth of field each
of these bodies gives you at a given aperture. You can calculate it exactly for the
Panasonic GX8
or the
Olympus PEN-F ,
including hyperfocal distance.