Online Ruler
A ruler that lives in your browser. Calibrate it once against a bank card, drop markers on anything you can see on screen, and read lengths, perimeters and areas in millimetres, centimetres, metres, inches or feet.
How to use the online ruler
- Calibrate first. Choose Calibrate, pick your device if it is listed, then hold a bank card against the top-left corner of the measurement area. Drag the round handle on the dashed box until the box is exactly as wide as the card.
- Pick a unit. The unit buttons switch every edge scale, label and result between mm, cm, m, in and ft.
- Open Markers. The marker tools sit in their own collapsible panel so the main bar stays short. Choose Place markers, then tap or click to add points. Undo removes the last point and Clear all starts over.
- Read the result. The Measurement info panel shows the total length, the same length in the other units, the nearest 1/16 inch for a single segment, and the area when a shape is closed.
- Adjust a point. Hover over a point or touch it, then drag. Dragging one point onto another merges them.
How the ruler works
A web page knows how many pixels it has, but not how large those pixels are in the real world. Two laptops can show the same page with the same pixel count and still have different physical screen sizes. A trustworthy screen ruler therefore needs a physical reference, and a bank card is the most common one because the ISO/IEC 7810 ID-1 standard fixes its size at 85.6 × 53.98 mm.
When you match the dashed box to the card, Pelantar calculates how many pixels equal one millimetre and uses that single number for both directions. A card has a fixed shape, so there is no separate height setting: once the width matches, the height matches as well, and a centimetre measured sideways is the same length as a centimetre measured up and down. If you choose a custom reference size, you enter its width and height in millimetres and the same uniform scale is applied.
The calibration is saved in your browser for each screen, and it is corrected automatically if you change the browser zoom. You can also choose your phone, tablet or laptop from the device list to get a close starting scale from its published screen size and resolution, then refine it with a real object.
Getting the most accurate readings
- Set browser zoom to 100% before you calibrate and leave it alone afterwards.
- Match the card at the widest distance you can, because a small slip is a smaller percentage of a long edge.
- Look at the screen straight on. Viewing the card from an angle shifts it against the glass and causes parallax.
- Use Lock scale once you are happy so that a stray drag cannot change it.
- For long objects, measure in sections and add the results rather than stretching one measurement across the whole screen.
With careful matching, expect about 0.5 to 1 mm of error over short distances. A typical error of 0.5 mm over the 85.6 mm card width is about 0.6%, which becomes roughly 1.2 mm over 200 mm.
What you can measure
The screen ruler is best for anything small enough to hold against the display or to see in a photo: screws and bolts, jewellery, fabric swatches, photographs, paper sizes, PCB components, stamps, coins and craft templates. Because markers work on the screen itself, you can also open a photo or a drawing in another window, resize it next to the ruler and measure distances inside it, provided you know the image scale. For objects you cannot bring to the screen, such as a sofa or a doorway, use the ruler on camera instead.
Limits to keep in mind
A screen ruler is an estimate built on a manual calibration, not a certified instrument. Display scaling in your operating system, an external monitor with a different size, or a browser zoom change will all alter the scale, so recalibrate when any of them changes. Curved or very thick-bezel displays can also add small parallax errors. For anything structural, legal or safety-related, use a calibrated physical tool.
Frequently asked questions
How accurate is an online ruler?
After calibration with a bank card, readings are typically within about 1 mm for short distances. Accuracy depends on how carefully you match the card, the angle you view the screen from, and whether the browser zoom has stayed the same since calibration.
Why do I need a bank card?
Websites cannot read your real screen size. A standard card is a known 85.6 mm wide, so it gives the ruler a physical reference to convert pixels into millimetres.
What if I do not have a bank card?
Open Calibrate and pick another reference object. A US dollar bill (156.1 × 66.3 mm) and A5 paper (148 × 210 mm) are built in, and you can enter any custom width and height in millimetres.
Why is there no height adjustment?
Modern screens have square pixels, so the scale is the same in both directions. The reference object keeps its real proportions, which means matching the width also matches the height. This avoids stretching the ruler by mistake.
Can I measure in inches and feet?
Yes. Choose in or ft with the unit buttons. For a single segment the panel also shows the nearest 1/16 inch fraction, which is handy for woodworking and sewing.
How do I measure an area?
Place at least three markers, then tap the first point again to close the shape. The panel shows the perimeter and the area in the current unit and in the other units. You can start another shape and the totals are added together.
Does the ruler work on my phone?
Yes. On a phone the card is shown upright because a bank card is wider than most phone screens. Choose your phone model in Calibrate for a good starting scale and refine it with the card.
Is my calibration saved?
It is stored in your browser for the current screen only. Nothing is sent to a server, and clearing site data removes it.
Related tools
Ruler on Camera · Grid Measurement · Grid on Camera · Unit Converter · Online Protractor · Protractor on Camera · Bubble Level · Bubble Level on Camera · Sound Meter · Tone Generator
Guides
How to calibrate an online ruler with a bank card · How to measure furniture and walls with your phone camera