Online Ruler Calibrate once, then measure at actual size

Match a real reference first. Your browser cannot tell the physical size of your screen.

Calibrate your ruler

Calibration needed
Calibration

Use any bank, ID or loyalty card of standard size (85.60 × 53.98 mm). Hold it against the screen and match all four edges. Choose Portrait if the long edge does not fit across your screen.

Keep browser zoom at 100% while matching. If a standard card cannot fit on your screen, use the screen-size estimate. No photo or card details are needed.

Only accurate after calibration. Until then, an inch on this ruler may not match a real inch.

Calibrate above to show the actual-size ruler.

Calibrate to measure

Tap the ruler or drag the marker. Arrow keys move 1 mm; Shift moves 1 cm. Inches round to the nearest 1/16; centimeter readings show two decimal places.

Nothing is uploaded. Calibration stays in this browser, matched to the reported screen size, pixel ratio and zoom scale.

How to measure with an online ruler

Match a reference first

Set browser zoom to 100%, choose Standard card and place a card against the display. Move the slider or use the minus and plus buttons until the outline matches the card’s edges. Press Use this calibration to confirm the match and open the ruler. A phone is often narrower than a card’s long side, so Portrait lets you match the card vertically.

Place one end of the object at the zero tick. Tap its other end or drag the marker there. Read the length in inches and centimeters. The decimal line also gives inches and millimeters, which helps when a fractional inch is rounded.

Choose a direction and units

The horizontal ruler uses the available page width. Vertical gives a longer measuring edge on a phone. Both modes keep their labels upright and limit the ruler to the available screen space. Objects longer than the displayed scale cannot be measured in one placement.

Inches have ticks every 1/16 inch; centimeters have millimeter ticks. Choose Inches or Centimeters to show just one edge. Arrow keys move the marker one millimeter at a time, Shift with an arrow moves one centimeter, and Home or End moves the marker to the start or end.

Are online rulers accurate?

Only after a careful calibration, and only while the same display and zoom setting remain in use. The CSS length specification fixes a CSS inch at 96 CSS pixels, but those pixels are not a physical screen measurement. Entering a screen diagonal estimates the scale from the screen’s reported CSS dimensions; matching a real card is preferable because you directly compare the screen with a known object.

A browser zoom change, pinch zoom or a display with another pixel ratio can invalidate a saved scale. This page warns when those reported values change and hides the ruler until you restore them or recalibrate. Browsers cannot reliably distinguish two physical displays that report identical sizes and pixel ratios. Check your reference again whenever you move to another monitor, even if no warning appears.

Formatting a result to two decimal places does not establish that level of physical accuracy. Your card, the edge alignment and the display determine how close the result is. Compare with a physical ruler when the exact fit matters.

How to calibrate the ruler with a card

The reference outline uses the nominal ID-1 dimensions, 85.60 × 53.98 mm, listed in the IEC description of ISO/IEC 7810. Use a standard-size card with straight, undamaged edges. Match the outside boundary, rather than printed artwork or an embossed number. You do not need to enter identifying information or grant camera access.

A stored calibration applies to the screen dimensions and pixel ratio reported to this browser. Recalibrate opens the matching controls again. When browser storage is unavailable, the current calibration still works for this visit, and the page explains that it cannot keep it.

Online ruler questions

Does the ruler work on iPhone and iPad?

Yes, after you match a known reference. Portrait card matching and a vertical ruler help on narrow screens. The visible screen limits how much you can measure at once; rotate the device or use a physical ruler for a longer object.

Can I measure my ring size?

You can measure the inside diameter of a ring that already fits, from one inside edge to the opposite edge. Do not include the metal band. This page reports a length, not a ring size; use the sizing chart supplied by your jeweler for that conversion.

How many centimeters are in an inch?

One inch is exactly 2.54 centimeters, or 25.4 millimeters. The centimeter and inch edges use that same conversion after calibration.

Why is my ruler the wrong size?

Check that you confirmed a calibration on this screen and kept the zoom setting used during matching. Recheck the reference if you moved the window to another display. An advertised screen diagonal is approximate, so try the card method instead.

Why did a pinch zoom show a warning?

Pinch zoom enlarges the page, so the marks no longer match the card you calibrated with. The page watches the zoom level and warns you when it changes. Zoom back out or match the card again before you measure.