Measure Kit › Free tools › Online Ruler
Free browser tool

Online ruler: real size in cm, mm and inches

Hold a bank card to your screen, match its width once, and this ruler shows true centimetres, millimetres and inches on your phone, tablet or computer.

1. Calibrate once with a bank card

Lay a credit or debit card flat on the screen and drag the slider until the grey shape is exactly as wide as the card. A standard card is 85.6 mm wide.

On this screen 1 cm = 37.8 pixels. Your setting is remembered in this browser only.

2. Measure
123456789101112131415161718192021222324252627282930

Scroll the ruler sideways to measure longer objects. Check it once against a real ruler.

Quick answer

This online ruler is accurate only after you calibrate it. A web page cannot know how big your screen really is, so you match the grey shape to a bank card, which is 85.6 mm wide, and the ruler scales from that. After that it shows centimetres and millimetres or inches in sixteenths, and your setting is remembered in this browser.

Key facts
UnitsCentimetres with millimetre marks, or inches in 1/16 steps
CalibrationMatch a bank card (85.6 mm wide) once; saved in your browser
LengthUp to 30 cm or 12 in, scroll sideways for the rest
CostFree, no sign-up, nothing is uploaded

By Ship AI Lab. Last updated .

Why an online ruler needs calibrating

Web pages draw in CSS pixels, and a CSS pixel is only defined as a fixed fraction of an inch on paper. On a real phone or laptop, the physical size of a pixel varies with the screen, the zoom level and the display scaling. That is why a ruler that assumes a standard pixel size is often off by several percent.

A bank card gives you a known length that you can hold against the glass. A standard ID-1 card is 85.60 mm wide and 53.98 mm tall, the same everywhere. Once you stretch the grey shape to match it, the page knows how many screen pixels make a millimetre on your device.

Reading centimetres, millimetres and inches

In centimetre mode the long marks are whole centimetres with numbers, the medium marks are half centimetres and the short marks are millimetres. In inch mode the long marks are whole inches, and the shorter marks go down through half, quarter, eighth and sixteenth of an inch. One inch is exactly 25.4 millimetres, so you can check a reading either way.

Hold the object flat against the screen with its edge on the zero mark, then read where the other end falls. A screen is glass over a display, so look straight down at the mark to avoid reading it at an angle.

How to use the online ruler

  1. Calibrate with a cardLay a credit or debit card on the screen. Drag the slider until the grey shape is exactly as wide as the card.
  2. Pick your unitSwitch between centimetres with millimetres, or inches in sixteenths.
  3. MeasurePut the edge of the object on zero and read the other end. Scroll sideways for anything longer than the screen.

What this ruler cannot do

Online Ruler questions, answered

How do I get an actual-size ruler on my screen?

Calibrate it with a bank card. Lay the card on the screen, drag the slider until the grey shape matches the card’s width, and the ruler then shows real centimetres and inches on that device.

Is an online ruler accurate?

Only as accurate as the calibration. A card is a good reference, but you should check the result against a real ruler, and calibrate again after changing zoom or rotating the screen.

How wide is a credit card?

A standard bank card is 85.60 mm wide and 53.98 mm tall (ISO/IEC 7810 ID-1), which is about 3.37 by 2.13 inches.

Can I use it on my phone?

Yes. It works in a phone browser. Because phone screens are small, scroll the ruler sideways to measure longer objects.

Does the online ruler store anything?

It remembers your calibration in your browser so you do not repeat it. Nothing is uploaded, and no account is needed.

Take it with you

Want the ruler in your pocket, with two draggable handles and no browser? Measure Kit’s ruler works offline. See the ruler in the app.

GET IT ONGoogle Play

Available on Android. iPhone and iPad coming soon. No account, no ads.