Online Ruler (cm and inch)
Hold a debit or credit card (85.60 × 53.98 mm) to the screen and adjust the scale until the card shape matches it; the ruler then shows true centimeters and inches. Uncalibrated, 1 inch is only 96 CSS pixels, which is rarely the real size.
How to use
- Hold an ATM, debit or credit card flat against the screen. Pick the long or short edge, then use the slider or the plus and minus buttons until the on-screen card matches it.
- Place the object next to the ruler on the screen. Drag the marker, or use the left and right arrow keys, to the end of the object.
- Read the length in centimeters, millimeters, decimal inches and the nearest 1/16 inch fraction. Your calibration is saved in this browser.
How it works
Bank cards follow ISO/IEC 7810 ID-1: 85.60 mm by 53.98 mm. When the on-screen card has the same edge length as the real one, the page knows how many CSS pixels make one millimeter.
The marks are then drawn at 1 mm steps for centimeters and 1/16 inch (25.4 mm ÷ 16) steps for inches. The measured length is the marker distance in pixels divided by pixels per millimeter.
Zoom changes the pixel size, so recalibrate after zooming. Accuracy is about one millimeter on a careful match.
FAQ
Which card should I use for calibration?
Any ATM, debit, credit, Aadhaar PVC or similar card of the standard size, since they share the 85.60 × 53.98 mm format. Paper Aadhaar printouts are not the same size.
How accurate is it?
After calibrating with a card it is typically within about 1 mm over 10 cm. Keep the browser zoom at the level you used for calibration.
Does it work on a phone?
Yes. Start with the short edge so the card fits the screen. The ruler is as long as your screen is wide, so use it for small objects.