Below you can see the front-view size comparison of the Nikon P900 and Panasonic FZ300. The Panasonic FZ300 is clearly the smaller of the two cameras. Its body is 8 mm narrower, 11 mm shorter and 20 mm thinner than the Nikon P900.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.