An on-screen ruler measures the size of anything on your desktop in pixels - a button, a gap between elements, an image or a whole window - without taking a screenshot and opening an editor. Designers use them to check spacing against mock-ups, developers to chase layout bugs, and everyone else to check exactly how big something is. Windows 11 doesn't have one built in, but there are good free options.
We've chosen these from each developer's own documentation and download pages, checked on 6 December 2026.
Quick list
Tool | Best for | Licence | Units |
|---|
PowerToys Screen Ruler | Most people | Free, open source (MIT) | Pixels, plus inches, cm, mm or DIP |
ShareX Ruler | ShareX users and precise nudging | Free, open source | Pixels |
PicPick Pixel Ruler | A ruler plus protractor and crosshair | Free for personal, non-commercial use | Pixels, inches, cm |
Rooler | Lightweight open-source measuring | Free, open source (MIT) | Pixels |
Just Color Picker | Colour picking with distance readouts | Freeware | Pixels |
Color Cop | The simplest option | Free | Pixels |
1. PowerToys Screen Ruler - best for most people
Part of Microsoft's free PowerToys, Screen Ruler opens with Win + Ctrl + Shift + M and offers four tools: Bounds (drag a box), Spacing (horizontal and vertical at once), Horizontal and Vertical. Edge detection finds where colours change, the mouse wheel raises the threshold by 15 units per tick for gradients and shadows, and a left click copies the measurement to the clipboard. In Settings you can add inches, centimetres, millimetres or display-independent pixels (DIP), which adjust for the scale of the monitor you're measuring on, and turn on continuous capture to measure moving content.
Catch: you need PowerToys, which requires Windows 11 or Windows 10 version 2004 or newer on an x64 or ARM64 PC. Our guide on how to measure pixels on your screen in Windows 11 walks through it.
2. ShareX Ruler - best for ShareX users
The free, open-source ShareX screenshot tool includes a full-desktop pixel measurement overlay under Tools, then Ruler. It measures a same-colour run under the pointer or the width and height of a rectangle, and tries to snap dragged rectangles to the visible content boundary. H, V and Space switch axis, the arrow keys nudge the latest measurement by 1 pixel (10 with Shift), Ctrl + C copies the measurement text and the mouse wheel changes colour tolerance.
Catch: it captures the desktop when it opens, so you must close and reopen it if the screen changes, and it only works in pixels. See PowerToys Screen Ruler vs ShareX Ruler for a closer look, and our best free screenshot tools for ShareX's main job.
PicPick is a screen capture and image editing suite with a set of design tools available from the system tray: colour picker, pixel ruler, magnifier, protractor, crosshair and whiteboard. Its Pixel Ruler supports horizontal and vertical orientation, pixels, inches and centimetres, and multiple DPI settings.
Catch: it's free only for personal, non-commercial use - businesses need a licence - and it's Windows-only (Vista through Windows 11).
4. Rooler - best lightweight open-source option
Rooler is a small MIT-licensed set of utilities for "pixel-perfect analysis and measurement of graphics", and Microsoft credits it as the inspiration for PowerToys Screen Ruler. Its Dimensions tool finds the nearest edge in every direction from the pointer, Bounds collapses a rough rectangle down to fit the graphic, Inspect adds an adjustable magnifier with pixel colours, and an experimental Snip tool captures precisely sized content to the clipboard.
Catch: it's a developer project on GitHub rather than a polished app - you download the binaries or build it yourself, and it needs the .NET Framework installed.
5. Just Color Picker - best if you also pick colours
Just Color Picker is a free, portable colour picker that also calculates the horizontal and vertical distance between the two latest-picked pixels, which is handy for measuring objects and gaps while you sample colours. It runs on 32-bit and 64-bit Windows 7, 8, 10 and 11 without installation.
Catch: it measures between two points you pick rather than detecting edges, so it's slower for lots of measurements. See our best free colour picker tools for Windows for its colour features.
6. Color Cop - simplest option
Color Cop is a lightweight, free colour picker for Windows. Hold the Control key while using its eyedropper and it measures pixel distances on screen - a simple trick if you only need the occasional measurement.
Catch: measuring is a side feature of a colour picker rather than a full ruler, so for regular measuring one of the dedicated tools above is a better fit.
How to choose
Just want quick, accurate measurements? Install PowerToys and use Screen Ruler.
Already use ShareX? Its Ruler is already there under Tools.
Need a protractor or crosshair too? PicPick, as long as your use is personal.
Measuring while picking colours? Just Color Picker or Color Cop.
Whichever you use, remember that Windows display scaling changes how on-screen pixels relate to CSS or design units - ShareX's documentation recommends zooming the app to 100% before comparing. For more free add-ons, see the best PowerToys utilities.