Below you can see the front-view size comparison of the Sony HX400V and Sony RX10 IV. The Sony HX400V is clearly the smaller of the two cameras. Its body is 3mm narrower, 1 mm shorter and 42 mm thinner than the Sony RX10 IV.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.