Free tool by DigiAcción

Accurate online ruler in cm and mm at actual size

A free on-screen ruler with no sign-up, made by DigiAcción, a digital marketing agency in Andorra. Calibrate it with a credit card, measure in centimeters and millimeters, or type a length to see how big 5 or 10 cm really is.

  • Free
  • No sign-up
  • Card calibration

Length0

25, 20, 15, 10 and 5 cm rulers at actual size

They use the same calibration as the main ruler: once your screen is calibrated, each one is exactly as long as its label. See at a glance how big 5, 10 or 20 cm is. Until you calibrate, lengths are approximate.

25 cm ruler: how big is 25 cm

20 cm ruler: how long is 20 cm

15 cm ruler: how long is 15 cm

10 cm ruler: how big is 10 cm

5 cm ruler: how big is 5 cm

Swipe to see the whole ruler

How to use the actual size ruler on your screen

Four steps to measure correctly and two tips to keep it accurate.

Calibrate with a card

Press Calibrate, hold a credit card against the drawing and adjust it until both are the same width. Then save the calibration.

Or enter your diagonal

If you know your screen size in inches, type it in and press Apply. Then check against an object of known size.

Put the object at zero

Line one end up with the 0 mark, which sits slightly inward, not with the edge of the screen.

Drag the marker or type a length

Move it to the other end, tap that point or type the length in Go to a length. The arrow keys move it one millimeter at a time.

Go full screen

You get more room for long objects. On a phone, turn it sideways. Press Esc or the same button to exit.

Recalibrate after changes

The setting is saved in this browser. Do it again if you switch browser or screen, or if zoom isn't at 100%.

Credit card size and other reference measurements

Objects with a standard size you can use to calibrate the ruler or check that it measures right.

ObjectSizeIn inches
Credit card (ISO/IEC 7810 ID-1)85.60 x 53.98 mm3.370 x 2.125 in
Card thickness0.76 mm0.030 in
US Letter sheet215.9 x 279.4 mm8.5 x 11 in
A4 sheet210 x 297 mm8.27 x 11.69 in
US quarter (diameter)24.26 mm0.955 in
US penny (diameter)19.05 mm0.750 in

How many mm in a cm: conversion chart

A centimeter has 10 millimeters. The chart adds the inch, which is exactly 25.4 mm.

CentimetersMillimetersInches (approx.)
0.1 cm1 mm0.04 in
1 cm10 mm0.39 in
2.54 cm25.4 mm1 in (exact)
5 cm50 mm1.97 in
10 cm100 mm3.94 in
15 cm150 mm5.91 in
20 cm200 mm7.87 in
30 cm300 mm11.81 in

Online ruler FAQ: accuracy, phones and sizes

Yes, as long as you calibrate it. Without calibration the browser doesn't know your screen's physical size, so on some phones a centimeter comes out 3 to 4 mm short. Calibrated with a credit card, the error on small objects stays within a few tenths of a millimeter.

Yes. Open this page on your phone, tap Calibrate and match the drawing to a credit card held on the screen. Save the calibration, line the object up with zero and drag the marker to its end. Turn the phone sideways if you need more than 6 or 7 cm.

There is nothing to install: this page draws a centimeter and millimeter ruler in your browser, with inches along the bottom, plus fixed 5 to 25 cm rulers underneath. Calibrate it once with a credit card or your screen diagonal and it is ready to measure in that browser.

Calibrate the ruler, then type 1 in Go to a length: the marker moves to 1 cm (10 mm). You can also select the marker and press the right arrow key ten times, since each press moves it 1 mm. The distance from zero to the marker is one real centimeter.

One millimeter is the gap between two small lines on the ruler, a tenth of a centimeter. A credit card is 0.76 mm thick, so a millimeter is a little more than the thickness of a credit card.

20 cm is 200 millimeters, about 7.87 inches: on a ruler, the distance from 0 to the long line marked 20. This page has a fixed 20 cm ruler at actual size below the main one, or you can type 20 in Go to a length to move the marker there. On a phone it won't fit on one screen, so swipe along the fixed ruler.

