A ruler on the screen you already have
An iPhone does not need a ruler app to measure something small. Safari can draw a scale on the screen, and once that scale is calibrated against a bank card it matches a physical ruler closely enough for everyday jobs: checking a screw, a photo, a coin, a watch strap or a piece of trim. This page opens the ruler already rotated, so it runs down the long edge of the phone, which is where most of the measuring room is.
Nothing is installed and nothing is uploaded. The page is drawn by Safari, and your calibration is kept in Safari's local storage on that phone.
Before you measure: three facts about iPhone screens
- The page does not know how big its pixels are. Safari assumes 96 pixels per inch, which is a desktop convention. On a phone the real figure is several times higher, so an uncalibrated centimetre comes out much shorter than a real one.
- Pinch zoom breaks the match. Pinch-zooming enlarges everything on the screen without changing the layout, so a calibrated ruler drawn underneath no longer lines up with the object you are holding against the glass. Measure at the page's default zoom.
- The screen is small. A 6.1-inch phone gives you roughly 7 cm across the short edge and about 15 cm along the long edge. That is enough for most small objects and not enough for a sheet of paper.
How to use the ruler on an iPhone
- Open the page in Safari and wait for the ruler to appear. It opens rotated, so the scale runs down the long edge.
- Turn the phone to landscape and calibrate. An ID-1 card is 85.60 mm wide, which is wider than a portrait phone screen; in landscape the outline fits. Press Calibrate, choose Bank card, lay the card flat on the glass and slide until the outline matches it exactly. Save.
- Check the calibration by measuring the card's short edge, which should read 53.98 mm, or a US quarter, which should read 24.26 mm across.
- Put the object on zero. Hold the edge of what you are measuring against the zero mark at the end of the scale, flat on the glass.
- Drag to the far edge and read the number. Switch between cm, mm and inch at the top if you need a different scale.
Calibrating without a bank card
Any card in the ID-1 format works, because the format fixes the size at 85.60 mm by 53.98 mm: a bank card, a loyalty card, a gift card, a library card, and many driving licences and identity cards. If you have no card at all, the calibration panel also offers a US quarter at 24.26 mm and a 1 euro coin at 23.25 mm. Coins are harder to match because the rim is raised and there is no straight edge to align, so treat them as a fallback.
A card is the better reference for a second reason: after calibrating, you can put the same card on the ruler and read its width. If it reads 85.6 mm, the scale is right. That check takes a second and catches a mis-calibration before it spoils a measurement.
What changes the scale on an iPhone
- Pinch zoom, as above. Keep the page at its default zoom.
- Site data cleared. Clearing Safari's website data removes the stored calibration, and the page goes back to the uncalibrated convention.
- A raised screen protector or a case lip. If the card rests on the edge of a protector instead of the glass, the match is a fraction of a millimetre off over the card's width.
- A different device. An iPad or a laptop has a different pixel density and needs its own calibration.
Rotating the phone, switching units and scrolling the page do not change the scale, so none of those need a new calibration.
Fitting more ruler onto a small screen
Two things help on a phone. Rotating the ruler uses the long edge of the screen rather than the short one, which roughly doubles the length you can measure in one go. Fullscreen, where Safari allows it, hides the browser bars and gives a little more room; on iPhone Safari a web page cannot take over the screen, so rotating is the more reliable option there.
For anything longer than the screen, measure it in parts: note where the first part ends, move the object so that point sits on zero, measure again, and add the readings. Each part adds its own matching error, so for a long object a tape measure is still the better tool.
What the readings are good for
On a calibrated phone, the ruler is good for everyday checks where a millimetre or two does not matter: whether a screw is M4 or M5, whether a photo fits a frame, how wide a coin is, how long a strap needs to be. It is not a caliper, and it is not suitable for anything where a wrong measurement has consequences, such as legal, medical, engineering or safety-critical work. The accuracy page works through the error sources in detail, and the calibration guide covers the card and coin methods step by step.
Android and other phones
The same page runs in Chrome and other Android browsers, and fullscreen normally works there. The steps are the same: calibrate on the phone itself, keep the browser at 100% zoom, and hold the object flat against the glass. If you are measuring on a laptop instead, start from the online ruler, where the ruler opens horizontally.