Online Ruler
Place a ruler on any edge.
Units

OG measurement toolkit

Screen ruler with centimeters and inches

Reading guide ↓

Two units. One physical length. The top scale reads centimeters; the bottom reads inches using the same calibration.

Calibrate and verify before measuring: the target uses your current screen scale.

50 mm = 5 cm: 5 whole cm + 0 mm.
Screen-fit details

The visible range depends on your calibration and available screen area.

Top / left: cm · Bottom / right: inches. Pointer coordinates use cm.

Place a ruler on any edge.

Choose an edge from the toolbar, or select a shortcut below.

Measurement tools ↗

Read · compare · verify

Reading guide

Worked example5 cm = 50 mm = approximately 1.968504 in

Dual-scale screen ruler reference examples — numerical values, not an actual-size diagram
CentimetersInchesMeaning
2.54 cm1 inExact definition
5 cm1.968504 inRounded to six decimals
5.08 cm2 inExact conversion
10.16 cm4 inExact conversion

A ruler with centimeters and inches together

Keep dual scales enabled to see centimeters along the top edge and inches along the bottom. Their origins share the same horizontal position, so a vertical target guide intersects the same length on both scales. Left and right edges, when enabled, use centimeters and inches respectively. The inch scale uses sixteenths, while the centimeter scale uses millimeter subdivisions.

Compare a metric object with an imperial specification

Suppose a craft instruction calls for a 2-inch strip but your material is described in centimeters. Two inches equal exactly 5.08 cm. Type 5.08 in the centimeter input and compare the single target line with the inch scale. This avoids interpreting 5 cm as exactly 2 inches: the difference is 0.8 mm. Disable dual scales or select another unit to return to ordinary single-unit labels.

Screen measurements and image measurements differ

This tool measures a physical distance against the calibrated display. It does not infer an object’s real-world dimensions from a photograph. A zoomed image can look larger or smaller without changing the screen scale. For an image, establish its own known size reference or use the original drawing dimensions; screen calibration alone cannot determine the object’s real-world scale.

How this ruler works

The scale uses your current calibration in CSS pixels per inch. Metric ticks divide that density by 25.4; inch ticks divide it by 16. Conversions use the exact definition 1 inch = 25.4 mm. The target keeps its entered length rather than stretching to fill the display.

Keep browser zoom at 100%, verify with a known reference, and recheck after changing screens. Inputs stay in your browser; no camera, account, or upload is required. For critical dimensions, use a suitable calibrated physical instrument.

Methodology, calibration help, and measurement support: Accuracy methodology · Calibrate screen · Contact us. Unit definitions: NIST.

Built for real measurements

How to use

1 cm2 in3 px4 mmG GuidesC CrosshairF FullscreenD ThemeH How to use

Online ruler questions

Frequently asked questions.

How do I show centimeters and inches at the same time?

Keep Dual cm/in scales enabled. The top and left rulers use centimeters; the bottom and right use inches. Both use one shared screen calibration and the same starting position.

Why does 5 cm not line up with exactly 2 inches?

One inch is exactly 2.54 cm, so two inches are 5.08 cm. Five centimeters are approximately 1.968504 inches. The target guide preserves this difference rather than rounding the physical scale.

Can this measure objects inside an image?

It measures distances on the screen, not the physical size of a photographed object. You need a known reference in the image or its original scale to infer real-world dimensions.

⌁

Auto-detect

Start with calibration. Automatic detection and device profiles are estimates, not a guarantee of physical accuracy. Browser zoom and display scaling can change the result.

Device…
▣

Device

Start with calibration. Automatic detection and device profiles are estimates, not a guarantee of physical accuracy. Browser zoom and display scaling can change the result.

↗

Diagonal

Browser pixels are not physical units. OG Ruler accounts for your display so the scale on screen matches the object in your hand.

13.3″ · 14″ · 15.6″ · 24″ · 27″
▭

Card

Choose an edge from the toolbar, or select a shortcut below.

Align a standard bank card with the full outline, including both width and height. No card details are read or transmitted. Verify the result with a trusted physical ruler.

85.60 × 53.98 mm
  1. 1CalibrateBrowser pixels are not physical units. OG Ruler accounts for your display so the scale on screen matches the object in your hand.
  2. 2Place a ruler on any edge.Choose an edge from the toolbar, or select a shortcut below.
  3. 3MeasureOG Online Ruler is a free ruler online that turns any screen edge into a practical measuring tool. Choose centimeters, millimeters, inches, or pixels, calibrate your display, and compare an object with a scale shown at actual size.
1 cm2 in3 px4 mmG GuidesC CrosshairF FullscreenEsc Delete guides