PPI / DPI Calculator
Calculate pixels per inch from screen resolution and diagonal size. Compare your display density to iPhones, MacBooks, 4K monitors, and TVs.
Quick Answer
PPI = sqrt(width^2 + height^2) / diagonal inches. A 27" 4K monitor (3840x2160) has approximately 163 PPI.
163.180.156 mm4406 px8.29 MP (8,294,400)23.5 x 13.2 inchesComparison to Common Devices
| Device | PPI | Size | vs Yours |
|---|---|---|---|
| iPhone 15 Pro | 460 | 6.1" | -64.5% |
| iPhone 15 Pro Max | 460 | 6.7" | -64.5% |
| iPad Pro 12.9" | 264 | 12.9" | -38.2% |
| MacBook Air 13 M3 | 224 | 13.6" | -27.2% |
| MacBook Pro 14 M3 | 254 | 14.2" | -35.8% |
| iMac 24" | 218 | 23.5" | -25.1% |
| Dell U2723QE 27" 4K | 163 | 27" | +0.1% |
| Samsung 32" 4K | 138 | 31.5" | +18.2% |
| LG C3 55" 4K TV | 80 | 55" | +104.0% |
| LG C3 65" 4K TV | 68 | 65" | +140.0% |
| Samsung Galaxy S24 Ultra | 505 | 6.8" | -67.7% |
| Steam Deck OLED | 204 | 7.4" | -20.0% |
About This Tool
The PPI / DPI Calculator computes the pixel density of any display from its resolution and physical screen diagonal. Pixel density — measured in pixels per inch (PPI) — determines how sharp text, images, and UI elements appear on screen. A higher PPI means individual pixels are smaller and closer together, making them harder to distinguish with the naked eye. This tool gives you an instant PPI reading along with dot pitch, total megapixels, and physical screen dimensions, plus a side-by-side comparison to popular devices so you can see where your display falls on the sharpness spectrum.
How PPI Is Calculated
The formula is straightforward: PPI equals the diagonal pixel count divided by the diagonal physical size in inches. The diagonal pixel count is the hypotenuse of the rectangle formed by the horizontal and vertical pixel counts, calculated using the Pythagorean theorem: diagonal pixels = sqrt(width^2 + height^2). For a 3840x2160 display at 27 inches, that is sqrt(3840^2 + 2160^2) / 27 = sqrt(14,745,600 + 4,665,600) / 27 = 4415.9 / 27 = 163.6 PPI.
PPI vs DPI: Clearing Up the Confusion
PPI and DPI are frequently used interchangeably, but they refer to different things. PPI describes screen displays — how many pixels are packed into each inch of screen. DPI describes print output — how many ink dots a printer places per inch on paper. When someone says a monitor has "high DPI," they technically mean high PPI. The confusion is so widespread that even operating systems use the wrong term (Windows calls its scaling feature "DPI scaling"). For clarity, use PPI for screens and DPI for printers.
What Makes a Display "Retina" Quality?
Apple coined the term "Retina display" to describe screens where individual pixels cannot be distinguished at a normal viewing distance. The threshold depends on how far away you hold the device. For phones (10-12 inches), Retina quality starts around 300 PPI. For tablets (15-18 inches), approximately 264 PPI. For laptops (18-24 inches), around 218 PPI. For desktop monitors (24-30 inches), approximately 200 PPI. A 4K TV at 80 PPI looks perfectly sharp from a couch because it is viewed from 6-10 feet away. Context is everything when evaluating pixel density.
Practical Applications for Designers and Developers
Understanding PPI is crucial for creating assets that look sharp on every device. On a 2x display (220 PPI MacBook), a 100px CSS image renders across 200 physical pixels. If you serve only a 100px raster image, it looks blurry. The solution is to provide 2x images (200px for 100px display size) or use vector formats like SVG. The srcset attribute in HTML and the image-set() function in CSS let you serve different resolutions to different devices automatically. Always design at the highest density you plan to support, then scale down.
Choosing a Monitor Based on PPI
For general office work and web browsing, 96-110 PPI (1080p at 24 inches) is adequate. For design and development work where text clarity matters, 140-165 PPI (4K at 27-32 inches) is the sweet spot. For the sharpest possible desktop experience, 218 PPI (Apple Studio Display at 27 inches or LG 5K at 27 inches) is the current gold standard. Higher PPI requires more GPU power to drive, so balance pixel density against your computer's graphics capability, especially if you use multiple displays.
Mobile Display Density
Modern smartphones have the highest PPI of any consumer displays, ranging from about 400 PPI (budget phones) to over 500 PPI (flagship phones like Samsung Galaxy S24 Ultra at 505 PPI). At these densities, individual pixels are completely invisible regardless of how closely you look. The real differentiators between phone displays are now brightness, color accuracy, refresh rate, and OLED versus LCD technology rather than raw pixel density. Most phones crossed the threshold of "indistinguishable pixels" years ago.
Frequently Asked Questions
What is PPI and how is it calculated?
What is the difference between PPI and DPI?
What PPI is considered Retina or high-DPI?
Does higher PPI always mean better display quality?
How does PPI affect web and UI design?
What is dot pitch?
Was this tool helpful?