Measure tool is equivalent to a ruler and can provide measurement of dimensions.
Select Measure in the toolbar, use mouse to select the start point and the end point. Distance between two points shows after measurement.
Measure can be used in 3D mode, to measue the distance between any two points in space.
Also, it can be used in 2D mode.