Black Friday: 50% off every paid plan with code BF50. Ends 5 December.

See prices

Free tool

Online ruler, set to true size.

A ruler on your screen in centimetres and millimetres or inches in sixteenths. Screens differ, so set it up once: hold any bank card against the screen and move the slider until the box matches it, or type your screen's diagonal. After that the marks are true size on this screen. Drag along the ruler to read a length, or turn it upright for taller things.

Need a custom tool, app or website? Contact us 

Marker:

Set it up: match a bank card

Hold a bank card here and match its size

Or type your screen size

Printable ruler

Bank cards share one size: 85.60 x 53.98 mm (ID-1). The setting is for this screen and browser zoom.

Your setting is kept in this browser. Nothing is sent anywhere.

True to size

Set once, measure any time.

01 / Why

Screens differ

A browser's "inch" is not a real inch on most screens, so the ruler needs a reference.

02 / Card

A size everyone has

Bank cards, ID cards and many loyalty cards share the ID-1 size, 85.60 by 53.98 mm.

03 / Measure

Drag the marker

Drag along the ruler to read a length in centimetres or inches and fractions.

Guide

How to use an online ruler, at true size on your screen.

An online ruler draws a ruler on your screen so you can measure small things without a real one. This one shows centimetres with millimetre marks, or inches down to sixteenths, and has a marker you drag to read a length. Screens differ in how big their pixels are, so you set it up once by matching a bank card to a box on screen, or by typing your screen's diagonal. After that the marks are true size on this screen.

How to use the online ruler

  1. Pick Centimetres or Inches under Units.
  2. Hold a bank card, a debit card or an ID card flat against the screen, lined up with the top left corner of the box under Set it up: match a bank card.
  3. Move the Card size slider until the box is exactly the size of the card, edge for edge. The − and + buttons beside it make half pixel steps for the last bit. The line above says Set up for this screen when it is saved.
  4. Place the thing you want to measure against the ruler, with one end at the 0 mark.
  5. Drag along the ruler to move the marker to the other end. Read the length next to Marker. You can also click the ruler and use the arrow keys: 1 mm (or 1/16 inch) a press, 1 cm (or 1 inch) with Shift, and Home for zero.
  6. For something taller than it is wide, click Turn upright to stand the ruler on its end.

Why the ruler needs setting up

Browsers count a set number of pixels per inch, 96, whatever the screen. On real screens that is rarely right, because a small sharp laptop screen packs its pixels much closer together than a big office monitor. Until you set it up, the page warns you that lengths are only a guess.

Here is how far off it can be. Say your browser sees your screen as 1440 × 900 and the screen is 15.4 inches across the diagonal. The diagonal in browser pixels is the square root of 1440 squared plus 900 squared, which is about 1698. The diagonal in millimetres is 15.4 times 25.4, or 391.2 mm. So the screen shows 1698 divided by 391.2, about 4.34 pixels per millimetre, or 43.4 pixels per centimetre. The default of 96 pixels per inch gives only 37.8 pixels per centimetre, so a 10 cm line drawn before setup would really be about 8.7 cm long.

Card or screen size: which way to set it up

MethodHow it worksWhen to use it
Match a bank cardBank cards, ID cards and many loyalty cards share one size, 85.60 by 53.98 mm. You match the box to it, so the ruler is set from a real object.The most exact way. Use it whenever you have a card to hand.
Type your screen sizeType the diagonal in inches, such as 13.6, and click Use this size. The page works out the pixels per millimetre from the screen's size in pixels, as in the example above.When you have no card, or the screen is too big to hold one against comfortably

The screen size method relies on the diagonal being exact, and makers can round it. Check it against a card or a real ruler if you can. Click Forget the setting to go back to the browser's default and start again.

Reading the marks

In centimetres, the long marks are whole centimetres, the medium marks are 5 mm, and the short ones are single millimetres. The marker reads to one decimal place, such as 4.7 cm (47 mm).

