Below you can see the front view size comparison of Canon M50 and Sony A6400. Canon M50 is 4mm narrower and 1mm thinner than Sony A6400 but it is also 21mm taller.
Canon M50 vs Sony A6400 - Front View
Canon M50 vs Sony A6400 - Top View
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.
Camera Size Comparison
Select Two Cameras for Size Comparison