Sorry, if you wanted to change editor prefences for viewport
From top menu,
Edit → Editor Preferences
After that, Level Editor → Viewports → Measuring Tool Units
I hope that helps!
Note: Default is cm. The scalability on the bottom one is how far from view of orthographic projection.
