Two jobs with the same name
“Measure this” can mean two very different things. Either you have the object in your hand and you hold it against a scale, or you have a picture of the object and you want a distance inside that picture. An online ruler does the first. A photo measurement tool does the second. Neither one can do the other's job, and the numbers they give are only comparable when both have been set up against a known length.
| On-screen ruler | Photo measurement tool | |
|---|---|---|
| What is being measured | A physical object held against the screen | A distance between two points in an image |
| What sets the scale | Your screen, calibrated against a bank card | A known length somewhere in the image |
| What you need | The object, the device, a card | The image, and something in it of known size |
| Main error source | Calibration match and parallax | The reference you picked, plus perspective |
| Upload needed | None | Usually yes, or a paste |
| Good for | Screws, coins, photos, trim, small parts | Floor plans, maps, screenshots, photos of large objects |
How the on-screen ruler gets its scale
The screen has no idea how large its pixels are, so the page starts from the browser's convention of 96 pixels per inch and then corrects it. You hold a card in the ID-1 format against an outline on screen and slide until the two match. Since that card is 85.60 mm by 53.98 mm by standard, the match tells the page how many pixels it needs for a millimetre on that display, and the graduations are redrawn at that scale.
The object is then physically on the glass, so the only errors left are the quality of the match and the physical ones: a thick object standing away from the screen, a raised screen protector, a curved phone edge. The accuracy page puts numbers on each.
How a photo measurement tool gets its scale
A photograph contains no millimetres. It contains pixels. To turn pixels into a length, a photo tool needs one known length in the same image, and then it uses a ratio.
Suppose a bank card in the photo is 300 pixels wide. A card is 85.60 mm wide, so each pixel is 85.60 / 300 = 0.2853 mm. If the two points you want to measure are 900 pixels apart, the distance is 900 x 0.2853 = 256.8 mm, or about 25.7 cm. That is the whole method: pick a reference, divide, multiply.
The hard part is the reference. It has to be in the same plane as the thing you are measuring. A card lying on the table next to a box is a good reference for distances on that table, and a poor one for the height of the box, because the box top is closer to the camera. Perspective makes nearer things larger, so a ratio taken from one depth does not hold at another. Wide-angle lenses on phones make that worse towards the edges of the frame.
Why “is it uploaded?” is the real difference
A screen ruler never needs the thing you are measuring to leave your hands, so there is nothing to upload. This page has no file picker and sends nothing: it only knows how many pixels a distance covers on your screen, and it stores your calibration in the browser.
A photo tool has to read the image. Some do that entirely in the browser, so the file stays on your device; others send it to a server to process it. If you are measuring a private document, an ID card, a medical letter or a contract, that difference matters more than a millimetre of accuracy. Read the tool's privacy note before you upload, and prefer one that states it processes the image locally.
Which one to use
Use the screen ruler when:
- the object is small enough to sit on the screen;
- you have it in front of you right now;
- you need a real-world length in cm, mm or inches;
- you would rather not upload anything.
Use a photo measurement tool when:
- the object is in a picture and not in the room;
- you are measuring on a plan, a map or a screenshot;
- the photo contains a known-size reference in the same plane, such as a card, a coin, a sheet of A4 or a ruler;
- you need distances between points rather than the size of a physical edge.
Use a physical ruler or a tape when: the object is longer than the screen, or the measurement has consequences — fitting a part, cutting material, anything legal or medical.
If you only have a photo
There is no way to recover a real-world length from a photo that contains nothing of known size. Pixel counts alone describe the image, not the world, and the same object photographed from twice the distance has half the pixels for the same width.
The practical fix is to take the photo again with a reference in it: a bank card (85.60 mm), a coin (a US quarter is 24.26 mm, a 1 euro coin 23.25 mm), a sheet of A4 (210 mm by 297 mm), or a ruler. Put the reference in the same plane as the thing you are measuring, keep the camera square to that plane rather than tilted, and shoot from further back rather than zooming, because zoom compresses the depth cues the ratio depends on.
What this page does not do
This site measures objects against the screen. It has no image upload and does not report distances inside a photo or a screenshot. That is a deliberate limit, not a missing button: the ruler itself is built to be calibrated against your own display, and adding a pixel-measuring tool would need a different calibration method and a different privacy story.
If what you have is a photo, take the second photo with a card in frame and use a tool built for image measurement. If what you have is the object, the ruler on the home page is already calibrated for your screen.