Online Ruler

The Complete Guide to Using an Online Ruler

A practical, plain-English guide to measuring real objects with your screen - accurately, privately, and without installing an app.

An online ruler turns your screen into a measuring tool for quick dimensions when a physical ruler is not nearby: a parcel, a ring, a shelf gap, or a drawing on a laptop. Accurate screen measurement depends on one thing above all else: correct calibration. This guide covers calibration, units, camera and image modes, and the mistakes that cause large errors.

Why an online ruler is useful

A browser-based ruler is available on almost any device. There is nothing to install, no account to create, and no file to download before you begin. That makes it handy for students, designers, tradespeople, hobbyists, and anyone who needs a fast answer. You can open the page on an iPhone, iPad, Android phone, Windows laptop, Mac, Chromebook, or a large desktop monitor and get the same interface.

It is also useful when an object is awkward to reach with a physical ruler. Place a ruler along any screen edge, combine horizontal and vertical rulers, use guide lines, or measure an object in a photo. Everything runs in the browser, so your photos and measurements stay on your device.

How screen calibration works

Screens are made from pixels, and pixels do not have a fixed physical size. A 27-inch monitor and a 6-inch phone can both have a 1080p panel, but the pixels on the phone are much smaller. A browser can usually detect the screen resolution, but it cannot always know the exact physical dimensions. Calibration bridges that gap by telling the ruler how many pixels fit into one inch or one centimetre.

Automatic device detection

When you open the tool, it estimates your screen density (PPI - pixels per inch) from the device and browser. This is a good starting point for most modern phones, tablets and laptops. If the result looks slightly off, do not assume the tool is broken; a small difference in browser zoom, display scaling, or device reporting can shift the estimate by a few percent.

Manual calibration with a bank card

The most reliable method is to calibrate against an object with a known size. A standard bank card is 85.6 mm wide, which makes it a convenient reference. Open the calibration panel, choose the card option, and adjust the on-screen outline until it matches the real card. Once saved, the ruler uses that scale for every measurement in the current browser.

You can also select a device preset, enter the screen diagonal, or type a known PPI value manually. After calibration, keep browser zoom at 100%. Zooming changes the relationship between CSS pixels and physical pixels, so a calibrated ruler will no longer be accurate at 125% or 150% zoom.

Measuring in centimetres, millimetres, inches and pixels

Use the unit control in the top bar to switch between centimetres, millimetres, inches and pixels. Choose the unit that matches the task:

UnitBest forTypical example
Centimetres (cm)Everyday objects and school workA notebook cover, a small box
Millimetres (mm)Small, precise dimensionsRing inner diameter, screw size
Inches (in)US/UK measurements and 12-inch ruler tasksFabric, woodworking, screen sizes
Pixels (px)Design and screen workImage dimensions, UI spacing

For a 12-inch ruler, select inches and use the horizontal edge. On a narrow phone, rotate the device or use the vertical ruler if you need more length. The scale is drawn accurately; scroll or reposition the ruler when the screen is smaller than the object.

Using the four-edge rulers

The left, right, top and bottom rulers can be switched on independently, and all four can be active at the same time. This is helpful when you need to measure width and height together or align an object with two edges. Each ruler is drawn on a canvas, so it stays sharp on high-density displays.

Guides add intersecting cursor lines with a live coordinate readout for alignment and centre-finding. Markers pin important points, Measure draws a line between two points and shows the distance, and Drag repositions a ruler.

Camera ruler and image ruler

Camera ruler

The camera mode is designed for real objects that are too large or awkward to place against the screen. Open the camera, place a standard bank card in the blue frame, and capture the photo. The card gives the app a known reference, so the resulting image can be measured at the correct scale even if you did not calibrate the screen first. Good lighting and a flat camera angle produce the best results.

Image ruler

Image mode lets you upload a photo or screenshot and measure features directly on the image. For a true-scale result, include a bank card or another object of known size in the photo. Without a reference object, pixel dimensions are still available, but physical dimensions depend on the camera distance and cannot be guaranteed. This is why the card method is recommended for important measurements.

Accuracy, precision and common mistakes

After a good calibration, the ruler is typically accurate to within about one millimetre on a modern screen. That is enough for everyday tasks, but it is not a replacement for a calibrated workshop instrument. Keep the following in mind:

Privacy and browser-based measurement

The tool works locally. Images you upload or capture are processed in the browser and are not sent to a server for measurement. There is no account and no need to share personal information. The site uses aggregate analytics to understand traffic, but measurements stay on your device. See the Privacy Policy for details.

Frequently asked questions

Is the online ruler really actual size?

It is actual size after calibration. The browser first estimates your screen density, then you can refine it with a bank card, device preset, screen diagonal, or manual PPI value. At 100% browser zoom, the scale should match a physical ruler within about a millimetre.

Does it work on iPhone, Android, Mac and Windows?

Yes. The tool works in modern browsers on iPhone, iPad, Android phones and tablets, Mac, Windows, Linux and Chromebooks. The layout adapts to the screen, and the same calibration and measurement tools are available on every platform.

Can I measure in millimetres?

Yes. Select mm from the unit control. Millimetres are useful for ring sizes, small hardware, jewellery and other dimensions where a centimetre reading is too coarse.

Start measuring

Open the free online ruler, calibrate once, and choose your unit. For each control, see the How to Use guide; for troubleshooting, visit the FAQ or contact us.