Below you can see the front-view size comparison of the Nikon P7800 and Sony A6300. The Sony A6300 is 11 mm shorter and 1 mm thinner than the Nikon P7800 but it is also 1 mm wider.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.