Free web tool · Inches · cm · mm

Online ruler in actual size

This free ruler shows inches with 1/16-inch marks, or centimeters with millimeter marks, at real size on your screen. Calibrate it once with a bank card or your screen size, then hold a small object against the screen and read its length. It works on phones and computers.

Not calibrated yet, so lengths are approximate.

Tap the ruler or drag the reading to measure.

How to calibrate the ruler

Screens fit different numbers of pixels into an inch, and a web page has no way to look that number up. Browsers treat 96 pixels as an inch on every screen, so an uncalibrated ruler is usually too big or too small. Calibrating gives the ruler one real length to scale from.

With a bank card

This is the most accurate method. Credit cards, debit cards and most driver's licenses are made to the ISO/IEC 7810 ID-1 size, 85.60 × 53.98 mm (3.370 × 2.125 in).

  1. Tap Calibrate and choose Bank card.
  2. Hold the card flat against the screen with its top-left corner in the top-left corner of the yellow card.
  3. Drag the slider, or tap − and +, until the yellow card is exactly the size of yours. On a phone the card is wider than the screen, so line up the bottom edge.
  4. Tap Save. Your browser remembers the setting for next time.

For a precise match, make the yellow card a little too big, then shrink it one step at a time until the yellow edge just disappears behind your card. The dashed lines continue each edge past the card, which makes the last step easier to judge.

With your screen size

If you don't have a card, choose Screen size and type the diagonal in inches from your phone's or monitor's spec page. The ruler divides the diagonal your browser reports, in pixels, by that length. Set the browser zoom to 100% first, and use the most exact figure the spec page gives. Apple, for example, sells the iPhone 16 as a 6.1-inch phone and lists its screen as 6.12 inches when measured as a rectangle. A card usually gives a closer result than a rounded screen size.

Check the result

Lay a coin of known size on the ruler with one edge on the 0 line. A US quarter is 24.26 mm (0.955 in) across, a penny 19.05 mm (0.750 in) and a 1 euro coin 23.25 mm. If the far edge lands more than about a millimeter from where it should, calibrate again.

How to read inches, cm and mm on the ruler

  1. Choose Inches or Centimeters.
  2. Put one end of the object on the 0 line. On a phone held upright, the ruler runs down the left edge of the screen.
  3. Tap the ruler where the object ends, or drag the reading there. You get the length to the nearest 1/16 inch or millimeter, plus the same length in the other unit.

On the inch scale, the longest lines are whole inches, followed by half inches, quarters, eighths and sixteenths. On the centimeter scale, the numbered lines are centimeters, the short lines are millimeters, and the slightly longer line between two numbers marks 5 mm. Our guide to how to read a ruler has an inch fractions chart and a millimeter-to-inch chart.

A ruler on your phone or iPhone

Open this page on your phone and calibrate it once. Then tap Full screen to give the ruler as much of the screen as the browser allows. On the normal page you can still scroll past the ruler. Tap the ruler to move the reading there, or drag the reading itself. In full screen, drag anywhere along the ruler.

An iPhone has no built-in ruler drawn to scale on the screen. Apple's Measure app measures with the camera instead, and on models with LiDAR its Ruler view adds unit marks along a measured line. Our guide on how to use the iPhone Measure app covers both. A screen ruler suits things smaller than your phone, such as a screw, a bead, a cable end or a ring. For a doorway, a desk or a wall, a camera ruler is the better tool. The Width tool in our ruler app measures those from where you stand. How accurate camera measuring is, and when a real tape is still the right call, is covered in can I use my phone as a tape measure?

How accurate is an on-screen ruler?

An on-screen ruler is only as accurate as its calibration and your eye.

  • The card match sets the scale. If the yellow card ends up half a millimeter off on its 85.60 mm side, every reading is off by about 0.6%, which is 0.6 mm over 10 cm.
  • Readings snap to the nearest line, 1/16 inch (about 1.6 mm) or 1 mm, the same as reading a printed ruler.
  • Look straight at the screen. The pixels sit under a layer of glass, so viewing at an angle shifts the line you see next to the object.
  • Zoom changes the scale. Pinch-zooming or changing the browser zoom after you calibrate makes the marks bigger or smaller. The ruler warns you when it can detect the change, but not every browser reports it, so keep the zoom at 100%.
  • Each screen needs its own calibration. The setting is stored in this browser on this device only. On an external monitor, in another browser or on another phone, calibrate again.

For anything you will cut, drill or order to size, check the number with a real ruler or tape measure. If you have neither, our guide on measuring without a tape measure lists everyday objects with exact sizes.

Sources

Questions

How do I use this as an inches ruler?

Choose Inches. The numbered lines are whole inches, and each inch is split into 16, so the shortest lines are 1/16 inch apart. Tap where your object ends and the reading shows the length as a fraction, such as 2 5/16 in, with the same length in millimeters under it.

Can I use it as a mm ruler or a cm ruler?

Yes. Choose Centimeters. The numbered lines are centimeters, the short lines between them are millimeters, and the line halfway between two numbers is a little longer to mark 5 mm. The reading shows centimeters to one decimal, plus millimeters and inches, for example 4.7 cm and 47 mm.

How do I use my phone as a ruler?

Open this page on the phone, tap Calibrate, match the yellow card to a bank card and tap Save, then tap Full screen. Hold the phone upright, lay the object along the yellow ruler with one end on the 0 line, and tap where the other end falls.

Is there a ruler on the iPhone?

Not one drawn to scale on the screen. iPhones come with Apple's Measure app, which measures with the camera, and on models with LiDAR its Ruler view adds unit marks along a measured line. This page gives your iPhone an actual-size screen ruler for small things once you calibrate it, and for longer things the Width tool in Measuring Tape measures with the camera.

Is this ruler actual size?

Only after you calibrate it. Browsers draw a CSS inch as 96 pixels on every screen, and the size of a pixel varies from one device to the next, so an uncalibrated ruler can be far off, especially on phones. Once you match a bank card, the marks are actual size on that screen.

Do I have to calibrate every time?

No. The setting is saved in this browser on this device, and it isn't sent anywhere. Calibrate again if you change the browser zoom, move the window to another monitor or switch browsers.

What if I don't have a credit card?

Any card made to the same ID-1 size works, such as a debit card or most driver's licenses. Gift cards and loyalty cards are often that size too, but not always. You can also enter your screen size instead.

Measuring Tape app icon

Measure it with your phone

Width, height and area with the iPhone camera, and a bubble level that is always free.

Download on the App Store