Screen Pixel Density Calculator
Pixel density equals the diagonal pixel count divided by the diagonal screen size in inches. The diagonal pixel count comes from the square root of width squared plus height squared.
Formula & method
PPI = sqrt(pixel width² + pixel height²) ÷ diagonal inches; pixels/cm = PPI ÷ 2.54.Worked example
| Input | Value |
|---|---|
| Horizontal resolution | 1,920 px |
| Vertical resolution | 1,080 px |
| Physical diagonal | 24 in |
| Result | Value |
|---|---|
| Pixel density | 91.78779875 ppi |
| Pixel density | 36.13692864 px/cm |
Compare scenarios
The first input changes while the other example inputs stay fixed. These are arithmetic scenarios, not forecasts.
| Compare scenarios | Horizontal resolution px | Pixel density | Pixel density |
|---|---|---|---|
| −20% | 1,536 | 78.23681998 ppi | 30.80189763 px/cm |
| Example | 1,920 | 91.78779875 ppi | 36.13692864 px/cm |
| +20% | 2,304 | 106.0235823 ppi | 41.74156783 px/cm |
Assumptions & limits
Use the active display’s physical diagonal and native pixel grid. Operating-system scaling and browser zoom do not change the panel’s physical density. This model assumes a rectangular display with square pixels.
Displayed results are rounded. Calculations use unrounded JavaScript numbers; small floating-point differences are possible.
Works in your browser
The interactive tool runs in a sandbox with network access blocked. ClearByte and the advertising scripts cannot read values inside it. Browser extensions and a compromised device remain outside this protection.
Sources & definitions
Method checked:
Continue with a related task
CSS Pixel to Device Pixel Calculator
Multiply each CSS dimension by device pixel ratio to obtain backing dimensions. An 800 × 600 CSS-pixel area at a ratio of 2 needs 1,600 × 1,200 device pixels.
Aspect Ratio Height Calculator
Matching height equals width multiplied by ratio height divided by ratio width. At a 16:9 ratio, a width of 1,920 pixels gives a height of 1,080 pixels.
Raw Image Memory Calculator
Raw image bytes equal width × height × channels × bytes per channel. A 1,920 × 1,080 buffer with four one-byte channels occupies 8,294,400 bytes before other memory overhead.
Percentage Calculator
Calculate a percentage of a base value and the value after that percentage is added or removed. Enter a negative base only when it makes sense for your task.