The PPI Formula Explained
Display screens arrange pixels in a two-dimensional grid. Physical screen size is universally specified by the diagonal measurement in inches. To calculate pixel density along this diagonal, we apply the Pythagorean theorem to the horizontal and vertical pixel counts, then divide by the physical diagonal.
Mathematical Step-by-Step Breakdown
- Step 1: Identify screen dimensions:Find the horizontal resolution (W in pixels), vertical resolution (H in pixels), and physical diagonal (D in inches).
- Step 2: Calculate the diagonal resolution in pixels:Square width and height, add them together, and take the square root:
Dpixels = √(W2 + H2) - Step 3: Divide diagonal pixels by diagonal inches:Divide the total diagonal pixel count by the screen's physical diagonal:
PPI = Dpixels ÷ Dinches
Step-by-Step Manual Worked Example
Let's calculate the exact pixel density of a 24-inch 1080p desktop monitor (1920 × 1080 resolution, 24.0″ diagonal):
10802 = 1,166,400
Common Screen Sizes & Their Calculated PPI
The table below demonstrates how the exact same resolution (like 1080p or 4K) produces completely different pixel densities depending on physical display size:
| Device Class / Name | Resolution | Diagonal | Pixel Density | Dot Pitch |
|---|---|---|---|---|
| 6.1″ OLED Smartphone | 1170 × 2532 | 6.1″ | 457.3 PPI | 0.056 mm |
| 15.6″ Full HD Laptop | 1920 × 1080 | 15.6″ | 141.2 PPI | 0.180 mm |
| 24″ 1080p Monitor | 1920 × 1080 | 24″ | 91.8 PPI | 0.277 mm |
| 27″ 1440p Monitor | 2560 × 1440 | 27″ | 108.8 PPI | 0.233 mm |
| 27″ 4K Monitor | 3840 × 2160 | 27″ | 163.2 PPI | 0.156 mm |
| 55″ 4K Television | 3840 × 2160 | 55″ | 80.1 PPI | 0.317 mm |
PPI vs. DPI: What Is the Difference?
While people frequently use PPI and DPI interchangeably, they represent two distinct physical media:
- PPI (Pixels Per Inch): Measures digital displays. It describes how many glowing RGB sub-pixel clusters exist per linear inch of glass panel.
- DPI (Dots Per Inch): Measures physical print technology (inkjet, laser, offset printing). It describes how many microscopic droplets of ink or toner a printer deposits per inch of physical paper.
For a complete deep-dive comparison with visual charts, explore our dedicated PPI vs DPI Difference Guide.