Below you can see the front-view size comparison of the Ricoh WG-50 and Pentax Q-S1. The Pentax Q-S1 is 18 mm narrower and 4 mm shorter than the Ricoh WG-50 but it is also 4 mm thicker.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.