How to use the online ruler
- Calibrate once. Press Calibrate, hold a bank card against the screen and match the outline. Then check with the circle that appears: a US quarter should cover it exactly.
- Measure. Put the object against the ruler and drag the red lines to its start and end – or tap near a line to move it there. The reading shows in both cm and inches.
- Go full screen on a phone to measure right from the edge of the screen.
Why you have to calibrate
Screens differ enormously: a centimetre on a phone is a very different number of pixels than on a 27-inch monitor, and browsers aren't allowed to tell web pages the physical size of your screen. The CSS “cm” unit is fixed to pixels, not to real centimetres. That's why any online ruler that skips calibration is only a guess – often off by 10–25%.
Every bank card, ID card and driving licence uses the same ID-1 size of 85.60 × 53.98 mm, which makes it a perfect reference that almost everyone carries. The long side is used, because a longer reference makes small alignment errors matter less.
Tips for accurate results
- Keep browser zoom at 100%. If you zoom, the page warns you and switches to an estimate.
- Hold the card flat against the glass and look straight at it, not from an angle.
- Calibrate once per screen. Laptop and external monitor each keep their own setting; rotating a phone doesn't need a new one.
- No card? Enter your screen's diagonal (for example 15.6 inches). It's quicker but less exact.
Measure longer than your screen
Most online rulers stop at the edge of your screen. Here, press Mark & continue: the current length is added to a running total and the ruler starts again from zero. Slide your screen along the object, line up again, and repeat. The total shows how many parts you've added.
cm, mm and inches
Switch between centimetres (with millimetre marks) and inches (with 1/2, 1/4, 1/8 and 1/16 marks). The reading always shows the other unit too, so the ruler doubles as a quick cm-to-inch converter. One inch is exactly 25.4 mm.
What you can measure
- Small items: screws, batteries, buttons, jewellery, printed photos.
- Paper sizes and labels, or a drawing's dimensions.
- Ring sizes – our ring size tool uses the same calibration, so you only calibrate once.
The calibration is a single number stored in your browser. Nothing is uploaded.
Frequently asked questions
Is this online ruler really actual size?
After you calibrate it, yes – usually to within about half a millimetre over 10 cm. Browsers don't know how big your screen physically is, so without calibration the ruler is only an estimate. Calibrating takes 20 seconds with any bank or ID card.
How do I calibrate the ruler?
Press Calibrate, hold a credit-card-size card (bank card, ID card, loyalty card) flat against the screen, and drag until the outline matches the card exactly. Every ID-1 card is 85.60 × 53.98 mm, so it's a precise reference. The setting is saved on your device.
Why do I need to calibrate again sometimes?
If you change the browser zoom, move the window to another monitor or change display scaling, the size of a pixel changes. The ruler notices this, shows a warning and uses an estimate until you re-check. Turning your phone doesn't need a new calibration.
How do I measure something longer than my screen?
Line the object up with 0, drag the second red line to the far end of the screen, and press “Mark & continue”. Move the screen so the mark lines up with the start again, and measure the rest. The page adds up the total for you.
Can I use it on my phone?
Yes. On phones the ruler runs down the long side of the screen. Use full screen to measure right from the edge, and calibrate once with a card for accuracy.
How many centimetres are in an inch?
One inch is exactly 2.54 cm (25.4 mm). The ruler shows both units at once, and inches down to 1/16.
Sources
- ISO/IEC 7810 ID-1 card format: 85.60 × 53.98 mm (bank cards, ID cards, driving licences).
- MDN Web Docs: CSS length units – why a CSS centimetre isn't a real centimetre on screens.
- CSS Working Group issue #708: screens anchor CSS units to the pixel, not physical size.
Updated: