Meter Drawer

Ruler

On-screen ruler, actual size

Not calibrated yet. Lengths are a guess.

0.0cm

0.00in

Object against the 0 line. Tap or drag where it ends.

Tap Calibrate with a card, hold any bank card or driver's license on the screen and resize the outline until it matches. The ruler is then true size on this screen, in inches and cm, and remembers the scale.

Common sizes to check against

Objectmminches
Bank card or driver's license (ID-1), long side85.603.370
Same card, short side53.982.125
US quarter, diameter24.260.955
US penny, diameter19.050.750
US dollar bill, long side156.06.14
US Letter paper, short side215.98.5

How it works

The outline is drawn at a trial scale in CSS pixels per millimeter. When it matches the card's 53.98 mm side, that scale is exact for your screen, and the ruler draws millimeter and 1/16 inch marks from it. The scale is stored under your screen size and pixel ratio, so a different device or zoom level asks for a new calibration.

Gear that helps

Affiliate links: as an Amazon Associate we earn from qualifying purchases, at no cost to you. They open a search, not one product, so compare reviews.

Questions

Is an online ruler actual size?

Not until it is calibrated. Browsers draw in "CSS pixels", and how many fit in an inch changes from screen to screen (about 96 on many desktops, 130 to 170 on phones). Matching a real card fixes the scale for your screen. After that, expect about 0.5 mm over 5 cm if you match the card carefully.

Why a credit card?

Bank cards, most US driver's licenses and many ID cards share one international size, ID-1: 85.60 by 53.98 mm (3.370 by 2.125 inches). Almost everyone has one in reach. A gift card or library card of the same shape works too.

Is it safe to hold my card to the screen?

Yes. The page only shows an outline and saves one number (pixels per millimeter) in your browser. Nothing about the card is read, typed or sent. Hold it face down if you prefer.

Do I need to calibrate every time?

No. The scale is saved in this browser for this screen size. If you zoom the page, change the display size setting, or use another phone, calibrate again.

My phone screen is narrower than a card. How does that work?

The card outline is drawn standing up, so its short side (53.98 mm, 2.125 in) goes across the screen. Every phone screen is wider than that.

How do I measure with it?

Put the object against the top edge of the ruler (the 0 line), then tap or drag on the ruler where the object ends. The length shows in centimeters and inches.

Other tools