Online measuring tools
Measure small things on your screen at their real size, or your pupillary distance for glasses. A bank card is the reference for both.
All measuring tools
Online ruler
Calibrate once with a bank card, then measure in cm, mm and inches, across or down the screen.
Calibrate with a bank cardMeasure your PD
Hold a bank card to your forehead, take a webcam photo or upload one, and fine-tune the marks. Three photos give an average PD and single-eye PDs.
Uses your cameraPrintable PD ruler
A PD ruler to print at 100% scale, with a 10 cm check bar, a scale for single-eye PD and the mirror method step by step.
Print it at 100% scale
Why a screen ruler needs calibration
Web pages size things in CSS units. The CSS rules say that 1 inch is 96 CSS pixels and 1 centimetre is 96 / 2.54 CSS pixels, but a CSS pixel is not the same physical size on every screen. As the CSS length reference on MDN puts it, on many screens these units "don't necessarily match the size of the physical unit with the same name". So a ruler drawn with plain CSS centimetres can be noticeably too long or too short.
The fix is to compare the screen with something whose size is fixed. Bank cards, and driving licences and ID cards in many countries, use the ID-1 format of the ISO/IEC 7810 standard: 85.60 mm by 53.98 mm. You hold your card against the screen, make the outline match it, and the ruler then knows how many pixels make a real millimetre on your screen.
Measure your PD for glasses
The same card gives a scale in a photo. Measure your PD finds your pupils in a webcam or phone photo with the card on your forehead, and the photo never leaves your device. No camera? Print the PD ruler, check its 10 cm bar, and measure in a mirror.
Getting an accurate measurement
Calibrate on each screen
A phone, a laptop and a monitor can each show a CSS centimetre at a different real size. The calibration is kept per browser, so do it once on each device you use.
Measure flat against the glass
Lay the object on the screen or hold it right against it. A gap between the object and the screen makes it look shorter or longer, just as with a paper ruler held away from the page.
Start at zero
Line up one end of the object with the zero mark, then tap the ruler at the other end. The reading shows in the unit you choose and in the other system too.
Nothing leaves your device
The tools run in your browser. Your calibration is a single number saved in this browser's storage, so the ruler is ready next time. Nothing about your card is read or stored. The PD tool checks your photo in this tab: the photo is never uploaded or saved.