Below you can see the front-view size comparison of the Nikon D3000 and Nikon D3100. The Nikon D3100 is 2 mm narrower and 1 mm shorter than the Nikon D3000 but it is also 11 mm thicker.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.