Below you can see the front-view size comparison of the Sony a5000 and Sony NEX-3. The Sony NEX-3 is 1 mm shorter and 3 mm thinner than the Sony a5000 but it is also 7 mm wider.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.