Online Ruler

Calibrate once with a real object — hold a bank card, coin or A4 sheet to the screen and drag the two markers to its edges. The tool records this display's px/mm ratio, and the dual cursors then read out real-world distances in that ratio.

Object calibration · mm/cm/inch · dual cursors · free · runs locally in your browser

A browser cannot detect physical screen size — readings are only as accurate as your calibration. Zoom or display changes make it stale; recalibrate when prompted.

Step 1 — calibrate

Hold a real object of known width against the bar below and drag the two markers to its edges.

Drag the two green cursors to bracket what you want to measure. The distance uses your calibration; pixels are shown alongside.

Frequently asked questions

Is an online ruler accurate? Can the browser detect my screen size?

No — a browser only knows CSS pixels, never the physical panel size. The ruler must be calibrated once: align markers to a real object of known width (bank card 85.6 mm, coin, A4 short edge 210 mm) and the tool derives this screen's px/mm ratio. Accuracy equals the care you put into that step.

Why did readings go wrong after zooming or changing displays?

Calibration stores 'how many CSS pixels equal 1 mm' for this zoom level on this screen. Browser zoom (Ctrl +), OS display scaling or a different monitor all change that mapping — the page prompts you to recalibrate when it detects the change.

What's the best calibration reference?

A real object with a known straight edge: bank card short edge 85.60 mm (ID-1 standard), A4 short edge 210 mm, coins (US quarter 24.26 mm, ¥1 coin 25.0 mm). Bigger object + careful marker placement = less ratio error.

How do the two cursors work?

Drag the two green cursors to bracket the object's ends; the readout shows the distance in the current unit (mm/cm/inch) converted through your calibration, plus the raw pixel distance.

Is my calibration saved? What if I switch browsers or clear data?

It lives in this browser's localStorage and is restored next visit. Another browser, cleared site data or a different device all require recalibrating — the Recalibrate button stays visible at all times.

Can I print from this or treat it as a precision gauge?

No. It's an estimate tool — calibration error, drag precision and display scaling mean it should not replace a physical ruler for precision work, and printing adds paper-scale error on top.

Full archive

Search every stored story

Search the full library by product, brand or keyword, not just the stories on this page.

11260 stories in the live library