How to use the online ruler
- Calibrate once. Press Calibrate with a card, hold any bank card, debit card, ID card or driver’s license against the screen, and resize the box until it is exactly as long as the card. Press Save calibration. If you know your screen size, Use my screen size works too.
- Line up the object with zero. Lay it flat on the screen, or hold it against the screen, with one end on the zero mark. Press gently; a phone or laptop screen is not built to take weight.
- Read the length. Read the centimeters and millimeters along the top edge, or the inches along the bottom edge. For a precise figure, drag the second blue marker to the other end and read the distance above the ruler.
- Measure between any two points. Both markers move, so you can measure a gap in the middle of something, such as the space between two holes, without starting at zero.
On a phone the ruler runs down the long side of the screen, because that gives the most length. Use the Horizontal ruler and Vertical ruler button to switch at any time. On a computer, Full screen uses the whole width of the display and starts the ruler at the very edge of the screen, so you can butt the object against the bezel.
Why a screen ruler needs calibrating
Every screen packs a different number of pixels into each inch. A 24-inch Full HD monitor has about 92 pixels per inch, a 13-inch laptop can have more than twice that, and a phone more again, with the system scaling things up so text stays readable. Web pages are not told the physical size of your screen, only its resolution, so a ruler drawn without help is just a guess.
Calibration fixes that by comparing the screen with something of a known size. Bank cards are ideal because every one is made to the same international standard: 85.60 mm by 53.98 mm (3.370 by 2.125 inches). Once you match the box to the card, the ruler knows exactly how many pixels make a millimeter on your screen. The screen-size method works it out from the diagonal instead, using the resolution your device reports; it is quick, but screen sizes are often rounded in adverts, so the card method is usually a little more accurate.
The calibration is remembered for this screen in this browser. If you move the window to another monitor, or the page zoom changes in a way the ruler can’t correct, a warning appears and asks you to calibrate again.
Check the ruler with everyday objects
After calibrating, lay something of a known size on the ruler to confirm it reads correctly. Coins work well because their sizes are set by law and they don’t bend:
| Object | Size | In inches |
|---|---|---|
| US quarter | 24.26 mm | 0.955 in |
| US penny | 19.05 mm | 0.750 in |
| 1 euro coin | 23.25 mm | 0.915 in |
| 2 euro coin | 25.75 mm | 1.014 in |
| Bank card, long side | 85.60 mm | 3.370 in |
| Bank card, short side | 53.98 mm | 2.125 in |
Coin sizes are the diameters published by the US Mint and the European Commission. If a coin reads half a millimeter long or short, that is the limit of matching by eye; repeat the card calibration slowly, looking straight at the screen rather than from an angle.
How to read a ruler in centimeters and inches
Centimeters and millimeters
The metric edge has a line every millimeter. The longest, numbered lines are whole centimeters, and the medium lines halfway between them mark 5 mm. Count the centimeters, then the small lines after the last number: 4 centimeters and 7 small lines is 4.7 cm, or 47 mm.
Inches and fractions
The inch edge is divided into sixteenths, like a tape measure. The numbered lines are whole inches; the next longest is the half inch, then quarters, then eighths, and the shortest lines are sixteenths. Something that ends three short lines past the 2 is 2 3/16 inches. The distance readout shows both the decimal inches and the nearest sixteenth, so you don’t need to count.
Tips for an accurate measurement
- Keep the page zoom at 100%. Press Ctrl+0, or Cmd+0 on a Mac, before you calibrate and before you measure.
- Measure from the zero line, not the edge of the window. Outside full screen there is a margin between the screen edge and the ruler.
- Use both markers. Dragging a marker to each end of the object and reading the distance is more precise than counting small lines by eye.
- Look straight down at the screen. Viewing at an angle makes the object seem to line up with a different mark.
- Calibrate again after changing display settings. A new resolution, a different scaling percentage or a new monitor all change how big a pixel is.
- Hold flexible things flat. A curled receipt or ribbon measures short; tape it down or press it gently against the glass.
Good uses for an online ruler
- Screws, bolts, nails and drill bits, to pick the right size at the store.
- Rings and bracelets: wrap a strip of paper around your finger, mark where it overlaps, and measure the strip to get the circumference.
- Phone cases, cards, photos and stamps, to check sizes before you buy a frame or sleeve.
- Buttons, beads and jewelry parts for crafts.
- Checking a printout: if a page was printed “fit to page”, a 10 cm line will measure short.
Limits worth knowing
The ruler can only be as long as your screen, and it is most accurate when you look straight at it, because the glass on top of the screen makes edges seem to shift when viewed at an angle. Curved monitors bend the scale near the edges. For anything that needs better than half a millimeter, use calipers. Calibration is stored only in your browser and nothing about your screen is sent anywhere. To check the screen itself, try our screen resolution checker or the monitor test, and to convert a measurement, use the unit converter.
Frequently asked questions
Is this online ruler really actual size?
After you calibrate it, yes, to within about half a millimeter on most screens. Before calibration it uses the web’s standard of 96 pixels per inch, which matches few real screens, so a phone can show it too small and a large monitor too big. Calibrating with a bank card takes about ten seconds and is saved in this browser.
How do I calibrate the ruler without a credit card?
Any bank card, debit card, driver’s license, ID card or gift card works, because they are all made to the same 85.60 mm size. You can also use the short edge of a sheet of A4 or US Letter paper, or type in your screen’s diagonal size if you know it, such as 15.6 inches for many laptops.
Why did the ruler change size when I zoomed the page?
Zooming makes everything on the page larger or smaller, including the ruler. When the browser tells the page about the new zoom, the ruler corrects itself; when the change can’t be told apart from a different screen, a warning asks you to calibrate again. Not every browser reports zoom, so the safest habit is to reset it to 100% (Ctrl+0, or Cmd+0 on a Mac) before you measure. On a phone, pinch back out fully if you have zoomed in.
Can I use my phone as a ruler?
Yes. On a phone the ruler turns to run along the long side of the screen, which gives you about 12 to 15 centimeters, or 5 to 6 inches. Calibrate it once with a card, then lay the object along the screen and drag the markers to its ends.
How do I measure something longer than my screen?
Measure it in steps. Line up the object with zero, note where the screen ends, slide the object back by exactly that length using a pencil mark, and add the pieces up. For long items a tape measure is quicker; this ruler is best for small things like screws, jewelry, cards, phone cases and paper.
Is the calibration stored anywhere?
Only in this browser on this device, so the next visit starts with the right size. Nothing is uploaded. Clearing your browser data, using a private window or opening the page on another screen means calibrating again, and the Forget calibration button removes it at any time.