30 cm is 300 mm, about 11.81 inches, just under a foot (12 inches is 30.48 cm). It is 3 mm longer than an A4 sheet (29.7 cm) and about 2 cm longer than a sheet of US Letter paper (27.94 cm). On a laptop, type 30 in Go to a length to see it on screen; if it doesn't fit, the ruler tells you how much does.

There are 10 millimeters in a centimeter and 1,000 in a meter. To convert centimeters to millimeters, multiply by 10: 4.5 cm is 45 mm. One inch is exactly 25.4 mm, or 2.54 cm.

Credit and debit cards follow the ISO/IEC 7810 ID-1 format: 85.60 mm long, 53.98 mm high and 0.76 mm thick, about 3.370 x 2.125 inches. Because the size is the same everywhere, a card works for calibrating on-screen rulers in any country.

The iPhone includes Apple's Measure app, which uses the camera to measure objects around you. For small items you hold against the screen, this on-screen ruler works in Safari with no app; calibrate it first so the millimeters match your screen.

Use an object of known size: a credit card is 85.60 x 53.98 mm, a US quarter is 24.26 mm across and a sheet of US Letter paper is 8.5 x 11 inches. Body measures such as a finger width vary from person to person, so measure yours once with a calibrated ruler.

When you switch browser, device or monitor, and whenever browser zoom isn't at 100%, because zoom stretches or shrinks the ruler. Calibration is saved per browser, so another computer needs its own. Clearing your browsing data removes it too.

Guide to the online ruler in cm and mm

How to calibrate it, how to measure well and what is behind a centimeter on screen

What a virtual ruler is and what it is for

A virtual ruler is a ruler drawn on your screen that, once adjusted, measures like a plastic one. This one shows centimeters and millimeters along the top and inches along the bottom, and it has a marker you can drag to read the exact length from zero to that point, plus fixed 5, 10, 15, 20 and 25 cm rulers underneath.

It won't replace calipers or a tape measure for workshop jobs, but once calibrated it gives reliable readings, within a few tenths of a millimeter, for anything that fits on the screen.

What you can measure with a ruler on screen

It gets you out of a jam when there is no ruler around:

  • The diameter of a button, a screw, a battery or a ring.
  • A small part before you order a replacement or a case.
  • The size of a label, a photo or a printed card.
  • What 1, 5 or 10 cm really looks like when a product page gives a size you can't picture.

Why an actual size ruler in cm needs calibration

Your browser doesn't know how big your screen physically is. It draws in CSS pixels, and the W3C CSS units specification sets 1 inch at 96 of those pixels and 1 cm at 96/2.54, about 37.8. On screens, the W3C recommends anchoring lengths to the pixel, and it warns that physical units may then not match their real-world size.

Why an online ruler isn't accurate until you calibrate it

Every screen has its own pixel density (pixels per inch), and the operating system applies scaling so text isn't tiny. As a result, those 37.8 pixels can take up more or less than a centimeter. Two worked examples:

  • On a 15.6-inch laptop at 1920 x 1080 with Windows scaling at 125%, an uncalibrated centimeter is drawn about 8.5 mm long.
  • On a phone with 400 to 460 pixels per inch and 3x scaling, it shrinks to about 6.3 to 7.2 mm.

That's why the tool tells you the reading is approximate until you calibrate. Calibration tells the ruler how many pixels make a millimeter on your screen and corrects the difference.

How to calibrate the ruler to actual size

Press Calibrate and pick one of the two methods. Both end the same way: press Save calibration and the ruler remembers the setting in that browser. It is stored only on your device and sent nowhere. If something goes wrong, Reset takes you back to the start. The same calibration applies to the main ruler and to the fixed 5 to 25 cm rulers.

With a credit or debit card

Credit cards follow the ISO/IEC 7810 ID-1 format: 85.60 x 53.98 mm (3.370 x 2.125 inches). Hold the card horizontally against the card drawing in the panel, without pressing, and move the slider or the Smaller and Larger buttons until both edges line up.

It is the most reliable method because you compare against a physical object, and the error it leaves is small: if you are half a millimeter off over the card's 85.6 mm, the error is 0.6%, about six tenths of a millimeter every 10 cm.

With your screen diagonal

