Below you can see the front-view size comparison of the Canon G16 and Canon M6. The Canon G16 is 3 mm narrower and 5 mm thinner than the Canon M6 but it is also 8 mm taller.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.