An accurate on-screen ruler in cm, mm and inches — calibrate once and measure anything.

Calibrate once with a real credit card (or your screen size), then measure anything against the ruler below.

Calibration

Hold a real bank card against the outline and drag the slider until the sizes match — every card is exactly 85.6 mm wide.

85.6 × 53.98 mm
inches
Measured length 0 cm
Units
Current scale: 1 cm on screen = :px px
Drag the highlighted marker along the ruler to measure.

For long objects, measure in steps or rotate the device — the ruler spans the width of your screen.


About Online Ruler

The online ruler turns your screen into an accurate measuring tool in centimeters, millimeters, and inches. Because every display has a different pixel density, you calibrate it once — either by holding a real bank card against the on-screen outline, or by entering your screen’s diagonal size in inches.

The card method works because every payment card in the world follows the ISO/IEC 7810 ID-1 standard: exactly 85.6 mm wide. Drag the slider until the outline matches your card and the ruler knows precisely how many pixels one centimeter occupies on your specific screen.

Once calibrated, drag the marker along the ruler to read off a measurement — handy for measuring small objects, checking a printed dimension, or sizing a piece of jewelry when no physical ruler is around. It is free, works on phones and desktops, and remembers nothing beyond your browser.

How to use Online Ruler

  1. Hold a real bank or ID card against the on-screen outline.
  2. Drag the calibration slider until the outline matches your card exactly — or enter your screen diagonal in inches and press Apply.
  3. Choose your units: cm/mm or inches.
  4. Place the object against the screen and drag the marker along the ruler to measure it.
  5. For objects longer than your screen, measure in steps or rotate the device to landscape.

Frequently asked questions

After calibration against a bank card, accuracy is typically within a millimeter — limited mainly by how carefully you match the outline. Without calibration, browser assumptions about pixel density can be off by 20% or more, which is why the calibration step matters.

All payment cards follow the ISO/IEC 7810 ID-1 standard: 85.6 × 53.98 mm. That makes any card in your wallet a precise, universally available reference object for setting the ruler’s scale.

Yes. Enter your display’s diagonal in inches (for example 15.6 for a common laptop) and the ruler derives the pixel density from your screen resolution. The card method is usually a touch more precise because it measures your exact screen.

Measure in steps: mark where the ruler ends, slide the object along, and add the readings. On a phone, rotating to landscape extends the ruler across the longer screen edge.

Yes — switch between cm/mm and inch graduations at any time. The calibration carries over, so you only need to set the scale once per device.


Popular searches
online ruler ruler online cm screen ruler actual size ruler ruler in inches online mm ruler online measure on screen virtual ruler
Need help?
Found an issue with this tool? Let our team know.
Report an issue

Add this free tool to your own website — copy and paste the code below.