If you know your screen's diagonal in inches (it's on the spec sheet of your laptop, monitor or phone), type it in and press Apply. The ruler works out the pixels per inch from the resolution the browser reports. It's quick, but it depends on that figure being right: with external monitors, several displays or unusual scaling it can miss. Check the result afterward with a card or any object of known size.

How to measure in cm and mm with the online ruler

Once the ruler is calibrated, place the object on the screen with one end at zero. Zero isn't at the edge of the screen but slightly inward, so always line up with the 0 mark. Then drag the marker to the other end, or click or tap the point on the ruler where the object ends. The reading shows centimeters, with up to two decimals, and millimeters in parentheses.

To fine-tune, select the marker and use the arrow keys: each press moves it 1 mm, and 1 cm with Shift held down. The Home key sends it back to zero. For long objects, press Full screen to gain room, and press Esc to leave.

If you already know the length you want, type it in Go to a length, next to the reading: type 7 and the marker moves to 7 cm. It accepts decimals, and if you switch to inches, the number is read in inches.

How to read centimeters and millimeters on a ruler

On the top scale, the long numbered lines mark each centimeter, the slightly shorter middle line marks half a centimeter (5 mm), and the small lines mark each millimeter. There are 10 millimeters between two numbers. If an object reaches the third small line after 4, it is 4.3 cm, or 43 mm, long.

Tips to make it measure like a real ruler

Calibration fixes the scale, but a few details still change the reading:

  • Keep zoom at 100%. If you zoom the page in or out, the ruler stretches or shrinks with it. Go back to 100% (Ctrl + 0 on Windows, Command + 0 on Mac) or calibrate again.
  • Look straight on. Screen glass has thickness, so at an angle the edge of the object seems to fall on a different line. A tempered glass protector makes it worse.
  • Don't press down. On touchscreens, rest the object without pressing so nothing moves when you touch the marker.
  • One calibration per browser. It is saved in the browser you use. If you switch browser or computer, or plug in another monitor, do it again.
  • Check now and then. Lay a card on the ruler: its long side should end exactly at 8.56 cm.

Using the ruler on your phone

The ruler works the same on a phone, in the browser, with nothing to install. What changes is the space: the screen of a 6.1-inch phone with a 19.5:9 aspect ratio is about 6.5 cm wide held upright and about 14 cm wide sideways. Turn the phone and use full screen to measure longer objects.

Calibrate on each device, because your laptop setting won't work on your phone: every screen has its own density. On a phone the card is the best method, since few people know their screen diagonal. Lay the phone flat on a table so it doesn't move while you position the object.

Does a 10 cm ruler fit on a phone screen?

Not upright, because a phone screen is around 6 to 7 cm wide: if you type 10 in Go to a length, the ruler tells you how much fits. Sideways, a 10 cm ruler at actual size usually fits with room to spare. The fixed rulers that don't fit on the screen scroll sideways with your finger. To measure anything longer than 14 or 15 cm, do it in sections or switch to a computer.

How big is 5 cm and 10 cm at actual size

It's one of the most searched questions: seeing how long a measurement is without a ruler. With your screen calibrated, there are two ways to see it. The first is the fixed 5 cm or 10 cm ruler below the main one. The second is typing 5 or 10 in Go to a length, next to the reading: the marker moves to 5 cm (50 mm) or 10 cm (100 mm), and the distance from zero is the real length.

The field works for any number, such as 3, 7, 12 or 25 cm. If the length doesn't fit on your screen, the ruler tells you how much does, so you can turn your phone or switch to full screen.

To picture it without a screen, use objects with a fixed size. A credit card is 8.56 x 5.398 cm: 5 cm is about 4 mm shorter than its short side, and 10 cm is almost a centimeter and a half longer than its long side. A US quarter is 24.26 mm across, so two in a row come to 4.85 cm, just under 5 cm.

How big is 1 cm, 2 cm or 3 cm

One centimeter is 10 millimeters, the gap between two numbers on the ruler, and a little more than a stack of 13 credit cards (13 x 0.76 mm = 9.88 mm). A US penny is 19.05 mm across, just under 2 cm, and 3 cm is about 6 mm more than the width of a quarter. For small lengths like these, type the number in Go to a length or use the arrow keys, which move the marker one millimeter at a time.

How long is 30 cm? A 30 cm ruler on a laptop

