Nikon Z6 II has a
24.0MP Full frame (35.9 x 23.9 mm ) sized BSI-CMOS sensor and features Dual Expeed 6 processor. On the other hand, Nikon D6 has a
21.0MP Full frame (35.9 x 23.9 mm ) sized CMOS sensor and features Expeed 6 processor.
Below you can see the Z6 Mark II and D6 sensor size comparison.
Sensor Size and Resolution Comparison image of Nikon Z6 II and Nikon D6 Cameras
Nikon Z6 II and Nikon D6 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 Nikon D6 has 17% larger pixel area (41.51µm 2 vs 35.25µm 2 ) compared to Nikon Z6 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
Nikon Z6 II
or the
Nikon D6 ,
including hyperfocal distance.