Buyer's guide
Ruler and Measurement Extensions for Chrome: Pixels, Spacing and Design QA
Buyer's guide
Ruler and Measurement Extensions for Chrome: Pixels, Spacing and Design QA
On this page
- The short answer
- Which ruler extension for Chrome should you use?
- How do you enable a ruler in Chrome?
- How do you use a page ruler extension for real design checks?
- Can you measure elements in Chrome without an extension?
- Why do measurements differ between tools?
- Can you get a ruler on your screen for real-world measuring?
- Are ruler extensions safe, and what permissions do they need?
- Which extensions pair well with a ruler for design QA?
- Why is my ruler extension not working?
- Frequently asked
The short answer
For quick pixel measurements, install a page ruler extension such as Page Ruler or Ruler Measurement, click its toolbar icon and drag a box over the element to read its width and height. If you prefer nothing extra installed, Chrome DevTools already shows element sizes on hover and offers rulers in device mode for free.
Which ruler extension for Chrome should you use?
Use a dedicated page ruler extension when you want to drag a box across anything on screen and read its size, and use Chrome DevTools when you need exact CSS values such as padding and margin. Most people doing design QA end up using both.
Two ruler extensions dominate the Chrome Web Store results for this search. Page Ruler describes itself simply: measure page elements' size in pixels with an easy-to-use ruler. Ruler Measurement, also called Chrullex (short for CHrome RULer EXtension), targets the same job. Neither is in our reviewed catalogue yet, so check each listing for its current features, pricing and permissions before installing.
| What you need to measure | Best tool | Why |
|---|---|---|
| A rough box around any area, including gaps between unrelated elements | Page ruler extension | Drag freely; you are not limited to one HTML element |
| The exact width and height of a single element | DevTools inspect mode | Hover shows the rendered size of the element under the cursor |
| Padding, border and margin values | DevTools Computed tab | The box-model diagram lists each layer separately |
| Layout at a specific screen width | DevTools device toolbar with rulers | Rulers line up with a simulated viewport size |
| Sharing a measurement with a developer or client | Screenshot and annotation extension | A marked-up image travels better than a number in chat |
If you only measure something once a month, skip the extension and use DevTools. If you review layouts daily, a one-click ruler saves time because it works on any area, including whitespace that has no element of its own.
How do you enable a ruler in Chrome?
Chrome has no on-page ruler switch for normal browsing, so you enable one by installing an extension or by turning on the rulers inside DevTools. The extension route takes about a minute.
- Open the ruler extension's page in the Chrome Web Store and click Add to Chrome.
- Read the permission prompt, then click Add extension.
- Click the puzzle-piece Extensions icon at the right of the address bar and click the pin next to the ruler so its icon stays visible.
- Reload any tab that was already open (
Ctrl+Ron Windows, ChromeOS and Linux,Cmd+Ron Mac). Extensions often cannot draw on pages loaded before they were installed. - Click the ruler icon on the page you want to measure. The cursor usually changes to a crosshair to show the ruler is active.
- Press
Escor click the icon again to switch it off; the exact exit method varies by extension.
Some extensions also let you assign a keyboard shortcut. Open chrome://extensions/shortcuts, find the ruler, and type the key combination you want in the activation box. A shortcut is handy when you measure dozens of elements while scrolling through a long page.
Measure at 100% zoom
Before you measure, reset Chrome's zoom with Ctrl+0 (Windows, ChromeOS, Linux) or Cmd+0 (Mac). Zooming changes how large CSS pixels appear on screen, and some tools report screen size rather than CSS size when zoom is not at 100%.
How do you use a page ruler extension for real design checks?
Activate the ruler, drag a rectangle from one edge to the other, and read the width and height it reports. The value is in the skill of choosing edges, not in the dragging.
Common checks that a ruler handles faster than DevTools:
- Gaps between cards or grid items. Drag from the right edge of one card to the left edge of the next; the width is the gutter. DevTools cannot select empty space directly.
- Vertical rhythm. Measure the space between a heading and the paragraph below it on several pages to spot inconsistent spacing.
- Tap target size. On a narrow window, measure buttons and links to check they are comfortably large for touch.
- Ad and banner slots. Confirm a placeholder matches the size your ad network or client specified before creative is uploaded.
- Image containers. Check the rendered size of a hero image so you export assets at the right dimensions, not guesswork.
- Alignment drift. Measure the left offset of a logo, heading and body text to confirm they share the same edge.
Many ruler extensions let you nudge the box one pixel at a time with the arrow keys, and some snap to element edges. Check the listing or the extension's options page, since these behaviours differ between tools and are the main reason to prefer one over another.
For a written record, capture the measured area with a screenshot tool rather than copying numbers into chat. A full-page capture from our full-page screenshot picks keeps the context around the measurement visible.
Can you measure elements in Chrome without an extension?
Yes. Chrome DevTools shows element dimensions on hover, lists the full box model, and can draw rulers along the top and left edges of the page. It is free, already installed and reads values straight from the browser's layout engine.
- Open DevTools with
F12orCtrl+Shift+Ion Windows, ChromeOS and Linux, orCmd+Option+Ion Mac. - Press
Ctrl+Shift+C(Cmd+Shift+Con Mac) to enter inspect mode, then hover any element. A tooltip shows its tag, class and rendered width by height. - Click the gear icon (Settings), open Preferences, and under Elements tick Show rulers on hover. Rulers now appear along the page edges whenever you hover an element in inspect mode.
- Select an element and open the Computed tab in the Elements panel. The box-model diagram shows content size, padding, border and margin as separate numbers.
- For a fixed viewport, toggle the device toolbar with
Ctrl+Shift+M(Cmd+Shift+Mon Mac), open its three-dot menu and choose Show rulers. - To save a single element as an image, right-click its node in the Elements panel and choose Capture node screenshot.
The limitation is that DevTools measures elements, not arbitrary spans. To find the distance between two unrelated items you have to inspect both and do arithmetic from their positions, which is exactly where a drag ruler wins. Google documents these features in the Chrome DevTools guide.
Why do measurements differ between tools?
Different tools count different kinds of pixels. Browsers measure in CSS pixels, while screenshots and screen-level rulers often count device pixels, and the two only match on a standard-density display at 100% zoom.
- CSS pixel
- The unit web layouts are written in. DevTools and most page ruler extensions report this, and it is the number a developer needs.
- Device pixel
- A physical dot on your screen. High-density displays, such as Retina Macs and many modern laptops, pack two or more device pixels into each CSS pixel.
- Device pixel ratio
- Device pixels per CSS pixel. A screenshot taken on a 2x display is twice as wide in pixels as the CSS layout it shows.
- Browser zoom
- Scales CSS pixels up or down. At 125% zoom an element looks larger, but its CSS width stays the same in DevTools.
This is the usual cause of a designer and developer disagreeing about a size. The designer measures a screenshot in an image editor and gets 640; the developer inspects the element and sees 320. Both are right: the screenshot came from a 2x display.
A CSS inch is not a real inch
Web standards define one CSS inch as 96 CSS pixels, regardless of your monitor. If a ruler extension offers inches or centimetres, treat them as layout units, not a tape measure. Physical accuracy needs calibration against a known object.
Can you get a ruler on your screen for real-world measuring?
Only roughly. A browser ruler can show centimetres or inches, but on-screen size depends on your monitor's pixel density, so you must calibrate it against an object of known size before trusting it for physical measurements.
A standard bank card is a common reference because its dimensions are fixed by an international standard (85.60 mm wide). Hold the card against the screen, adjust the calibration setting until the on-screen ruler matches, and only then measure. Recalibrate if you move the browser window to a different monitor.
Chrome extensions also stop at the edge of the browser tab. They cannot measure a desktop app, a PDF opened in another program, or the gap between two windows. For screen-wide measuring on Windows, Microsoft's free PowerToys suite includes a Screen Ruler utility that works across every app. macOS has no equivalent built in, so Mac users typically rely on third-party utilities or the screenshot tool's crosshair, which shows coordinates while you drag.
If your search was about a ruler on Google's own products, the answer is simpler: Google Docs has one. Open a document and choose View then Show ruler to display margins and indents along the top and left edges.
Are ruler extensions safe, and what permissions do they need?
A ruler only needs to draw an overlay on the tab you are looking at, so the safest ones request access to the current tab when you click them rather than to every site all the time. Treat broad access as a reason to look twice.
Ideally a ruler asks for activeTab, which grants temporary access to a page only after you click the icon. If an extension instead shows Read and change all your data on all websites at install, you can still limit it: open chrome://extensions, click Details on the ruler, and set Site access to On click. For a tool you invoke by hand anyway, you lose nothing. Our permissions guide explains each warning in plain English.
Other points worth checking on the listing: when it was last updated, whether the publisher has a website, and whether the privacy disclosure says it collects browsing data. A measuring tool has no reason to send page content anywhere. Our review methodology lists the same signals we use when deciding what to include.
Platform support is narrow. Ruler extensions work on Chrome for Windows, Mac, Linux and ChromeOS. Chrome on Android and iPhone does not support extensions at all, so for mobile layouts use the DevTools device toolbar on a computer instead.
Which extensions pair well with a ruler for design QA?
Size is only one part of checking a layout against a design. Colour, typography and a shareable capture cover most of the rest, and each has a well-established extension.
Design QA toolkit to use alongside a page ruler
-
ColorZillaFree
Design
Eyedropper that reads the exact colour of any pixel, so you can check brand colours after measuring spacing. Catch: it samples rendered pixels, so gradients and transparency can give surprising values.
-
WhatFontFree
Design
Hover any text to see the font family, size and line height, which pairs naturally with measuring vertical spacing. Catch: it reports the font the browser used, which may be a fallback.
-
GoFullPageFreemium
Screenshots & Recording
One-click full-page capture to archive the layout you measured. Catch: sticky headers and lazy-loaded images can repeat or go missing on some sites.
-
Awesome ScreenshotFreemium
Screenshots & Recording
Capture a region and annotate it with arrows and notes so a developer sees exactly which gap is wrong. Catch: advanced features sit behind the paid plan.
-
SEO
Shows a page's heading outline and on-page tags, useful for confirming the visual hierarchy matches the real HTML structure. Catch: it is an SEO tool, so most of its panels are not about design.
Browse more tools like these in our design extensions category. A tidy setup is three pinned icons: ruler, colour picker and font finder, with a screenshot tool one click away in the Extensions menu.
Why is my ruler extension not working?
The most common cause is a page the extension is not allowed to touch, followed by a tab that was open before you installed it. Work through these in order.
- Nothing happens when you click the icon: reload the tab. Pages loaded before installation often lack the extension's script.
- It never works on certain pages: Chrome blocks all extensions on
chrome://pages, the Chrome Web Store and some built-in viewers. Open the content in a normal web page instead. - Site access is restricted: if you set the ruler to
On specific sites, it stays inactive everywhere else. Check Details inchrome://extensions. - Numbers look wrong: reset zoom with
Ctrl+0orCmd+0and compare with the DevTools hover tooltip to see whether the tool reports CSS or device pixels. - The overlay hides behind page content: sticky headers, video players and embedded frames can sit above the ruler. Scroll so the element is clear, or measure inside the frame with DevTools.
- Two overlays clash: another inspection or screenshot extension may be active at the same time. Switch one off from the toolbar.
- Work or school Chrome: administrators can block extensions by policy. Visit
chrome://policyto see if restrictions apply, and use DevTools if it is still allowed.
If none of these help, the extension may not have been updated for recent Chrome versions. Check the last-updated date on its Web Store listing and try the other ruler, or fall back to DevTools, which is always current with your browser.
Extensions mentioned in this guide
Frequently asked
How do I enable a ruler in Chrome?
Install a ruler extension from the Chrome Web Store, pin it via the puzzle-piece icon and click it on any page. Without an extension, open DevTools, go to Settings, Preferences, Elements and tick Show rulers on hover.
Can I get a ruler on my screen?
Yes, a ruler extension overlays a measuring tool on any web page, and Windows users can measure across all apps with PowerToys Screen Ruler. For real-world sizes, calibrate against a known object such as a bank card first.
How do I get a ruler on Google?
In Google Docs, choose View then Show ruler. For measuring Google Search or any other web page, use a Chrome ruler extension or DevTools.
How do you use a page ruler extension?
Click its toolbar icon to activate it, drag a rectangle across the area you want to measure and read the width and height it displays. Reload the tab first if nothing appears.
Is there a free way to measure pixels in Chrome?
Yes. Chrome DevTools is free and shows element sizes, padding and margins, plus rulers in inspect mode and the device toolbar. Check each ruler extension's listing for its current pricing.
Does Chrome have a built-in ruler?
Not for normal browsing. The only built-in rulers live in DevTools, via Show rulers on hover and the Show rulers option in the device toolbar menu.
Can a Chrome ruler extension measure in inches or centimetres?
Some offer those units, but they convert from CSS pixels, where one CSS inch equals 96 pixels. They match real-world size only after you calibrate them for your screen.
Why doesn't my ruler extension work on some pages?
Chrome blocks extensions on chrome:// pages and the Chrome Web Store, and tabs opened before installation need a reload. Restricted site access settings can also keep it inactive.
Do ruler extensions work on Chrome for Android or iPhone?
No. Chrome on Android and iOS does not support extensions, so measure mobile layouts with the DevTools device toolbar on a desktop computer.
How do I measure the space between two elements in Chrome?
Drag a page ruler from the edge of the first element to the edge of the second. In DevTools you would need to inspect both elements and subtract their positions.
Is Page Ruler safe to install?
Check its listing for the permissions it requests, the last update date and the privacy disclosure. If it asks for access to all websites, set Site access to On click in chrome://extensions.
What is the best ruler extension for web developers?
Developers usually pair DevTools, for exact box-model values, with a drag ruler such as Page Ruler or Ruler Measurement for quick gap checks, then add ColorZilla and WhatFont for colour and type.