Online Ruler
Place a ruler on any edge.
Units

OG measurement toolkit

Use your phone as a ruler

Reading guide ↓

A touch-first ruler for objects that fit beside your phone. Calibrate, choose an edge, and tap to pin an endpoint.

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.

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; choose the edge that has enough physical span

Phone ruler reference examples — numerical values, not an actual-size diagram
ReadingEquivalentHow to read it
1 cm10 mmSmall paper or craft comparison
2.54 cm1 inExact metric/imperial reference
5 cm50 mmCheck the active edge before measuring
10 cm100 mmMay require the vertical span

Measure without a hover pointer

Choose a vertical or horizontal edge, then gently align one end of a small, flat object with the scale’s origin. Tap the other endpoint to pin a guide. Drag the guide to adjust its position; tap it to remove it. The left edge is active initially because a portrait phone usually offers more measuring space vertically than horizontally. The target input can also pin a known length without requiring precise finger placement.

Check what fits on this screen

The fit readout uses the current measuring area and calibration to estimate its horizontal and vertical physical spans. Browser controls can reduce the usable area, even on a large phone. If your requested length does not fit, the tool warns you instead of compressing it. Try a different edge or orientation and recheck the calibration. For an object longer than the screen, use a physical ruler or tape measure.

Calibration and careful handling matter

Auto-detection is a convenience, not proof that the model or screen density was identified correctly. If the outline is too wide to fit, switch the card calibration to its vertical orientation. Hold any reference gently near the screen; do not press hard, use sharp objects, or expose the device to liquids. The tool does not ask for camera access and cannot measure a room, a person’s height, or a distant object through the camera.

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.

Can I use my phone as a ruler?

Yes, for small objects that fit along the screen. Calibrate first, choose an edge, align the object with the origin, and tap to pin the endpoint. Use the fit readout to see which direction has enough space.

Does a phone ruler work on Android and iPhone?

The screen ruler runs in modern browsers on both platforms. Automatic model detection varies by browser, so use a known physical reference to verify the scale instead of trusting the device name alone.

Can I use my camera as a ruler here?

No. OG Online Ruler compares an object with an on-screen scale and does not request camera access. Camera-based or augmented-reality measurements require a different tool and have their own accuracy limitations.

⌁

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