Polyatic Ruler
All tools

Ruler at actual size

Centimetres and inches at real size on your screen, once you match a bank card. Or print one.

Calibrate

Measure between two points

Measure in a photo

Photograph the thing with a bank card or a sheet of A4 or Letter lying flat on the same surface. Tap the reference’s corners, then tap two points for each length. The photo stays on this device.

No photo yet. For the best result, shoot from straight above, keep the card or sheet flat and fully in the picture, and put what you measure on the same table, floor or wall.

Reference in the photo

Show lengths in

No lengths yet.

    • Only lengths on the same flat surface as the card or sheet are right. Anything nearer the camera or farther away, such as a person standing beside a card on a table or the depth of a box, comes out wrong.
    • A length you know has no perspective correction: it is right only if the photo was taken straight on, and only along that surface.
    • The ± is how far the answer moves if each tapped point is one photo pixel off. A bent card, curled paper, a wide-angle lens’s bulge near the edges and a blurry corner add error on top.

    How to use the ruler at real size

    1. Take any bank card, ID card, driving licence or loyalty card: they share one size, 85.60 × 53.98 mm (ISO/IEC 7810 ID-1).
    2. Lay it flat on the screen with its corner in the outline's corner. Drag the outline, or use the slider and the ±1 px buttons, until the outline's edges just meet the card's edges.
    3. Press Save calibration. The page shows a card-sized box: the card should now fit it exactly.
    4. Hold the object against the ruler, with one end on 0. Read centimetres on one edge and inches on the other. For something longer, press Next and read on from the new start.
    5. To read a distance as a number, drag from one point to the other in the measure area. Press Full screen for the longest ruler your screen can show.

    Printing a ruler that is really true size

    Press Print a ruler (PDF), pick the edges (centimetres with a tick every millimetre, inches with a tick every 1/16, or one of each), the length and A4 or Letter, and download. The sheet is drawn in PDF points, 72 to the inch, so 1 cm is exactly 28.35 points and a printer set to 100 % puts it on paper at that size. The rulers fill the left of the sheet side by side with dashed cut lines; the right holds the scale check.

    The one setting that ruins it is Fit to page, which many print dialogs pick by themselves. It shrinks the sheet to fit inside the printer's margins. Worked example: a printer that cannot print the outer 5 mm has 287 mm left of A4's 297 mm, so fit to page scales everything to 287 ÷ 297 = 96.6 %, and the 10 cm bar comes out 96.6 mm. That is why every sheet carries a 10 cm bar, a 4 in bar (101.6 mm) and a bank-card outline (85.60 × 53.98 mm): lay a ruler you trust on the bar, or a real card on the outline, before you measure anything.

    A 30 cm or 12 in ruler is longer than the page (A4 is 297 mm, Letter 279.4 mm), so it prints in two parts that overlap by 2 cm (1 in for inches). Each part carries the same two numbered Join marks; lay part 2 over the end of part 1 so the marks sit on each other, and tape. Gluing the strip onto thin card makes it stiffer and slower to curl.

    Measuring something in a photo

    A bank card is the same 85.60 × 53.98 mm everywhere, and an A4 or Letter sheet has a fixed size too, so a photo with one lying flat in it carries its own scale. Open the photo under Measure in a photo, choose the reference, and tap its four corners. The page fits a perspective map (a homography: eight numbers that turn photo pixels into millimetres on the card’s plane) through those corners. Then tap the two ends of anything on the same surface: the map undoes the angle the photo was taken at, so a line that runs away from the camera reads its true length.

    Worked example: a card and a 100 mm line on a table, photographed with the table tilted 35° away from the camera. In the photo the card’s two long edges differ in length by about 9 %, and its corners no longer make a rectangle. Scaling by the card’s width alone reads the line as about 87 mm; with the four corners the page reads 100.0 mm, ± about 0.4 mm on a 1000 px photo. The ± is how far the answer moves if each tapped point is one photo pixel off, so a sharper, closer photo with the card large in the frame gives a smaller ±. Use the magnifier that appears under your finger to put each corner on the card’s real corner (on round card corners, where the straight edges would meet), and drag any point to fix it. Save PNG keeps the photo at its own size with every length drawn on it.

    No card or sheet? Choose A length I know, tap both ends of something whose length you know (a tile, a door, a printed ruler) and type it. That is a plain scale with no perspective correction, so take the photo square on, with the camera facing the surface.

    Why a screen ruler has to be calibrated

    Browsers treat 96 pixels as one inch, but no rule makes a screen agree. Worked example: a 15.6-inch laptop with 1920 × 1080 pixels has a diagonal of √(1920² + 1080²) = 2,203 pixels, so 141 pixels per inch, 5.56 per millimetre. At 100 % display scaling a "96-pixel inch" on that screen is 17.3 mm long; at 125 % scaling it is 21.6 mm. A ruler that trusts the browser is off by 15 % or more in either direction. Matching a real card measures your screen's own pixels per millimetre instead, and the page stores that one number.

    Which method to pick: the card is the most exact because it is the largest common object, 85.60 mm long. A coin works when no card is to hand, but it is about 24 mm across, so the same 1 px slip makes an error about 3.5 times larger. Typing the diagonal needs nothing at all, but it depends on the size the browser reports (see below).

    What it cannot do

    • It is only as exact as your calibration. On this screen a 1 px mismatch in the card outline makes every length off by about 0.2 %. Matching to the nearest pixel is the limit; the ruler's ticks are drawn to the pixel too.
    • Browser zoom changes it. Zooming makes every pixel of the page bigger or smaller, so the page watches the pixel ratio and, if it changes, asks you to reset the zoom (Ctrl+0) or recalibrate. Moving the window to another monitor needs a new calibration, too.
    • The screen-size method trusts what the browser reports. On a Mac set to a "scaled" resolution, and on many phones, the reported pixel count is not the panel's real one, so that method can be several percent off. A quoted diagonal is rounded as well: 0.05 in on 15.6 in is already 0.3 %. Use a card when it matters.
    • It is not for anything that must be certified or legally measured: it is not a calibrated instrument, and glass thickness and viewing angle (parallax) add their own error when you hold an object against a screen.
    • A phone or laptop screen is short. Longer lengths need the Next button and careful marking, and each step adds error.
    • A printed ruler is only as true as the printer. Even at 100 % a home printer can be off by a fraction of a percent, and the sheet's own check is how you find out: against a ruler you trust, the 10 cm bar shows an error of 1 mm in 100 mm (1 %) plainly, but a 0.2 mm miss is hard to see by eye. Paper stretches and shrinks a little with damp and heat, and a cut strip curls. It is not a certified measuring instrument either.
    • The name on a printed ruler uses the PDF's built-in Helvetica, which covers Latin letters with Western European accents; other characters (Greek, Cyrillic, Chinese, emoji) print as ?.
    • Measuring in a photo is right only on the flat surface the card or sheet lies on. A person standing beside a card on the floor, the height of a box sitting on the sheet, or anything nearer the camera or farther away reads wrong, because one photo does not record depth. With a length I know there is no perspective correction at all, so it is right only straight on. A bent card, curled paper, a wide-angle lens’s bulge near the picture’s edges and a blurry corner add error that the ± does not include.
    • It is not the right tool for a ring: a ruler held across a ring is too coarse for sizes that are 0.2 mm apart. The ring sizer uses this same calibration to fit a circle inside the ring and gives the size in five systems.

    Privacy

    Nothing leaves your device. The only thing saved is the calibration, as one number of pixels per millimetre with the pixel ratio and method, in this browser's local storage under polyatic-ruler; Clear saved calibration deletes it. The printed ruler is made in this page, and the name you type on it never leaves the browser. A photo you open to measure is read by this page from your device and drawn on the screen here; it is never uploaded, and the saved PNG is made in the page too. Nothing about the photo or its measurements is stored. The page sends an anonymous page-view count and one of four fixed words, ruler-calibrate, ruler-measure, ruler-print and ruler-photo (once per visit; polyatic-ruler-print-sent and polyatic-ruler-photo-sent flags in session storage, gone when the tab closes, stop a repeat), never a measurement, a photo or a name.

    Questions

    Is an online ruler actual size?

    Only after calibration. A web page cannot read how many pixels your screen packs into a millimetre, and the browser's own idea (96 pixels to the inch) is wrong on almost every screen. Match a bank card to the outline once and the ruler is real size to within about the width of one pixel on the card, typically 0.2 % to 0.3 %.

    Can I use a ruler on my phone?

    Yes. On a phone held upright the ruler runs down the long side of the screen. Calibrate with a card: the outline stands upright so a card fits, and you slide until its edges meet. Then lay the object along the screen. Tap Full screen for the longest ruler the phone allows; on iPhone the page fills Safari's window instead, because iPhone Safari has no full-screen mode for web pages.

    How do I measure in mm on screen?

    The top edge (the left edge on a phone) is in centimetres with a tick for every millimetre and a longer one at each half centimetre. For a figure, use the measure area: drag from one point to the other and it shows the distance in millimetres to one decimal, in centimetres and in inches.

    How do I see inches at actual size?

    Calibrate first, then read the bottom edge (the right edge on a phone): whole inches are numbered, with ticks at each 1/2, 1/4, 1/8 and 1/16 inch. The measure tool also gives inches to two decimals and to the nearest sixteenth, for example 3.94 in, about 3 15/16 in.

    How do I measure something longer than my screen?

    Press Next. The ruler moves on by a whole number of centimetres and shows its new start, for example From 20.0 cm. Mark the object where the last visible tick was, slide that mark back to the start of the ruler and read on. Each move adds a little error, so for long lengths a tape measure is better.

    How do I print a ruler at actual size?

    Press Print a ruler, pick the edges, length and paper, and download the PDF. In the print dialog choose 100 % or Actual size, never Fit to page: fit to page shrinks the sheet so it fits inside the printer's margins, often by 3 to 4 %. Then lay a ruler you trust on the 10 cm bar, or a bank card on the card outline. If the bar is not 100 mm, the print was scaled; print again. A 30 cm or 12 inch ruler is longer than an A4 or Letter page, so it prints in two parts that you tape together at the Join marks.

    Made with AI tools. · Privacy