Below you can see the front-view size comparison of the Olympus E-PL6 and Nikon D5100. The Olympus E-PL6 is clearly the smaller of the two cameras. Its body is 17mm narrower, 33 mm shorter and 41 mm thinner than the Nikon D5100.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.