Device test · Display
Screen Resolution and Pixel Density
What this display actually is: the pixel count your browser reports, the pixel density of the grid it draws on, and the physical size of the glass in inches and millimeters. The resolution needs nothing from you; the physical figures need one bank card held against the outline, and what gets saved is your panel's own pixel density, on this device only — nothing is uploaded.
Measure this screen with a bank card
Hold any standard bank card flat against the outline below — every debit, credit, and ID card is exactly 85.60 mm on its long edge (ISO/IEC 7810 ID-1). Drag the slider until the outline is precisely as wide as the card, then apply: that single match is what turns the readout above from the browser's 96-DPI assumption into figures measured on your own glass. The control spans 1.5 to 16 pixels per millimeter, which reaches every real display from a television to a 4K laptop panel at 100% scaling; if the outline runs out of travel before it matches your card, the calibration is refused rather than saved.
The measured scale
The same measured number draws this scale, so it is the measurement made visible rather than a second instrument: hold an object against it to check the match, in centimeters or in sixteenths of an inch.
How this test works
Three kinds of number sit in that readout strip, and telling them apart is most of what this page is for. The first kind is reported: the screen's size in CSS pixels, the device pixel ratio, and their product, printed as Resolution. It needs no calibration and contains no physical fact — it is what the browser was told. The second kind is measured: holding a bank card against the outline fixes how many CSS pixels cover one millimeter of glass, which is the only physical measurement of a display a web page can obtain, because no browser API reports one. The third kind is derived from the second — multiply px/mm by 25.4 for CSS pixels per inch, multiply that by the device pixel ratio for the density of the pixel grid being drawn on, and divide the screen's CSS pixel count by px/mm for the width, height and diagonal of the glass itself.
The reference is a bank card because ISO/IEC 7810 fixes the ID-1 format at 85.60 mm on its long edge, whichever bank issued it. When you drag the slider until the on-screen outline matches your card, the page divides the outline's width in pixels by 85.6. What it saves is not that ratio: it multiplies by devicePixelRatio first and stores the result — the number of physical pixels your panel puts in a millimeter, which is a property of the glass rather than of today's zoom level — and divides it back out against whatever devicePixelRatio reports on your next visit. The outline control spans 1.5 to 16 pixels per millimeter, 38 to 406 CSS pixels per inch, which covers every display from a television to a 4K laptop panel at 100% scaling. The record stays in your browser's local storage — nothing else, and nowhere else.
Each figure fails in its own way, and the readout names the state it is in rather than rounding it off. A match is badged green — bank card ±1.1% — only in the session where you held the card against the outline; that band is the card's own tolerance in service plus the alignment slop of a two-edge match by eye, so a 13-inch diagonal carries roughly ±0.15 in with it. The physical size is the sturdiest figure here because it never passes through the device pixel ratio. The density is the least sturdy: under a macOS scaled resolution the browser renders into a framebuffer that is not the panel, so what gets measured is the framebuffer's density, and the reported Resolution inherits the same caveat along with privacy modes that rewrite those values deliberately. A calibration restored from an earlier visit, or rescaled after your display scaling changed, reads re-check instead of green, because some browsers change the physical size of a CSS pixel on zoom without reporting it anywhere a page can see. And every figure describes the flat plane of the display this window is on: overscanning TVs and projectors, and strongly curved panels, will disagree with a tape measure however carefully you calibrate.
Frequently asked questions
What is my screen resolution, and is that number the panel's own?
How is the pixel density in PPI worked out?
How can a web page know my screen size in inches?
Does browser zoom or display scaling break the figures?
Is my calibration data uploaded or shared?
Related tools
What to do with the number
Now that this screen's exact pixel size is known, a wallpaper can be built to fit it rather than cropped to it — Depth Paper makes them at an exact size in the browser.
And if you came here looking for a ruler rather than a screen measurement, Real Sizer is the one that measures objects in centimetres and inches.