How to calibrate an online ruler with a bank card
Updated November 16, 2026 · Pelantar team
An online ruler is only as accurate as its calibration. This guide shows how to calibrate the Pelantar online ruler in about a minute and how to keep the result trustworthy.
Why a website cannot know your screen size
A browser knows how many pixels it has, but not how large each pixel is in the real world. Two laptops can show the same page at the same pixel size and still have different physical sizes. The “96 pixels per inch” assumption used by web standards is a convention, not a measurement, so every screen ruler needs a physical reference.
What you need
- A bank card, credit card, or any ID-1 card. The ISO/IEC 7810 ID-1 standard defines these as 85.6 mm wide and 53.98 mm tall.
- A card with clean, unworn edges that lies flat against the screen.
- Browser zoom set to 100% (press Ctrl+0 on Windows or Cmd+0 on Mac).
Step by step
- Open the online ruler. A dashed box shows the size of a bank card at the current scale.
- Lay your real card flat against the screen, left edge on the left edge of the box.
- Drag the round handle on the dashed box until its width matches the card. The card keeps its real proportions, so the height matches too. You can also type a value or use the − and + buttons for tiny steps.
- On a phone the card is shown upright, because a bank card is wider than most phone screens. Match it the same way.
- Tap Lock scale. The scale is now fixed so you cannot move it by accident.
Common problems
- The box looks too big on one side. This is parallax. Look at the screen straight on, with your eye level with the card.
- Different screens give different results. Calibrate once for every screen, because a laptop display and an external monitor have different pixel sizes.
- The ruler is off after changing display scaling. Operating-system scaling changes how pixels map to the page. Recalibrate if you change it.
How accurate can it be?
With careful matching, expect about 0.5 to 1 mm of error over short distances. Matching over the full 85.6 mm width keeps the percentage error small: a 0.5 mm slip is under 0.6%. Over a 200 mm measurement the same percentage is about 1.2 mm, so measure long objects in sections when precision matters.
Using the camera version
The camera ruler works differently because the scale depends on distance. Place the card at the same distance from the camera as your object, calibrate against it, and keep the phone parallel to the surface.
Other reference objects you can use
A bank card is handy, but any object with a known size works as long as it is flat and has sharp edges. Pelantar has built-in presets for a US dollar bill (156.1 × 66.3 mm) and an A5 sheet of paper (148 × 210 mm). For anything else, choose the custom option and type the width and height in millimetres. A standard A4 sheet is 210 × 297 mm and US Letter paper is 215.9 × 279.4 mm, so a printed page also works. Larger references give you a longer baseline to match, which makes small errors matter less.
Why one scale is enough
Modern displays use square pixels, so a millimetre is the same number of pixels sideways and up and down. That is why the calibration has a single scale, and why a reference object keeps its real shape. If the height ever seems wrong while the width matches, the cause is almost always parallax, an uneven card or a very curved screen rather than the ruler itself.
Phones and tablets
Phone screens report a pixel density that is often an approximation. If you choose your model from the device list in the Calibrate panel, Pelantar uses the published diagonal and resolution of that model to compute a close starting scale, and you then refine it with a card. On a phone the card is shown upright because it is wider than most phone screens.
When to recalibrate
- When you switch to another screen, such as an external monitor.
- After changing the operating system display scaling.
- After changing browser zoom. Pelantar corrects for zoom automatically, but resetting to 100% and recalibrating gives the best result.
- If readings look wrong by more than a millimetre against a physical ruler.
A quick check after calibrating
Hold a metal ruler against the screen and measure a distance of 100 mm with the online ruler. If the two agree within a millimetre, you are done. If not, adjust the scale a little and try again.
Frequently asked questions
Can I use a coin instead of a bank card?
You can, but only if you choose the custom reference size and type the coin's exact diameter. A card is easier because it is rectangular and its edges are easy to line up.
Do I have to calibrate every time I visit?
No. The calibration is saved in your browser for the current screen. You only need to repeat it if you change the screen, the display scaling or clear your site data.
Does browser zoom change the result?
Pelantar corrects for browser zoom, but the most reliable approach is to keep zoom at 100% after calibrating.
How accurate can a screen ruler be?
With careful matching, about 0.5 to 1 mm over short distances. Matching across the full width of a card keeps the percentage error low.
Why does my card look slightly bigger than the box on one side?
That is parallax. Look straight at the screen with the card flat against the glass, and use one eye if the glass is thick.
Try the tools
Online Ruler · Ruler on Camera · Unit Converter