ShotmiGuides

How to measure pixels on a Mac screen

Three ways to measure the size of an element or the space between two elements on a Mac: the built-in screenshot crosshair, the browser's developer tools, and a measuring tool such as Shotmi.

1. The built-in crosshair (free, rough)

Press ⇧⌘4. The pointer becomes a crosshair with its coordinates next to it. Drag from one edge to the other and the numbers change to the width and height of the selection. Press Esc before you let go, so that no screenshot is taken.

2. Developer tools (web pages only)

In Safari, Chrome or Firefox, right-click an element and choose Inspect. The box model shows its size, padding and margin exactly. This measures what the page declares, not what you see, and it does not work outside the browser.

3. Shotmi (any app, snaps to edges)

Shotmi is a screenshot app for Mac with a measuring mode:

  1. Press ⇧⌘X, then D. The screen freezes.
  2. Hover between two elements: Shotmi finds the nearest edge in each direction and shows the distances. Click to pin them.
  3. Drag around an element: the box snaps to it and shows its width and height.
  4. Press ↩ to copy the measurement, for example 240 × 64 pt.

It works on anything visible (a native app, a design, a video frame), in points or pixels, and the measurements can stay in the screenshot when you copy or save it. More on the Measure page.

Which one to use

You want to Use
Check one size, roughly, once ⇧⌘4
Know the CSS of a web page Developer tools
Measure spacing in any app, exactly, and share it Shotmi, or a dedicated tool such as PixelSnap

Last updated: November 16, 2026

Shotmi for Mac

Capture, measure, mark up, copy text and pick colors with one shortcut. $9.90 once (limited-time launch offer, regularly $29.90), for 2 Macs. No subscription.

macOS 14 or later on Apple silicon or Intel. One-time purchase, refundable within 14 days.