📏 Screen Ruler — Pixel, Device Pixel & Calibrated Size Tool
Screen Measurement Lab

Free Screen Pixel Ruler With Drag Measurement and Physical Calibration

Drag across the measurement board to measure CSS pixels, device pixels, diagonal distance, and calibrated millimeters or inches after matching a reference card.

100% freeNo emailNo signupLocal browser processingMobile friendly
Interactive diagnostic

Screen Pixel Ruler With Drag Measurement and Physical Calibration

Physical calibration

Place a standard ID-1 card against the screen and adjust the reference until its displayed width matches the card’s 85.60 mm physical width.

85.60 mm reference
CSS px / mm
Estimated CSS px / inch

Measurement

0 × 0CSS pixels
0 × 0Device pixels
0Diagonal CSS px
0 mmCalibrated diagonal
Drag from one corner to another. Pointer coordinates stay inside this board.
Calibrate first for physical measurements, or drag immediately for CSS-pixel dimensions.
12 practical capabilities

Built for a complete diagnostic workflow

01

Drag-to-measure rectangle

Screen Pixel Ruler workflow feature designed for practical browser use.

02

Live width and height in CSS pixels

Screen Pixel Ruler workflow feature designed for practical browser use.

03

Device-pixel conversion with DPR

Screen Pixel Ruler workflow feature designed for practical browser use.

04

Diagonal-distance calculation

Screen Pixel Ruler workflow feature designed for practical browser use.

05

Credit-card width calibration

Screen Pixel Ruler workflow feature designed for practical browser use.

06

Adjustable calibration slider

Screen Pixel Ruler workflow feature designed for practical browser use.

07

Pixels-per-millimeter estimate

Screen Pixel Ruler workflow feature designed for practical browser use.

08

Estimated pixels per inch

Screen Pixel Ruler workflow feature designed for practical browser use.

09

Millimeter and inch output

Screen Pixel Ruler workflow feature designed for practical browser use.

10

Crosshair measurement board

Screen Pixel Ruler workflow feature designed for practical browser use.

11

Copyable measurement summary

Screen Pixel Ruler workflow feature designed for practical browser use.

12

Local calibration saving

Screen Pixel Ruler workflow feature designed for practical browser use.

Practical guide

How to interpret this screen pixel ruler

A screen pixel ruler measures distances in CSS pixels first. CSS pixels are the coordinate system used by page layout and do not necessarily equal one physical display pixel, especially on high-density screens where devicePixelRatio is greater than one.

For physical estimates, calibrate the page against an object with a known real-world dimension. The reference control uses the 85.60 mm width of the ISO/IEC 7810 ID-1 card format commonly used for payment and identification cards. Adjust the on-screen reference until it matches the physical card width.

After calibration, the tool converts CSS-pixel measurements to millimeters and inches using the measured pixels-per-millimeter ratio. Browser zoom, operating-system scaling, display scaling, and viewing setup can change that ratio, so recalibrate whenever those settings change.

Use the drag board for interface measurements, screenshot inspection, approximate object sizing, and layout checks. For engineering or manufacturing work, use a calibrated physical measuring instrument instead.

Interpretation table

What the browser can and cannot tell you

SignalWhat it representsHow to use it
CSS pixelBrowser layout coordinatePrimary measurement unit on the page
Device pixelCSS pixels × devicePixelRatioApproximate backing-pixel count
CalibrationKnown width / matched CSS pixelsRequired for physical-size estimates
px/mmMatched CSS pixels ÷ 85.60 mmChanges with zoom and scaling
Estimated PPIpx/mm × 25.4Browser-calibrated estimate, not panel specification
Six-minute learning path

Build a better troubleshooting habit

01

Start with a baseline

Run the primary diagnostic before changing settings so you have a comparison point.

02

Repeat the test

One sample can be misleading. Repeat the check and compare the pattern, not only the best number.

03

Change one variable

When troubleshooting, change one device, browser, permission, cable, or setting at a time.

04

Separate browser from hardware

A browser result reflects only the parts of the input or output path that the page can observe.

05

Document the environment

Keep browser, operating system, device connection, scaling, or permission context with the result.

06

Use the next diagnostic

Open a related ready page when the result suggests a neighboring part of the device or browser stack.

Knowledge check

Three quick questions

Is one isolated sample enough for a confident diagnosis?
Should you change several troubleshooting variables at the same time?
Does a browser test always isolate every hardware stage?
Online checklist

Finish with a quality review

Local diagnostic history

Recent saved milestones on this device

Related ready pages

Continue without a dead end

Return to TestsAndTools home

Frequently asked questions

Free Screen Pixel Ruler With Drag Measurement and Physical Calibration: FAQ

Why do CSS pixels differ from physical pixels?+

Browsers use CSS pixels as a layout abstraction. High-density displays can map one CSS pixel to multiple device pixels.

How does the credit-card calibration work?+

Adjust the reference width until it physically matches an 85.60 mm ID-1 card, then the page derives CSS pixels per millimeter.

Does browser zoom affect the ruler?+

Yes. Zoom and operating-system scaling can change the relationship between CSS pixels and physical size, so recalibrate after changes.

Can it measure an object in a photo?+

It can measure the photo’s on-screen CSS-pixel dimensions, but real-world object size requires a scale reference within the image or another calibration method.

Is the PPI value the monitor’s official specification?+

No. It is an estimate derived from browser calibration and may differ from the panel’s manufacturer specification.

Source and scope

Use the result responsibly

This tool reports what a browser can observe or calculate in the current environment. Device firmware, drivers, operating-system processing, permissions, transport, display refresh, acoustic conditions, and browser implementation can add behavior that this page cannot isolate.

External technical reference: MDN: CSS pixel ↗.

Free to use. No email, phone number, account, or payment required.