Below you can see the front-view size comparison of the Sony A7 III and Canon RP. The Canon RP is 11 mm shorter and 4 mm thinner than the Sony A7 III but it is also 6 mm wider.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.