The 5 best pixel ruler Chrome extensions

For measuring a live page: element sizes, the gaps between things, and the padding you cannot see. Compared by what each one actually measures and where it gives up.

Updated September 2026 · by the Design Toolkit team · Disclosure: Design Toolkit is ours. Everything below is about what each tool does, so you can check it.

The short answer

Design Toolkit or Dimensions for measuring between elements the way you would in Figma. Page Ruler Redux for dragging a rectangle over anything, including images. VisBug if you want to move things while you measure. All of them beat doing arithmetic on two bounding boxes in DevTools.

Distance lines drawn between two elements with the measurement labelled in pixels
An element ruler measures from the box the browser laid out, which is why it survives zoom and can tell padding from margin.

Two kinds of ruler, and it matters which you pick

Every tool here falls into one of two camps, and choosing the wrong one is why measurements disagree:

For design work you almost always want the first kind. For "how wide is this thing in a screenshot", the second.

ToolKindGap between elementsBox modelWorks on imagesPrice
Design ToolkitElementYes, any twoYesNo7-day trial, then one-time
DimensionsElementYes, nearest edgesNoNoFree
Page Ruler ReduxOverlayDrag a rectangleNoYesFree
VisBugElementYesPartlyNoFree, open source
Chrome DevToolsElementManualYesNoFree, built in

1. Design Toolkit

Design Toolkit Ours

Chrome, Edge, Brave, Opera, Arc, Vivaldi · 7-day free trial, then one payment

Click one element, hover another, and the exact gap is drawn between them with its number — horizontally, vertically, or both at once. The box model overlay puts content, padding, border and margin on screen as separate bands, and page rulers along the top and left edges track the cursor when you want a coordinate rather than a distance.

Weak spot: DOM only. It cannot measure inside a screenshot, and it is paid after the trial.

2. Dimensions

Dimensions

Chrome · Free

A small, well-liked tool that does one thing cleanly: hold a key, move the cursor, and it shoots lines out to the nearest edges and labels the distances. For "is that gap 16 or 20", it is often the fastest answer on this list.

Weak spot: it measures to whatever edge is nearest, which is not always the edge you meant, and there is no way to pick two specific elements. No box model, no padding versus margin.

3. Page Ruler Redux

Page Ruler Redux

Chrome · Free

The classic overlay ruler, revived. Drag a rectangle anywhere on the page and read its width, height and position. Because it draws on top rather than reading the DOM, it measures things that are not elements at all — a logo inside an image, a region of a PDF, a gap in a screenshot.

Weak spot: what you measure is where you dragged. For exact spacing between two components, an element ruler is both faster and right.

4. VisBug

VisBug

Chrome · Free, open source

Google's open-source design-tools overlay measures as part of a bigger job: it lets you edit the live page. Inspect a box, see its metrics, then nudge the padding and watch the layout react.

Weak spot: measuring is not its focus, and nothing you do survives a reload.

5. Chrome DevTools

Chrome DevTools

Every Chromium browser · Free, already installed

Hover an element with the inspector and Chrome draws its box model with content, padding, border and margin colour-coded, and shows the size in a tooltip. For one element it is excellent and it is already installed.

Weak spot: there is no "distance between these two things" in DevTools. You read two bounding boxes and subtract, every time.

What most people are actually measuring

Almost every measurement in design work is one of three questions, and it is worth knowing which one you are asking:

The third one is where most tools stop, and it is usually the one that explains why your rebuild is off.

Measure it the way you would in Figma

Click one element, hover another, read the gap. Plus the box model, type, colour and motion. Free for 7 days.

Add to Chrome — free trial

Common questions

Why do two rulers report different numbers for the same gap?

Because they measure different edges. One measures from the border box, another from the visible text, another from the margin edge. A 24px gap between two boxes is not the same as 24px between the words inside them — neither tool is wrong, they are answering different questions.

Does browser zoom change the measurements?

It should not. A tool reading CSS pixels reports the same number at any zoom, because CSS pixels are what the layout is built in. A tool measuring screen pixels will drift with zoom and with the device pixel ratio.

Can I measure the space inside an element, not just around it?

Yes, with a box model overlay. It draws content, padding, border and margin as separate bands with their own numbers — which is how you tell a 24px padding from a 24px margin.

Can these measure an image or a PDF?

Only an overlay ruler can, and only roughly. Anything that reads the DOM needs real elements, so a flat image has nothing to read.

Read next