Tool guide

How to Use Guidelines and Selection

Guidelines are for comparing positions and gaps. Selection is for measuring one rectangular area. Pick the mode that matches the question you are trying to answer, rather than using whichever button happens to be active.

Published and reviewed September 6, 2026

The short answer

Use Guidelines when you need two movable edges—for example, the gap between a heading and a button. Use Selection when you need the width and height of one box—for example, a card or an image shown on screen.

Guidelines

Best for gaps, alignment, and comparing several edges.

Selection

Best for one rectangle, with width, height, diagonal, and area.

Start with these three steps

  1. 1

    Choose the mode

    Click the ruler icon for Guidelines or the square icon for Selection. The active button has a highlighted background.

  2. 2

    Set the unit you actually need

    Use px for page layouts and UI checks. For cm, mm, or inches, calibrate the screen first; otherwise the physical value is only based on the default scale.

  3. 3

    Measure, then adjust

    Drag a guide or draw a selection. You can move either one after creating it, so there is no need to land on the exact edge on the first try.

How to use Guidelines

  1. Choose the ruler-shaped Guidelines button.
  2. Drag down from the top ruler to create a horizontal line.
  3. If the vertical ruler is visible, drag right from it to create a vertical line.
  4. Drag an existing line to place it on the edge you want to check.
  5. Add a second line on the same axis. The label between adjacent lines shows their distance.
  6. To remove a line, hover over it and use the Ă— button, or drag it back onto its ruler.

A useful example: checking a vertical gap

Put one horizontal guide on the bottom edge of a heading and another on the top edge of the button below it. Read the distance shown between the two lines. If you are reviewing a webpage, keep the display in px; that is the unit the layout is actually using.

How to use Selection

  1. Choose the square-shaped Selection button.
  2. Drag from one corner of the object to the opposite corner.
  3. Read Width, Height, Diag, and Area in the floating label.
  4. Drag inside the box to move it without changing its size.
  5. Use any of the eight handles to resize one edge or corner.
  6. Start a new drag on the empty workspace when you want to replace the current selection.
ValueWhat it answersTypical use
WidthHow wide is the box?Button, card, image
HeightHow tall is it?Banner, input, thumbnail
DiagCorner-to-corner distanceQuick diagonal comparison
AreaWidth multiplied by heightComparing two rectangles

What Snap changes

With Snap on, guides and selection coordinates settle onto nearby ruler marks. This is handy when you want a clean 16 px or 32 px value. Turn it off when the real edge sits between marks and you want to place the line freely.

Which mode should you pick?

QuestionUseWhy
What is the gap between these two items?GuidelinesTwo lines show the distance directly.
Do these edges line up?GuidelinesOne line can cross several objects.
How wide and tall is this card?SelectionOne box gives both dimensions.
What is the diagonal or area?SelectionThose values are calculated for the box.

Two limits worth knowing

  • Guidelines and selections measure what is displayed on the screen. They do not read an image file’s original pixel dimensions.
  • Pixel measurements work without physical calibration. Values in cm, mm, and inches depend on the current screen calibration and can change after zoom or display settings change.

Try it on the ruler

Open the tool, keep browser zoom at 100%, and use pixels first. Calibrate before relying on cm or inches.

Open the online ruler

Keep reading

How to Use Guidelines and Selection | Online Ruler