OnlineRulerKit

Online ruler

Inches on top, centimeters below. Match a bank card once and every mark on this ruler is real size on your screen.

Calibrate screen scale

Hold your card against the screen. Move the slider until the edges match.

Other methods: coin, device or diagonal
≈ 3 3/8″
IN · 1/16″CM · MM

3× zoom · Handle B

Measured length

≈ 3 3/8″in
Fraction
3 3/8″
Decimal
3.375″
Centimeters
8.57 cm
Millimeters
85.7 mm
Pixels
324 px
From · To
0″ · 3 3/8″

Unit

Resolution

View

Drag the two handles to measure.

Saved measurements

  • No saved measurements yet.

All measuring tools

16 free tools · one shared calibration

Quick calibration for your screen ruler

Any website can draw a ruler. Getting one that matches a real ruler takes one extra step, because your browser has no idea how big your screen actually is. This is how the online ruler works: you show it one object of known size, and it works out how many pixels make a real millimeter on your display. The quick calibration takes under a minute:

  • Reset browser zoom to 100% (Ctrl + 0 on Windows, Cmd + 0 on a Mac). Zoom stretches every mark on the page, so keep browser zoom fixed after you calibrate.
  • Tap “Calibrate with a card” and hold a credit card, debit card, library card or ID card flat against the glass. All of them share the ISO/IEC 7810 ID-1 size.
  • Drag the outline until it covers the card edge to edge: 85.60 mm, or 3.370 in, along the long side.
  • The ≈ sign next to the reading disappears. From now on the ruler, the measuring tape and the photo-size tools all use the same scale on this device.
  • Lay the object flat on the screen, line its left edge up with zero and read the mark under the right edge while looking straight down.

Why an uncalibrated online ruler is wrong

Web pages measure everything in CSS pixels, and the web standard defines one CSS inch as exactly 96 of them. That number was chosen for desktop monitors decades ago. Real screens pack anywhere from about 90 to over 450 physical pixels into an inch, and operating systems rescale on top of that. So the “1 inch” your browser draws is almost never one inch.

The table shows how long a nominal CSS inch actually comes out on some common screens at their default settings. A phone ruler that skips calibration can be off by more than a third.

Why not just type in the screen diagonal? Because the diagonal size on the box is rounded, includes rounded corners or a notch, and says nothing about the scaling your system applies on top. The screen's diagonal is a useful starting estimate, but a card you can hold against the glass is a direct measurement, which is why this screen ruler asks for one.

Real length of one uncalibrated CSS inch (96 CSS px) on common screens
ScreenPhysical densityScalingCSS “1 in” really measures
24-inch 1920 × 1080 monitor92 ppi100%1.05 in (26.6 mm)
27-inch 2560 × 1440 monitor109 ppi100%0.88 in (22.4 mm)
27-inch 4K monitor163 ppi150%0.88 in (22.4 mm)
14-inch MacBook Pro254 ppi2× (default)0.76 in (19.2 mm)
11-inch iPad Air264 ppi2×0.73 in (18.5 mm)
iPhone 15 Pro460 ppi3×0.63 in (15.9 mm)

Everyday objects you can calibrate with

A bank card is the best reference because its size is fixed by an international standard and it is long enough to average out small alignment errors. Coins work when you have no card nearby; use the largest coin you have and match its full diameter.

Official reference sizes
ObjectMetricUS customaryDefined by
Bank, credit or ID card (ID-1)85.60 × 53.98 mm3.370 × 2.125 inISO/IEC 7810
US quarter24.26 mm diameter0.955 inU.S. Mint
US dollar bill156.0 × 66.3 mm6.14 × 2.61 inBureau of Engraving and Printing
€1 coin23.25 mm diameter0.915 inEuropean Central Bank
£1 coin23.43 mm diameter0.922 inRoyal Mint

On-screen measuring with a centimeter and inch ruler

The top edge is divided into sixteenths of an inch: the longest line marks each whole inch, then halves, quarters, eighths and the shortest sixteenths. The bottom edge shows centimeters, with a mid-length line at each half centimeter (5 mm) and short lines for every millimeter.

Because one inch is exactly 25.4 mm by international agreement, both edges come from the same calibration and always agree. A handy cross-check: 10 cm on the bottom edge should line up with 3 15/16 in on the top edge, since 10 cm is 3.937 in.

Worked example — to measure the length of an object such as a AA battery: line one end up with zero, hold the object gently against the screen (never press hard on the glass), and look straight down at the other end. You should read about 50 mm on the centimeter scale and just under 2 in on the inch scale. If you get 47 mm or 53 mm instead, the calibration is off; redo the card step before trusting any other reading.

  • 1 in = 2.54 cm = 25.4 mm
  • 1 cm = 0.394 in, a little more than 3/8 in
  • 1 mm = 0.039 in, roughly 1/25 in
  • 1/16 in = 1.59 mm

Using your phone as a ruler — and when not to

A phone works well for small items: screws, buttons, jewelry, a pill, the width of a cable. The usable length is the long side of the display, about 5½ in (14 cm) on a 6.1-inch phone. For anything longer, use the online measuring tape, which lets you measure in segments, or print a true-scale ruler.

Camera-based “ruler” apps measure from a distance using augmented reality. They are handy for a room or a sofa but estimate depth, so they are less precise on objects only a few inches long. A calibrated flat ruler has no depth to guess: the limit is your eye and the thickness of the tick marks, typically about half a millimeter (1/50 in).

For anything with legal or safety tolerances, such as machining, medical sizing or construction layout, use a certified physical tool.