Online CM Ruler
Updated: November 2026
This online cm ruler shows real centimeters and millimeters on your screen, at actual size once calibrated. Lay a card, pen, screw or phone case against it, drag line B to the far end, and read the length in cm, mm and inches. It is a quick way to measure centimeters online with no app or download.
On-screen measurements depend on calibration.
Scale: 3.78 px per mm · default estimate, not calibrated yet. Calibrate below for actual size.
Calibrate the ruler to your screen
Pick whichever method is easiest. Changes save automatically on this device and carry over to every ruler page on this site.
Lay the object on the screen with its left edge on the dark line, then drag the red line to its right edge. On a phone, use the credit card: a banknote or A4 sheet is wider than most phone screens.
Or enter your screen details
Not sure of your PPI? Work it out with the PPI calculator for your screen. Best results come from the card method, at 100% browser zoom.
Quick answer: 1 cm = 10 mm · 1 inch = 2.54 cm. So 10 cm = 3.94 inches, and 30 cm = 11.81 inches.
What is an online cm ruler?
A centimeter ruler online draws the plastic-ruler scale in your browser: a long numbered line every centimeter, a medium line at each half centimeter, and nine small millimeter lines in between. It is free.
Screens come in many sizes, so the scale is only true after a one-time calibration against a credit card. Once set, this virtual cm ruler behaves like a real one: line the object up with zero, read the far end. As a screen ruler cm display, it also converts each reading to inches.
How to use this ruler in cm and mm
- 1
Calibrate once
Choose credit card, banknote or A4 above and match the red line to the object. That makes the ruler show cm ruler actual size readings, saved on this device.
- 2
Place your object
Lay the object on the screen with one end on line A, the zero mark. Look straight down so its end lines up exactly.
- 3
Drag line B
Drag line B to the far end. The readout shows the length in cm, mm and inches at once. Or type a value under Set a length to check a size first.
CM to mm and inches reference chart
The table below is the ruler in cm and mm, from half a centimeter to 30 cm. It also works as a ruler cm to inches converter for the sizes checked most: 10 cm for phone parts, 15 cm for stationery, 30 cm for parcels.
| cm | mm | Inches (decimal) | Nearest 1/16 inch |
|---|---|---|---|
| 0.5 | 5 | 0.197 | 3/16 |
| 1 | 10 | 0.394 | 3/8 |
| 2 | 20 | 0.787 | 13/16 |
| 3 | 30 | 1.181 | 1 3/16 |
| 5 | 50 | 1.969 | 1 15/16 |
| 10 | 100 | 3.937 | 3 15/16 |
| 15 | 150 | 5.906 | 5 7/8 |
| 20 | 200 | 7.874 | 7 7/8 |
| 25 | 250 | 9.843 | 9 13/16 |
| 30 | 300 | 11.811 | 11 13/16 |
Find your cm value, then take the mm, inch decimal or fraction from that row. Fractions round to the nearest sixteenth, so they can differ from the decimal by up to 0.8 mm.
Formulas and worked examples
Three formulas cover every conversion on this page.
cm to mm: multiply by 10 · mm to cm: divide by 10 · cm to inches: divide by 2.54
Worked example 1. A screw measures 47 mm: divide by 10 for 4.7 cm (4 cm and 7 mm).
Worked example 2. A notebook is 12.5 cm wide: × 10 gives 125 mm, ÷ 2.54 gives 4.92 inches. One measurement, three units: 12.5 cm = 125 mm = 4.92 in.
Worked example 3. A photo print listed as 6 inches wide is 6 × 2.54 = 15.24 cm: check it against the 15 cm mark.
How to read a cm ruler
Reading an online cm ruler uses the same three line lengths as a plastic one. Long lines carry numbers and sit exactly 1 cm apart. The medium line between two numbers marks the half centimeter, 5 mm. Short lines are single millimeters, nine in between. Count numbers first, then small lines.
How long is 1 cm? Use this 1 cm size comparison: an adult fingernail is roughly 1 cm wide, as is a standard paper staple. In the diagram the red marker sits 7 small lines past the 4: 4.7 cm, whole centimeters from the numbers, then millimeters from the small lines.
Common lengths in cm
| Length | Real object of about that size | In inches |
|---|---|---|
| 5 cm | An AA battery is 5.05 cm long | 1.97 |
| 10 cm | Four US quarters in a row, about 9.7 cm | 3.94 |
| 15 cm | A typical smartphone is 15 to 16 cm tall; a ballpoint pen is about 14 to 15 cm | 5.91 |
| 20 cm | A new pencil with its eraser, about 19 cm, is just under this | 7.87 |
| 21 cm | The short edge (width) of a sheet of A4 paper | 8.27 |
| 30 cm | A standard school ruler; the long edge of A4 is 29.7 cm | 11.81 |
cm vs inch at a glance
| cm | mm | Inches |
|---|---|---|
| 1 | 10 | 0.39 |
| 2.54 | 25.4 | 1 exactly |
| 5 | 50 | 1.97 |
| 10 | 100 | 3.94 |
| 15 | 150 | 5.91 |
| 30 | 300 | 11.81 |
Which cm ruler size do you need? (15, 20, 30 cm)
A 15 cm ruler online covers phones, pens, cards and most small parts. A 20 cm ruler online adds book widths and nearly spans the 21 cm short edge of A4. A 30 cm ruler online matches a school ruler and the 29.7 cm long edge of A4, but on most screens you measure it in two parts. For fabric or furniture, use a tape measure. The MM Ruler Online home ruler shows the same method in millimeters.
Real-world examples and use cases
Most people open an online cm ruler for small, flat things. Calibrated, it is a real size cm ruler whose readings you can trust in a form or listing.
- Phone cases and screen protectors. Check case width first, so a 7.5 cm case is not bought for a 7.9 cm phone.
- Screws and bolts. A screw reading 0.6 cm across is an M6.
- Parcels and post. Measure a small parcel’s longest side in cm for the courier form, then check the chart above.
- School and sewing. Homework lengths, 1 cm seam allowances and button sizes read straight off the scale. For paper copies, use the printable MM ruler at actual size.
Accuracy tips and common mistakes
- Calibrate on every device. Calibration is saved per device, so phone and laptop each need their own setup.
- Measure at 100% zoom. If the cm scale on screen looks off after zooming, recalibrate at that zoom.
- Start at zero, not the screen edge. The commonest mistake is lining the object up with the edge of the ruler strip, not line A.
- Do not mix the sides. In inch mode the marks are fractions of an inch, not millimeters. Check the unit buttons first.
- Mind glass and cases. Thick glass and raised cases shift the object slightly. After calibration the scale is typically accurate to about a millimeter over 10 cm: fine for everyday checks, not engineering.
Measuring something tall on a phone? Switch to the vertical ruler, which runs top to bottom and nearly doubles the length you can measure.
No screen big enough? Learn how to measure without a ruler using a card, paper or coins.
Reading the cm ruler at a glance
Long numbered lines are whole centimeters, the middle tick is 5 mm and the short ticks are millimeters. Need a fixed length? Open the 30 cm ruler on a laptop or the 15 cm ruler on a phone. To convert what you read, use cm to inches or cm to mm.
Frequently asked questions
How many mm in a cm?
There are exactly 10 mm in 1 cm. The centimeter is one hundredth of a meter and the millimeter one thousandth, so they divide evenly. Multiply cm by 10 for mm: 4 cm is 40 mm, 12.5 cm is 125 mm. Divide by 10 to go back.
How big is 10 cm?
10 cm is 100 mm, or 3.94 inches. For a quick 1 cm size comparison scaled up, picture four US quarters in a row: at 24.26 mm each they total about 9.7 cm. An adult palm, without the thumb, is also roughly 10 cm wide.
How to measure height in cm?
Stand barefoot against a wall, heels and back touching it, looking straight ahead. Lay a flat book on your head, level with the wall, and mark where its lower edge meets the wall. Measure floor to mark in cm: 170 cm equals 5 feet 7 inches.
How to read cm on a ruler?
Find the last numbered centimeter line your object passes, then count the small lines after it. Each small line is 1 mm; the medium line halfway along is 5 mm. An edge 7 lines past the 4 reads 4.7 cm, or 47 mm.
Is there a cm ruler for mobile?
Yes. This page works as a cm ruler for phone browsers on iPhone and Android, nothing to install. Calibrate once with a credit card, then measure. Rotate sideways for a longer scale, and measure anything over about 15 cm in two parts.
How to convert cm to inches?
Divide cm by 2.54, because 1 inch is exactly 2.54 cm. So 30 cm is 11.81 inches and 10 cm is 3.94 inches. For a rough estimate divide by 2.5 instead; the result is close, then adjust slightly downward for a better answer.
More Free Measuring Tools
Measurements on a screen are approximate. Do not use this tool for medical, safety or engineering decisions.