30 cm is about 11.81 inches, just under a foot. A 30 cm ruler fits on a 15.6-inch laptop screen, which is about 34.5 cm wide, and on any desktop monitor. On 13- or 14-inch laptops it either doesn't fit or barely fits, since the screen is between 28 and 31 cm wide depending on its aspect ratio: switch to full screen to use all the space or measure in sections. If you type 30 in Go to a length and it doesn't fit, the ruler tells you how many centimeters your screen can show.

15 cm ruler and 20 cm ruler: which fits on your screen

Below the main ruler there are five fixed rulers: 25, 20, 15, 10 and 5 cm. They have no marker: each one draws exactly its length, from the red zero line to the red end line, with the same calibration as the main ruler. Use them to see a length at a glance, to compare an object with several lengths at once, or to check your calibration: lay a credit card on the 10 cm ruler and its long side should end at 8.56 cm.

Whether they show in full depends on your screen width. On a laptop or a desktop monitor they usually all fit. On a phone, the ones that don't fit scroll sideways with your finger and keep their actual size. Turn the phone sideways and the 10 cm ruler usually fits in full.

How big is 15 cm or 25 cm

15 cm is 150 mm, about 5.91 inches: 6 mm shorter than a US dollar bill, which is 6.14 inches (156 mm) long. 25 cm is 250 mm, about 9.84 inches, 4 mm short of 10 inches (25.4 cm). Rulers of 15, 20 and 30 cm are very common in schools and offices, and the fixed rulers let you see the first two at actual size without having one at hand.

Metric ruler: meters, centimeters and millimeters

Centimeters and millimeters are fractions of the meter, the SI unit of length. As NIST explains, the meter is defined by fixing the speed of light in vacuum at 299,792,458 meters per second. A centimeter is one hundredth of a meter and a millimeter one thousandth: 1 cm = 10 mm and 1 m = 100 cm = 1,000 mm.

That's why a metric ruler reads in base 10, with no fractions: 37 mm is 3.7 cm and 125 mm is 12.5 cm.

Centimeters and inches on the same ruler

The bottom scale shows inches in 1/16 steps. An inch is exactly 25.4 mm, so 10 cm is about 3.94 inches. With the Inches button, that scale moves to the top and the reading is given in fractions of an inch. If you mostly work in that unit, use our online ruler in inches, built for it.

How to measure without a ruler

If you have neither a ruler nor a screen at hand, find an object of known size and compare. A credit card is the handiest reference: 85.60 mm long and 53.98 mm high. A sheet of US Letter paper is 8.5 x 11 inches (21.59 x 27.94 cm), and an A4 sheet is 21 x 29.7 cm.

Coins work too: a US penny is 19.05 mm across, so five in a row come to 9.5 cm. Body measures such as a finger width or a hand span vary a lot from person to person: measure yours once with this ruler and you will have your own reference.

Online ruler or printable ruler

A printed ruler has its advantages: you can carry it and wrap it around curved surfaces. But it has its own trap: many printers and PDF viewers fit the document to the page and shrink it by a few millimeters. If you print a ruler, choose 100% scale or actual size, turn off fit to page, and check it with a card afterward.

The on-screen ruler doesn't depend on a printer or paper, takes a minute to calibrate and gives an exact reading with the marker. For long measurements, curved surfaces or precision work, a tape measure or calipers are still the best choice.

A free online ruler by DigiAcción, a digital marketing agency in Andorra

This ruler is a free tool by DigiAcción, a digital marketing agency in Andorra based in La Massana. It is built so anyone can measure from the browser: no sign-up, nothing to install, and it works on computers, tablets and phones.

At DigiAcción we do web design, SEO, GEO or AI search optimization, Google Ads and Meta Ads campaigns, video production, graphic design and online stores for businesses in Andorra, Spain and other countries. If you want your business to show up on Google and in AI answers, tell us about your project.

More free tools by DigiAcción

Other tools we have built: free, no sign-up and ready to use in your browser.

Looking for an agency that specializes in web design, SEO, GEO and AI?

DigiAcción, a digital marketing agency in Andorra, works with businesses in Andorra, Spain and other countries.

Tool created by DigiAcción, a digital marketing agency in Andorra.