Size and weight is a big decision factor when you are trying to find the ideal camera for your needs.
In this section, We are going to illustrate Nikon L31 and Panasonic GM5 side-by-side from the front, back and top in their relative dimensions. Nikon L31 has external dimensions of 96 x 59 x 29 mm (3.78 x 2.32 x 1.14″) and weighs 160 g (0.35 lb / 5.64 oz) (including batteries). Panasonic GM5 has external dimensions of 99 x 60 x 36 mm (3.9 x 2.36 x 1.42″) and weighs 211 g (0.47 lb / 7.44 oz) (including batteries).
Below you can see the front view size comparison of Nikon L31 and Panasonic GM5. Nikon L31 is clearly the smaller of the two cameras. Its body is 3mm narrower, 1mm shorter and 7mm thinner than Panasonic GM5. As you can tell, actually this is not a fair size comparison since Nikon L31 has a built-in lens but Panasonic GM5 doesn't. Once you put a lens on GM5, its thickness will increase significantly.
Here is the back view size comparison of Nikon L31 and Panasonic GM5.
Now lets look at the top view comparison of Nikon L31 and Panasonic GM5.
Weight is another important factor especially when deciding on a camera that you want to carry with you all day.
Nikon L31 is significantly lighter (51g ) than the Panasonic GM5 which may become a big advantage especially on long walking trips.
Again, this comparison may not be very useful in real life as we are comparing the weight of a camera with a built-in lens to the body-only weight of an interchangeable lens camera. Once you put a lens on GM5, the total kit will weigh much higher.
Unfortunately neither Nikon Coolpix L31 nor Panasonic Lumix DMC-GM5 provides any type of weather sealing in their body, so you have to give extra care especially when you are shooting outdoors. If weather sealing is a must-have feature for you, check these sections: Top Compact Cameras with Weather Sealing Top Mirrorless Cameras with Weather Sealing
LCD Screen Size and Features
Panasonic GM5's 3" LCD screen is slightly larger than Nikon L31's 2.7" screen.
Unfortunately, both cameras has fixed screens so they don't tilt or flip in directions.