Gear

The phone as a ruler

An on-screen ruler is only as accurate as the app's knowledge of your screen's pixel density; check it against a card before trusting it, and it cannot press to bone.

By Updated 4 min readGear

Guides on Gear: Every instrument, and what each costs you, Everything you can wrap, and what each reads, Verifying the thing you measure with

An on-screen ruler app is only as accurate as its guess of how many pixels make one millimetre on your particular screen. Get that guess wrong and every reading from the app is wrong by the same proportion, no matter how carefully you use it afterward.

Where the number comes from

A phone does not know its own screen size in the way you would expect. Manufacturers report a diagonal in inches and a resolution in pixels, and an app has to combine the two into a pixel density, then account for the operating system's own scaling of on-screen elements, which is not always 1:1 with physical pixels. The web standard itself concedes the gap: the W3C CSS Values and Units specification defines 1 inch as 96 CSS pixels, recommends the pixel as the anchor unit on screens, and warns that "the physical units might not match their physical measurements." Some apps ask you to enter your phone model and look up a stored value. Others ask you to hold a credit card against the screen and drag a slider until an on-screen rectangle matches its edges, which is a real calibration rather than a lookup. The lookup approach fails silently on a model the app does not recognise, or after a display replacement with a slightly different panel, and gives you a ruler that is confidently wrong rather than visibly wrong.

Checking it takes a minute

A standard payment card is 85.60 by 53.98 mm, a fixed size wherever it was issued. Lay it on the screen next to the app's ruler and see whether the drawn marks agree with the card's printed or embossed edges to within half a millimetre. If the app has a manual calibration slider, this is the same check used to set it - do it once per device and again after any operating system update, since a system-level display scaling change can silently shift the ruler without the app knowing. The same card check works to verify a physical ruler or a tape, which makes it worth having in your head as a habit rather than a one-off.

What a calibrated screen still cannot do

Getting the pixel-to-millimetre conversion right solves exactly one problem, and it is not the main one.

The glass is flat and rigid in the sense that it does not bend, which sounds like an advantage for length. It is not, because a phone held against the body cannot be pressed the way bone-pressed length requires - the pressing motion needs the measuring edge to travel a short distance and stop hard against bone, and a phone screen held flat against skin has nowhere to travel to. You can lay the phone down and read where the shaft ends against the drawn scale, but you cannot press the phone into the pubic bone the way a ruler's end goes in, so the fat pad in front of the bone is included in the reading in a way it should not be. That is the same failure mode as a flexible tape used for length, for a related reason: neither instrument can transmit a firm, localised push the way a rigid ruler's narrow end does.

There is also nothing to wrap for girth. A flat screen has no way to trace a circumference, so an on-screen ruler is a length tool at best, and a compromised one.

What it is actually good for

A calibrated on-screen ruler is a reasonable way to check a small flat object, or to get a rough sense of a dimension when nothing else is at hand. It is not a substitute for a rigid ruler pressed to bone or a cloth tape wrapped at midshaft, and the calibration step only fixes the scale, not the geometry problem underneath it.

The geometry problem is the more useful thing to notice, because it recurs everywhere in this territory under different names. A photograph run through an image model has the same flaw in a different form - no scale in the frame and no way to press anything to bone - which is worth understanding on its own terms rather than assuming a clever enough app closes the gap. An app-derived number is not the same category of thing as a rating built from that same photograph: a numeric score from an image-based tool or a verdict from a human judge looking at a picture are both legitimate answers to a different question - a subjective read, not a length - and Rate Cock sits in that second category rather than the first, which is worth being clear about before you trust a number either app hands you. A ten-dollar ruler, checked once, still beats a phone at the only question a phone was never built to answer.

Read next

Full archive