Why this matters
Pixel density — measured in pixels per inch, or PPI — is the single number that best predicts how sharp a screen looks at a given viewing distance. Two monitors can both be marketed as '4K' but look dramatically different if one is 27 inches and the other is 32 inches. The smaller screen packs more pixels into each inch, producing crisper text and finer detail. Without calculating PPI, you cannot make an informed comparison.
Physical dimensions matter when you are designing for a specific device, evaluating whether a monitor fits on your desk, or comparing the usable screen area of two phones with different aspect ratios. A 6.1-inch phone with a 19.5:9 ratio has a narrower and taller screen than a 6.1-inch phone with a 16:9 ratio, even though the diagonal measurement is identical. The area difference can exceed 10 percent.
This calculator handles all of these computations from just two inputs: resolution in pixels and diagonal in inches. The PPI formula uses the Pythagorean theorem to find the diagonal in pixels, then divides by the diagonal in inches. Physical width and height are derived by solving for each dimension using the aspect ratio. Common device presets let you skip the manual entry for popular screens like the iPhone 15 Pro, MacBook Pro 14, and standard 4K monitors.
Computed outputs explained
| Output | Formula | Unit |
|---|---|---|
| PPI | Diagonal pixels divided by diagonal inches | pixels per inch |
| Physical width | Resolution width divided by PPI | inches (and mm) |
| Physical height | Resolution height divided by PPI | inches (and mm) |
| Screen area | Physical width times physical height | square inches |
| Aspect ratio | Width divided by height, simplified | ratio (e.g. 16:9) |
How to use it
Enter the screen width and height in pixels (for example, 2560 x 1600 for a MacBook Pro 14).
Enter the diagonal screen size in inches (for example, 14.2).
Alternatively, select a common device preset to auto-fill the resolution and diagonal.
Review the computed PPI, physical width and height in both inches and millimeters, total screen area, and aspect ratio.
Testing your result
Select the iPhone 15 Pro preset and verify the PPI is approximately 460. Then manually enter 1170 x 2532 pixels with a 6.1-inch diagonal and confirm you get the same result. Check that the physical dimensions match Apple's published specs within a small rounding margin.
Compare two monitors with the same resolution: enter 3840 x 2160 with a 27-inch diagonal and then with a 32-inch diagonal. The 27-inch should show roughly 163 PPI and the 32-inch roughly 137 PPI. Verify the physical dimensions are smaller for the 27-inch and larger for the 32-inch, confirming that the same pixel count spread over more inches produces lower density.
Common mistakes
Confusing diagonal measurement with width; a 27-inch diagonal is the corner-to-corner distance, not the horizontal width.
Entering the display resolution instead of the native panel resolution, which can differ when scaling is active on the device.
Assuming higher PPI always means a better screen; at typical desktop viewing distances (24-30 inches), anything above 100 PPI looks sharp to most people.
Comparing PPI across devices with very different viewing distances (phone vs. TV) without accounting for angular resolution.
Edge cases and options
The device presets are verified against manufacturer specifications for popular devices including the iPhone 15 Pro, Samsung Galaxy S24, Google Pixel 8, MacBook Pro 14-inch and 16-inch, and common 4K desktop monitors. These presets save time and eliminate data-entry errors, but you can always override them with custom values for less common devices or hypothetical screens.
Apple's Retina branding corresponds to different PPI thresholds depending on the device category. For phones held 10 to 12 inches away, the threshold is around 300 PPI. For laptops and desktops viewed at arm's length, it drops to approximately 150 to 200 PPI. A screen above these thresholds renders individual pixels indistinguishable at the expected viewing distance, which is why text and images look smooth rather than pixelated.
Real-world use cases
A shopper comparing two 4K monitors from different brands to determine which has higher pixel density and sharper text rendering.
A UI designer checking whether a design comp at 1440p will map cleanly to a 27-inch monitor's physical pixel grid.
A home theater enthusiast calculating the viewing distance at which a 65-inch 4K TV becomes indistinguishable from an 8K TV based on PPI and angular resolution.
Frequently asked questions
Q: How is PPI computed?
A: PPI equals the square root of (width squared plus height squared), all in pixels, divided by the diagonal measurement in inches. The numerator gives the diagonal pixel count, and dividing by the physical diagonal yields pixels per inch.
Q: What PPI counts as a Retina display?
A: Apple's Retina threshold is approximately 300 PPI for phones held 10 to 12 inches away and 150 to 200 PPI for desktop monitors viewed at arm's length. Above these thresholds, individual pixels are not distinguishable at normal viewing distance.
Q: Why does a 27-inch 4K monitor have higher PPI than a 32-inch 4K monitor?
A: The same number of pixels spread over more physical inches means lower density. A 27-inch 4K screen produces about 163 PPI, while a 32-inch 4K screen produces about 137 PPI. Both look sharp at typical viewing distances; the 27-inch is simply sharper.
Q: Are the device preset resolutions accurate?
A: Yes — the presets are verified against manufacturer specifications for the iPhone 15 Pro, Galaxy S24, Pixel 8, MacBook 14-inch and 16-inch, and common 4K monitors.
Q: Can I calculate PPI for a TV or projector screen?
A: Yes — the formula works for any display. Enter the native resolution and diagonal size. Keep in mind that TVs and projectors are viewed from much farther away, so lower PPI is acceptable and often imperceptible.
Q: Why is screen area useful to know?
A: Screen area tells you the actual usable surface of the display in square inches. Two screens with the same diagonal but different aspect ratios can have noticeably different areas, which affects how much content fits on screen.
Start using it now
Try the Screen Size Calculator tool. See also DPI / PPI Calculator, Aspect Ratio Calculator, and Data Storage Converter.