Skip to content
Graph Papers

Online ruler, actual size

Measure real objects in centimeters, millimeters and inches right on your screen. Calibrate once and every tick matches real-world size.

How to use the online ruler

  1. Calibrate once

    Press Calibrate and pick your device, enter your screen size, or line up a bank card or coin with the outline. It takes about 30 seconds and is saved in your browser.

  2. Place the object on the ruler

    Lay the object flat against the screen with one end at the 0 mark. The left ruler starts at the very edge of the window, so you can rest things against the bezel. Use Fullscreen for edge-to-edge rulers.

  3. Read or measure

    Read the tick under the other end, or click a ruler to drop guide lines and see the gap between them. Drag across the workspace to measure length, width, height and angle in one go.

A true actual-size ruler, calibrated to your screen

Most online rulers assume the old web standard of 96 pixels per inch. Real screens range from about 90 pixels per inch on a large office monitor to more than 450 on a modern phone, so an uncalibrated “inch” can be off by a third or more. This ruler measures how big a millimeter really is on your display and draws every tick from that.

You can calibrate in four ways:

  • Auto-detect recognizes iPhones, iPads and MacBooks from their screen configuration and applies the factory pixel density.
  • Device lets you pick your phone, tablet, laptop or monitor from a list of popular models and common screen sizes.
  • Screen size calculates the pixel density from the diagonal you enter, for any screen.
  • Object is the most precise: match an outline to a bank card, a coin, the short edge of an A4 or Letter sheet, or a physical ruler.

The result is stored in this browser only. If you change the browser zoom, the ruler rescales itself to stay at actual size. When you move to another screen, calibrate again.

Centimeters, millimeters, inches and pixels

Centimeters (cm) show a numbered tick for every centimeter, a medium tick at each half centimeter and a small tick for every millimeter, exactly like a school ruler.

Millimeters (mm) use the same ticks but number them in millimeters (10, 20, 30…), which is handy for technical drawings, sewing patterns and 3D printing.

Inches (in) divide each inch into halves, quarters, eighths and sixteenths. Measurements are shown as decimals and as the nearest fraction, such as 2.375 in (2 3/8″).

Pixels (px) show CSS pixels, so web designers can check sizes and spacing of elements on screen without any calibration.

Edge rulers, guides, measuring tape and crosshair

Turn on a ruler along any edge of the workspace, or all four at once for a full measuring frame. In fullscreen mode the rulers sit on the real edges of your display.

  • Guide lines: click a horizontal ruler to drop a vertical guide and a vertical ruler to drop a horizontal one. Each guide shows its position, and the gap between neighboring guides is measured for you. Drag a guide to move it, or drag it back onto a ruler to delete it.
  • Measuring tape: drag anywhere to measure a distance. You see the length, the width and height of the box it spans, and the angle. Ends snap to guides; hold Shift to lock to 0°, 45° or 90°.
  • Crosshair: follows your pointer and shows its X and Y position in the current unit.
  • Grid: lays a millimeter (or 1/8 inch) grid over the workspace, like graph paper.
  • Keyboard control: add guides with V and H, nudge the selected guide with the arrow keys, and switch units with 1 to 4.

Inch fractions chart

Each inch on the ruler is split into 16 parts. The longer the tick, the bigger the fraction. Use this chart to convert a reading to decimal inches and millimeters.

Inch fractions with decimal and millimeter equivalents
FractionDecimal inchMillimeters
1/16″0.06251.588
1/8″0.12503.175
3/16″0.18754.762
1/4″0.25006.350
5/16″0.31257.938
3/8″0.37509.525
7/16″0.437511.112
1/2″0.500012.700
9/16″0.562514.288
5/8″0.625015.875
11/16″0.687517.463
3/4″0.750019.050
13/16″0.812520.638
7/8″0.875022.225
15/16″0.937523.813
1″1.000025.400

How to read a ruler

Line up one end of the object with the 0 mark and look at where the other end falls.

On the metric scale, numbered ticks are centimeters and the small ticks are millimeters. If the object ends three small ticks after 4, it is 4.3 cm or 43 mm long.

On the inch scale, the longest unnumbered tick is 1/2 inch, then 1/4, 1/8 and the shortest is 1/16. Count sixteenths from the last whole inch and simplify: 6/16 is 3/8, so a reading of 2 and six small steps is 2 3/8 inches.

Objects of known size to check your ruler

After calibrating, measure one of these to confirm the ruler is accurate.

Common objects and their standard sizes
ObjectSize
Bank, credit or ID card (ISO/IEC 7810 ID-1)85.60 × 53.98 mm (3.370 × 2.125 in)
A4 sheet of paper210 × 297 mm (8.27 × 11.69 in)
US Letter sheet of paper8.5 × 11 in (215.9 × 279.4 mm)
US banknote155.96 × 66.29 mm (6.14 × 2.61 in)
US quarter (25¢)24.26 mm (0.955 in) across
US penny (1¢)19.05 mm (0.750 in) across
1 euro coin23.25 mm across
Standard business card (US)3.5 × 2 in (88.9 × 50.8 mm)
Standard business card (EU)85 × 55 mm
SIM card (nano)12.3 × 8.8 mm

