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