How to use an online ruler accurately
- Set zoom to 100%. Reset your browser zoom so a page pixel is the size the calibration expects.
- Match a card. In Method 1, hold a bank card in the top left of the grey area and move Adjust size until the rectangle matches its width.
- Save it. Press Save; the ruler above updates straight away and the Current scale shows pixels per millimetre.
- Measure. Choose Centimeters, Millimeters or Inches under Units and hold the object flat against the screen at the 0 mark.
How the calibration works
Everything comes down to one number: how many screen pixels make a millimetre on your display. The Current scale line at the bottom of the panel shows it. Before you calibrate it is 3.78, the web’s nominal 96 pixels per inch divided by 25.4 mm.
With a card, the sum is simple. If the rectangle matches the card’s 85.6 mm width at 324 pixels, the scale is 324 ÷ 85.6 = 3.785 pixels per millimetre. A 10 cm mark is then drawn 100 × 3.785 = 378.5 pixels from zero, rounded to the nearest pixel. Matching the longer side gives a more precise result than matching the 53.98 mm height, because any error of a pixel is spread over a greater length.
Each nudge button changes the scale by 0.1%, about 0.1 mm over 10 cm. If a 20 cm ruler held against the screen reads 19.8 cm, the on-screen marks are 1% too far apart, so press −0.1% about ten times.
Calibrating from the screen size
Method 2 estimates the scale from your screen’s diagonal. It takes the width of the browser window in pixels, works out the diagonal assuming a 16:9 shape, and divides by the inches you entered. That is why it only works with the window maximised. Many laptops have 16:10 or 3:2 screens, and on those the estimate is about 3% to 5% out, a few millimetres over 10 cm, so treat it as a starting point and check it against something you know the size of.
Getting an accurate reading
- Keep browser zoom at 100% while calibrating and measuring.
- Look straight at the screen. Viewing at an angle shifts where an edge seems to fall against the marks.
- Hold the object flat and still, with its end on the 0 mark, not the edge of the screen.
- Calibrate each screen once. The setting is stored per display, so moving the window to another monitor uses that monitor’s calibration.
- Do not press on the screen. Rest the object lightly against it; pressing can damage some displays.
Reading the scales
| Units | Smallest mark | Labels |
|---|---|---|
| Centimeters | 1 mm, longer every 5 mm and 1 cm | Every centimetre |
| Millimeters | 1 mm, longer every 5 mm and 10 mm | Every 10 mm, marked in cm |
| Inches | 1/16 inch, longer at 1/8, 1/4, 1/2 and 1 inch | Every inch |
On a small screen the labels may skip some numbers so they do not overlap, but every mark is still drawn. The ruler runs across the full width of the window, so a wide monitor measures much longer objects than a phone.
When to use something else
For sizes in screenshots and designs, the pixel ruler measures in image pixels instead. For angles, use the online protractor, and to turn a measurement into another unit, the unit converter has direct pages such as cm to inches.