Below you can see the front-view size comparison of the Panasonic FZ2500 and Sony RX10 IV. The Sony RX10 IV is 5 mm narrower and 8 mm shorter than the Panasonic FZ2500 but it is also 10 mm thicker.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.