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.
- The numbers are points. On a Retina display one point is two pixels.
- You aim by eye, so expect to be a pixel or two off.
- Nothing is kept: the numbers are gone when you let go.
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:
- Press ⇧⌘X, then D. The screen freezes.
- Hover between two elements: Shotmi finds the nearest edge in each direction and shows the distances. Click to pin them.
- Drag around an element: the box snaps to it and shows its width and height.
- 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