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 Panasonic FX48 and Nikon D5100 side-by-side from the front, back and top in their relative dimensions. Panasonic FX48 has external dimensions of 95 x 53 x 22 mm (3.74 x 2.09 x 0.87″) and weighs 150 g (0.33 lb / 5.29 oz) (including batteries). Nikon D5100 has external dimensions of 128 x 97 x 79 mm (5.04 x 3.82 x 3.11″) and weighs 560 g (1.23 lb / 19.75 oz) (including batteries).
Below you can see the front view size comparison of Panasonic FX48 and Nikon D5100. Panasonic FX48 is clearly the smaller of the two cameras. Its body is 33mm narrower, 44mm shorter and 57mm thinner than Nikon D5100. As you can tell, actually this is not a fair size comparison since Panasonic FX48 has a built-in lens but Nikon D5100 doesn't. Once you put a lens on D5100, its thickness will increase significantly.
Here is the back view size comparison of Panasonic FX48 and Nikon D5100.
Weight is another important factor especially when deciding on a camera that you want to carry with you all day.
Panasonic FX48 is significantly lighter (410g ) than the Nikon D5100 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 D5100, the total kit will weigh much higher.
Unfortunately neither Panasonic Lumix DMC-FX48 (Lumix DMC-FX40) nor Nikon D5100 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 DSLR Cameras with Weather Sealing
LCD Screen Size and Features
Nikon D5100's 3" LCD screen is slightly larger than Panasonic FX48's 2.5" screen.
Moreover, Nikon D5100 sports a Fully Articulated screen
which you can change the angle and position of the screen almost freely, making it possible to shoot from waist or over the head levels, and especially very useful for shooting selfies and video. On the other hand, Panasonic FX48 has a fixed type screen which provides almost no flexibility in shooting positions compared to D5100.