Screen DPI Checker screenshot

Screen DPI Checker

Find your screen's real PPI from devicePixelRatio, the reported resolution and one width you measure with a ruler.

Privacy First
0 Runs
Updated 2026-11-06
No upload
Runs in this tab

Reported pixels, measured inches

The page prints window.devicePixelRatio, the CSS-pixel resolution, the device-pixel resolution and the assumed PPI of devicePixelRatio × 96. That last figure is an assumption built into CSS, not a property of your panel: one CSS pixel is one ninety-sixth of an inch by definition, whatever the glass actually is.

To get the real figure, measure the lit width of the screen in millimetres and type it in. The page divides the device-pixel width by those inches and prints the measured PPI and the diagonal in inches. A reading outside 20–2000 mm is refused as a typo, since no screen is that size. One millimetre of error on a 300 mm screen moves the answer by about half a percent, which the page states.

Everything is arithmetic in this tab on values your browser reports. Nothing is uploaded and no measurement is stored.

Read the pixel ratio and screen geometry this browser reports, and compute a real PPI from one width you measure with a ruler in millimetres.

The reported figure is an assumption (devicePixelRatio × 96); the measured figure is arithmetic on your ruler reading, and the page keeps the two apart.

How to use Screen DPI Checker

Read Reported by this browser first: devicePixelRatio, the CSS pixels and the assumed PPI, which is the convention 96 × the ratio rather than a measurement.

Measure the visible width in millimetres and type it into Visible width, measured with a ruler (mm); 20 to 2000 mm is accepted.

Compare the measured PPI with the assumed figure above it — the page keeps the two apart on purpose.

What is reported

window.devicePixelRatio, the CSS-pixel size and the device-pixel size are read from the browser. The assumed PPI is 96 × devicePixelRatio, which is a convention rather than a measurement of your panel.

Measuring the real PPI

Enter the visible width in millimetres, measured edge to edge with a ruler. The page divides the device-pixel width by that width in inches to get a measured PPI, and derives the diagonal from the same reading. The range accepted is 20 to 2000 mm, and a value outside it is refused with the limit named.

Where it stops

One measured width, no DPI database and no panel identification. Nothing on the browser side knows the panel's real size, so the ruler is the measurement and everything else is arithmetic on it.

What to Expect

Best for

  • estimating the real pixel density of a screen
  • checking what a browser claims about its display

What this tool keeps

  • The readings and the arithmetic stay in this tab; the measured width is not uploaded or stored.

Frequently asked questions

Why is the assumed PPI not the real one?

Because devicePixelRatio × 96 is a convention for scaling CSS pixels, not a measurement of the panel. The page labels it as assumed and offers the ruler measurement as the alternative.

How do I measure it properly?

Measure the visible width of the screen edge to edge in millimetres with a ruler and enter it. The page divides the device-pixel width by that figure to get a measured PPI.

What if my measurement is rejected?

A width below 20 mm or above 2000 mm is refused, because it is not a plausible screen measurement. The message names the value and the accepted range.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.