The ruler is an interactive tool where you can drag lines in the scene to measure distances or angles.
Optionally snapping to geometry could be activated for better accuracy or to measure wall thickness.
The ruler can be accessed from the Toolbar.