Below you can see the front-view size comparison of the Fujifilm XP120 and Nikon W300. The Fujifilm XP120 is 2 mm narrower and 1 mm thinner than the Nikon W300 but it is also 5 mm taller.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.