Add to Chrome
DocsMeasure distances

Measure distances

Read the size of any element and the exact gap between two elements, in pixels, with rulers and a crosshair along the edges of the page.

Where to click
Press Alt + M. Rulers appear along the top and left.

Steps

  1. Press Alt+M. If the toolkit is already on, press M or click Measurement in the dock.
  2. Hover any element to read its width and height.
  3. Click the first element to select it.
  4. Hover a second element. Lines and labels show the distance between them on each side, in pixels.
  5. Click the selected element again, or press Space, to clear the selection.

Rulers and crosshair

In measurement mode, pixel rulers run along the top and the left edge of the page, and a crosshair follows your cursor. Use them to read a position or to check that two elements line up.

Measuring on other screen sizes

Measurement also works inside each screen of Responsive mode, and every screen gets its own rulers, so you can check the phone layout without resizing your window.

Tips

  • Measure three or four gaps to find the spacing scale a site uses, for example 8, 16, 24 and 48.
  • All values are CSS pixels, the same units as your CSS and your Figma frames.

Last updated · Something wrong or missing? Tell us.