Below you can see the front-view size comparison of the Ricoh WG-50 and Panasonic ZS50. The Ricoh WG-50 is 3 mm shorter and 4 mm thinner than the Panasonic ZS50 but it is also 12 mm wider.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.