Screen Tools

Screen Ruler

Measure pixel distances anywhere on your screen using an on-screen overlay with image edge detection. Pick a measuring mode — Bounds, Spacing, Horizontal, or Vertical — and Screen Ruler snaps to color edges under your cursor so you can size up UI elements without leaving your workflow.

Getting Started

Requirements

Screen Ruler needs Screen Recording permission so it can see the pixels under your cursor and snap to edges. If you haven't granted it yet, ProToys will let you know.

To grant it manually: open System Settings → Privacy & Security → Screen Recording and tick ProToys.

How to use

  1. Press M to bring up the ruler overlay.
  2. Pick a mode from the toolbar: Bounds, Spacing, Horizontal, or Vertical.
  3. Move the cursor over the element you want to measure — the overlay snaps to detected edges and shows the dimensions in pixels.
  4. Click to copy the current measurement to the clipboard.
  5. Press Esc or click on the toolbar to dismiss.
Tip

Scroll the mouse wheel while the overlay is active to fine-tune the pixel tolerance live — useful when an edge is being missed or when the ruler keeps snapping past it.

Measuring Modes

ModeBehavior
Bounds Click and drag to draw a measurement rectangle. The label shows width × height in pixels. Hold Shift while dragging to lock to a square.
Spacing The overlay snaps to both horizontal and vertical edges around the cursor and reports W × H of the detected region.
Horizontal Measures only the horizontal span of the region under the cursor.
Vertical Measures only the vertical span of the region under the cursor.

Keyboard Shortcuts

ActionShortcut
Toggle the ruler overlayM
Switch to Bounds mode1
Switch to Spacing mode2
Switch to Horizontal mode3
Switch to Vertical mode4
Lock to square (Bounds)Hold Shift while dragging
Adjust pixel toleranceMouse wheel scroll
Copy measurementClick anywhere on the overlay
DismissEsc

Settings

Open ProToys Settings → Screen Ruler to configure the ruler. All settings persist between sessions and apply live while the overlay is open.

SettingDescription
Activation shortcut The keyboard command that toggles the overlay on or off. Default: M.
Default mode The measuring mode used when the ruler is activated — Bounds, Spacing, Horizontal, or Vertical. Default: Bounds.
Capture screen continuously during measuring When off, Screen Ruler takes a single snapshot when you open it. When on, it keeps re-reading the screen as you move. Useful for animated content, but uses a bit more battery.
Per color channel edge detection Stricter mode that compares each color channel separately. Turn this off for gentler matching that works better on gradients and soft shadows.
Edge sensitivity How forgiving the edge detection is. Higher values are more relaxed with gradients, shadows, and soft edges. Default: 30. You can also tweak it live by scrolling the mouse wheel.
Extra units of measurement Choose an alternate unit shown alongside pixels — None (pixels only), Inches, Centimeters, or Millimeters.
Draw feet on cross Adds small, serif-like "feet" at the ends of each measurement line for additional visual recognition.
Line color The color of the measurement line and bounding box.

Related Tools