Keyboard shortcuts

Keyboard shortcuts of the online ruler
KeyAction
1 · 2 · 3 · 4Switch units: cm, mm, inches, pixels
T · B · L · RShow or hide the top, bottom, left or right ruler
V · HAdd a vertical or horizontal guide
← → ↑ ↓Move the selected guide by 1 pixel
Shift + arrowsMove the selected guide by 1 mm, 1/16 in or 10 px
DeleteRemove the selected guide or the measurement
EscClear all guides and the measurement (in fullscreen: exit fullscreen)
GShow or hide guides
CToggle the crosshair
NToggle the grid
FToggle fullscreen
KOpen calibration
DToggle dark mode
Shift while measuringSnap to 0°, 45° or 90°
IOpen an image or scanned document to measure
MMove or stop moving the open image
?Show these shortcuts

Tips for the most accurate measurements

  • Keep the browser zoom at 100% while calibrating. Press Ctrl + 0 (⌘ + 0 on a Mac).
  • Calibrate with the longest object you have. A physical ruler or the edge of an A4 sheet beats a coin.
  • Look straight at the screen, not from an angle, so the object and the ticks line up without parallax.
  • Rest the object lightly. Pressing on an LCD screen can damage it and does not improve the reading.
  • Use Fullscreen and maximize the window so the left and top rulers start at the real edge of the display.
  • For prints, test your printer instead: on-screen calibration does not change how paper prints.

Who uses an online ruler?

  • Students and teachers measuring worksheets, maps, diagrams and small objects in class.
  • Designers and web developers checking element sizes, margins and spacing in pixels or millimeters.
  • Crafters, sewists and makers sizing fabric swatches, beads, jewelry, screws and 3D-printed parts.
  • Online shoppers and sellers checking the size of a ring, a button or a product photo against the real thing.
  • Architects and engineers verifying scale drawings and printouts.
  • Anyone without a ruler at hand who needs a quick, accurate measurement.

The ruler runs entirely in your browser. No sign-up, no ads in the tool, and nothing you measure leaves your device.

Frequently asked questions

Is this online ruler actual size?

Yes, once it is calibrated. Pick your device, enter your screen size or match a bank card or coin, and one centimeter on screen equals one real centimeter. Without calibration the ruler uses the browser default of 96 pixels per inch, which is usually not exact.

Can I use my phone as a ruler?

Yes. Open this page on your phone, tap Calibrate and choose your model, or use the bank card method. Turn the phone sideways for a longer ruler. Most phones then measure objects up to about 14 cm (5.5 in) to within half a millimeter.

How do I calibrate the ruler without a card?

Use a coin, the short edge of an A4 or US Letter sheet, or a physical ruler from the Object list. You can also pick your device model or type your screen diagonal in inches, which needs no object at all.

How accurate is an online ruler?

Calibrated with a card or a physical ruler, it is typically accurate to about 0.5 mm. The device and screen size methods depend on the published screen size, which manufacturers round, so they are usually within 1 to 2 percent.

Why does an on-screen ruler need calibration?

Browsers assume 96 pixels per inch, but real screens range from about 90 to over 450 pixels per inch. Calibration tells the ruler how big a millimeter really is on your display, so the ticks match real-world size.

Will the calibration stay saved?

Yes, in this browser on this device. If you change the browser zoom, the ruler rescales itself automatically. If you open the page on another monitor or device, calibrate again.

Which card can I use for calibration?

Any standard bank, credit, debit, ID, loyalty or gift card. They all share the ISO/IEC 7810 ID-1 size of 85.60 × 53.98 mm. Only the outline is used, so nothing is read from the card.

How can I find 1 inch on the screen?

Switch the units to inches and calibrate the ruler. The distance from 0 to the tick labeled 1 is exactly one inch, which is 25.4 mm. A US quarter is just under one inch across (0.955 in), which makes a handy check.

How many centimeters are in an inch?

One inch is exactly 2.54 centimeters (25.4 millimeters). One centimeter is about 0.394 inches. The ruler shows every measurement in your selected unit, and the inch scale also gives the nearest fraction.

How do I measure with this ruler?

Place the object against a ruler with one end at 0 and read the other end. For more precision, click the ruler to drop a guide at each end and read the gap, or drag across the workspace to measure length, width, height and angle.

Can I measure on screen in pixels?

Yes. Choose px to show CSS pixels. Pixel measurements do not depend on calibration, so they are useful for checking web layouts, icons and screenshots.

Can my phone camera measure things instead?

Augmented reality apps such as Apple Measure or Google Measure estimate larger distances with the camera, but the result is approximate. For small objects you can lay on the screen, a calibrated on-screen ruler is far more precise.

How do I show the ruler in Word, Google Docs or PowerPoint online?

In Word for the web and PowerPoint for the web, open the View tab and turn on Ruler. In Google Docs, choose View, then Show ruler. Those rulers set margins and indents in the document and do not measure real objects, so use this ruler in another tab for that.

Is the online ruler free and private?

Yes. It is free with no account or download. Everything runs in your browser, the calibration is stored on your device only, and nothing you measure is sent anywhere.

More free tools