In inches, the marks get shorter from whole inches down through halves, quarters and eighths to sixteenths. The marker shows the length in decimals and as the nearest sixteenth, cut down to the simplest fraction. For example, 2.38 inches: 0.38 times 16 is about 6, and 6/16 is the same as 3/8, so it reads 2 3/8".

InchesMillimetres
1/16"1.59 mm
1/8"3.18 mm
1/4"6.35 mm
1/2"12.7 mm
1"25.4 mm

One inch is exactly 2.54 cm, so you can switch units at any time and the marker keeps the same length.

Tips for an accurate measurement

  • Look straight at the screen, not from the side. Viewing at an angle shifts where the edge seems to fall.
  • Rest objects gently against the screen. Pressing hard can damage it, and a light touch is all you need.
  • Zooming the page in or out is fine: the setting is kept in the screen's own pixels, so the ruler stays true size at any zoom. Set it up again if you change your display's scaled resolution in the system settings.
  • On a second monitor, set it up on that screen. Each screen has its own pixel size, and the page warns you when it opens on a screen of a different size than the one it was set up on.
  • For something longer than the screen, mark where the ruler ends on the object, slide it along and add the two readings.
  • Check your setup by measuring something you know, such as the card's short side, which should read about 5.4 cm.

A printable ruler

No screen setup is needed on paper. Pick A4 or US Letter under Printable ruler and press Download a printable ruler (PDF). The page draws a landscape sheet with a centimetre ruler, an inch ruler in sixteenths and a 5 cm check square. PDFs measure in points, 72 to the inch, so 1 mm is exactly 72 divided by 25.4, about 2.83 points, and the lines sit where they should.

Printers often shrink a page to fit their margins, which makes every mark too small. In the print dialog choose 100%, Actual size or No scaling, never Fit to page. Then check the square with a real ruler or the long side of a bank card (8.56 cm) before you trust it. On A4 the centimetre ruler runs to 27 cm and the inch ruler to 10 inches; on Letter, to 25 cm and 10 inches.

What people measure with it

Screws, nails and bolts, the width of a ring, a button or a bead, the size of a printed photo or a label, a pill or a seed, the length of a key, and paper cut to size. It suits small, flat things best. For anything bigger than the screen, a tape measure is faster.

Want the pixel density of your screen as a number? The PPI calculator works it out from the size and resolution. To change centimetres to inches or other units, use the unit converter.

Questions

Good to know.

Is the online ruler actual size?

After you set it up with a card or your screen size, yes, on this screen. Before that it is only close.

How do I set it up?

Hold a bank card flat against the screen and move the slider until the box matches the card.

Does browser zoom change it?

No. The setting is kept in the screen's own pixels, so the ruler stays true size when you zoom the page in or out.

Can I print a ruler instead?

Yes. Download a printable ruler (PDF) for A4 or US Letter and print it at 100% or Actual size. A 5 cm square on the sheet lets you check the print.

Can I measure in inches?

Yes, in sixteenths. Pick Inches.

Can I use it on a phone?

Yes, but phone screens are short; turn it upright or measure in parts.

What can I use instead of a bank card to set it up?

Any card of the same ID-1 size, such as many ID cards, driving licences and loyalty cards. If you have none, type your screen's diagonal in inches instead.

How accurate is the online ruler?

After a careful card setup, it is about as exact as your eye can line up the box with the card. Without setup it is only a guess, and the page tells you so.

How many centimetres is the ruler?

As long as the space on your screen. Lying flat it fills the width of the page. Upright it uses most of the window's height.

Does the ruler remember my setting?

Yes. It is saved in this browser, so the ruler is still true size when you come back on the same screen, at any zoom.

Listed on

Listed on JustMacAppsMotionShine on Mac App IndexMotionShine on ScrollLaunchMotionShine featured on StartupBaseFeatured on FazierFeatured on Twelve ToolsMotionShine - Featured on Smol Launch