Skip to content
Online Ruler
More free tools
Estimate

Actual Size Ruler: Calibrate Your Screen to Real Size

Match a credit card to the outline, check with a coin, and the ruler shows real centimeters and inches.

Press F for full screen. It gives the ruler the whole display.

Turn your phone sideways for a longer ruler.

For exact size, calibrate with a card (top right).

A guide is a line you place at the end of your object. Press Add guide, then drag it.

What "actual size" means on a screen

An actual size ruler shows lengths as they are in the real world. One centimeter on the screen should match one centimeter on a physical ruler. A web page cannot do this alone, because it does not know the physical size of your pixels.

This page asks you to teach it. You match an object of known size, a credit card, to an outline. From that match the tool works out how many device pixels fit in a millimeter on your screen. It saves that number for this screen and draws every ruler from it.

Why 96 PPI is wrong on most screens

PPI means pixels per inch. Web standards define a CSS pixel as 1/96 of an inch, so a simple ruler draws 96 pixels for each inch. That value is a convention. The panel in your device has its own density.

A laptop with a 13.3 inch, 2560 by 1600 panel, set to look like 1440 by 900, shows about 128 CSS pixels per inch. A ruler that draws 96 of them per inch ends up about a quarter too short. Phones are further away from 96. Change the display scaling and the number changes again.

So a fixed pixel count per inch cannot be right everywhere. The only fix is to measure on your own screen.

The credit card method

Credit and debit cards follow ISO/IEC 7810 ID-1: 85.60 by 53.98 mm. That is 3 3/8 by 2 1/8 inches. The size is the same all over the world.

  1. Press Calibrate at the top right of the page, then open the Card tab.
  2. Hold the card flat against the screen. Line up one edge with the outline.
  3. Drag the grip on the right edge until the other edge matches. Zoom in with your eyes: look straight at the screen, not at an angle.
  4. Use the 0.1 mm buttons, or the arrow keys on the grip, for fine changes.
  5. Press "My card matches".

On a narrow phone the card is shown on its short side, 53.98 mm, because the long side will not fit. The result is the same.

Check your scale

After the card step, the tool shows a coin outline at the size it now believes is right. A US quarter is 24.26 mm wide (US Mint). Lay a quarter on it. If it fits, press Yes. If not, press No and calibrate again.

This check uses a second object, so it can catch a mistake in the first match. Other methods work too: pick your device from the list, type your screen size, or use a coin or a sheet of paper. The device and screen size methods are approximate. They trust the size printed on the box.

Calibration methods compared
MethodTimeHow exactYou need
Credit cardAbout 20 secondsYou match a real object. The most exact of the four.A credit or debit card
Coin or paperAbout 20 secondsYou match a real object. Paper needs a wide screen.A coin, or a sheet of Letter or A4
My deviceUnder 10 secondsApproximate. It trusts the size listed for the device.Your device name
Screen sizeAbout 10 secondsApproximate. It trusts the diagonal printed on the box.The size in inches or cm

Per screen, saved in your browser

The calibration is saved for this screen in your browser. A laptop and an external monitor each keep their own record. If you drag the window to another monitor, the tool notices and offers to calibrate it, or to reuse a saved one. Nothing is sent to a server.

Display scaling matters. If you change it, calibrate again. After calibration, go to the full online ruler to measure.

Pixels, CSS pixels and device pixels

Three words come up often, so here is what each one means.

  • Device pixel. One physical dot on the panel. It has a real size, which depends on the hardware.
  • CSS pixel. The unit a web page uses. Browsers map it to device pixels. On a laptop with a high-density panel, one CSS pixel may use four device pixels.
  • Device pixel ratio. The number of device pixels in one CSS pixel along one side. Zooming the page changes it.

The tool stores device pixels per millimeter, which does not change when you zoom. That is why the scale holds in most browsers when you press Ctrl and plus. The card tells the tool how long a millimeter is in device pixels, and everything else follows from that.

How exact is the result?

We have not measured the accuracy on a set of devices yet, so we do not quote a figure. What we can say is how the error arises. When you match a card, you line up an edge by eye, so your match is only as good as your eyesight and the width of one pixel. The device and screen size methods trust a number printed by the maker, so their error is larger.

To keep the error small, hold the card flat and close to the glass, look straight down, and use the 0.1 mm buttons to fine-tune. Then run the check step. If a second object fits too, your scale is good for most small jobs.

When to calibrate again

Calibrate again if you change the display scaling or the resolution in the system settings, or if you plug in a new monitor. The tool notices a new screen and asks you. A calibration is also worth redoing if you used a quick method first and later need a better result.

You do not need to calibrate again after a restart, or on another day. The saved value stays in your browser until you reset it or clear the site data.

Frequently asked questions

Why does the ruler look too big or too small?

Most rulers assume 96 pixels per inch. Many screens use a different density, and browsers and operating systems scale the page. The result is a ruler that is too long or too short. Calibrate once and the ruler uses the real size of a pixel on your screen.

Does browser zoom or display scaling change the ruler?

The ruler stores the physical size of a screen pixel, so page zoom should not change its real size in Chrome, Edge and Firefox. We have not tested every browser and setup. In Safari, and after you change the display scaling, keep zoom at 100 percent or calibrate again.

How accurate is an online ruler?

It depends on the calibration. Before you calibrate, the ruler is a guess based on your screen type, and the size can be well off. After you match a credit card to the outline, the result depends on how closely you line up the edges. Zoom in, use the 0.1 mm buttons, and run the check step with a coin.

How do I calibrate an online ruler with a credit card?

Press Calibrate at the top right of the page (on a phone, above the ruler), then choose the Card tab. Hold a card flat against the screen and line up one edge with the outline. Drag the grip on the right edge until the other edge matches. Use the 0.1 mm buttons for fine changes, then press "My card matches". Then check the result with a coin.

Is the ruler true to size on a Mac, Windows PC, Chromebook and iPad?

It can be, on all of them, after you calibrate. The screens differ in pixel density and scaling, so the page cannot know the real size without your help. A saved calibration is kept per screen, so a laptop and an external monitor each keep their own.

Why is an online ruler different from a printable ruler?

An online ruler is drawn on a screen, so it needs calibration for that screen. A printable ruler is drawn on paper, and its size depends on your printer settings, such as "fit to page". A printable ruler is better for long objects. A screen ruler is better for small flat ones.

More free tools from Bingemind