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