Online Ruler
A cm, mm and inch ruler at real size on your screen, horizontal or vertical, with drag-to-read lengths
Calibrate the ruler (important for accuracy)
Hold a real bank or ID card against the rectangle below, then move the slider or press + and − until it matches the card exactly. The calibration is saved in your browser, so you only do it once.
What is an online ruler?
An online ruler draws a real ruler on your phone or computer screen, in centimeters and millimeters on one side and inches on the other, so you can hold a small object against the screen and measure its length easily. It helps when you have no paper ruler at hand to measure a small item, a picture, a ring size or the length of a screw.
Because every screen has a different pixel density, no website can know the real size of your screen automatically and accurately. That is why we added a simple bank card calibration that makes the lengths accurate on your device.
How to use the ruler and calibrate it
1Calibrate once
Place a bank or ID card against the rectangle in the calibration section and move the slider until its width matches the card (85.6 mm).
2Choose the direction
Horizontal for wide objects, vertical for long ones on a phone screen.
3Measure
Place the object at the start of the ruler (zero) and read the number at its end, or click and drag on the ruler to see the length in cm, mm and inches at once.
Why calibrate with a card?
Browsers work in default units that may not match the real screen size, and they vary from device to device. Bank and ID cards have a worldwide standard size (about 85.6 × 53.98 mm), making them an excellent reference. After calibration the ruler is accurate on the same device and the same browser zoom level; if you change the page zoom, calibrate again.
When is an online ruler useful?
- Measuring a small item such as a screw, button, ring or spare part.
- Measuring a picture or drawing on screen at its real size.
- Checking a length in inches when it is given in centimeters, or the reverse.
- Quick measurements at school or work when no ruler is available.
- Checking the size of a table or frame before buying.
Centimeter to inch conversion table
Common values for quick comparison (1 inch = 2.54 cm):
| Centimeters | Millimeters | Inches |
|---|---|---|
| 1 | 10 | 0.39 |
| 2.54 | 25.4 | 1 |
| 5 | 50 | 1.97 |
| 10 | 100 | 3.94 |
| 15 | 150 | 5.91 |
| 20 | 200 | 7.87 |
| 30 | 300 | 11.81 |
Accuracy limits
The ruler length is limited by your screen width, so it cannot measure something longer than the screen. Accuracy depends on the calibration and the display quality; it is suited to everyday approximate measurements. For precise engineering work use a real ruler or a dedicated measuring tool.
Tools you may find useful
For ages and dates try the age calculator, to write amounts in words number to words, and to count words and characters the word and character counter.
Frequently asked questions
Is the online ruler accurate?
It is accurate once calibrated with a bank card on your device, and suits everyday approximate measurements. Precise engineering work needs a real ruler.
How do I calibrate the ruler?
Place a bank or ID card on the rectangle in the calibration section and move the slider or press + and − until the sizes match. The calibration is saved automatically.
Can I measure in both centimeters and inches?
Yes. The ruler shows centimeters and millimeters on one side and inches on the other, and dragging shows the reading in all three units.
Does it work on mobile?
Yes, on phones, tablets and computers. Calibrate it once on your device because screen densities differ.
Why does the length differ from a real ruler?
Usually because the calibration was not set or you changed the page zoom. Calibrate again with a bank card.
How many centimeters are in an inch?
One inch equals 2.54 centimeters, or 25.4 millimeters.
How long can the ruler be?
About your screen width in horizontal mode and roughly your screen height in vertical mode, so you cannot measure anything longer than the screen.
Is the tool free?
Yes, completely free; it runs in your browser with no download or sign-up.