Canon R6 II has a
24.0MP Full frame (36 x 24 mm ) sized CMOS sensor and features Digic X processor. On the other hand, Canon 5D MII has a
21.0MP Full frame (36 x 24 mm ) sized CMOS sensor and features Digic 4 processor.
Below you can see the R6 II and 5D MII sensor size comparison.
Sensor Size and Resolution Comparison image of Canon R6 II and Canon 5D MII Cameras
Canon R6 II and Canon 5D MII 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. On the other hand, since Canon 5D MII has 14% larger pixel area (41.08µm 2 vs 36.00µm 2 ) compared to Canon R6 II, it has larger pixel area to collect light hence potential to have less noise in low light / High ISO images.
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
Canon R6 II
or the
Canon 5D MII ,
including hyperfocal distance.