What is my pixel density?
Device pixel ratio (DPR) compares CSS pixels to physical device pixels. Values like 2 or 3 are common on high-density screens.
Results are estimates for information only. Privacy · Terms
Pixel density
—
Get your related information
FAQ
DPR is how many device pixels map to one CSS pixel. A DPR of 2 means a 1 CSS pixel square uses a 2×2 device pixel grid.
No. PPI (pixels per inch) needs a physical diagonal. DPR is a browser scaling factor and does not equal PPI by itself.
High-density displays pack more device pixels into the same CSS layout size, so the browser reports a higher ratio.
Zoom can change effective layout sizes. The reported devicePixelRatio may stay the same depending on the browser.
To serve sharper images (2x/3x assets) and avoid blurry UI on high-density screens.