Pixel Density Converter
Work out PPI from any resolution and screen size, with pixel pitch, the arc-minute retina distance and the device pixel ratio — because resolution alone tells you nothing about sharpness.
Pixel Density Converter
Results recalculate instantly on every keystroke. Nothing you type is transmitted.
What this result does not account for
- Assumes square pixels; a small number of panels and most LED walls do not have them.
- The retina distance uses a 20/20 arc-minute criterion and does not account for individual acuity, contrast or hyperacuity.
- Subpixel arrangement is not modelled, so two panels at identical PPI can render text with visibly different quality.
In short: Pixel density is diagonal pixels divided by diagonal inches: PPI = √(w² + h²) ÷ d. A 27-inch 4K panel is 163 PPI while a 27-inch 1440p panel is only 109 PPI, and the same 4K resolution on a 15-inch laptop is 294 PPI. Resolution is a pixel count; density is what your eye actually sees. The retina threshold is a distance, not a number — roughly 3437.75 ÷ PPI inches, the point at which one pixel subtends one arc-minute.
Formula
Diagonal pixels come from the Pythagorean theorem, then divide by the diagonal in inches. The retina constant is 1/tan(1 arc-minute) = 3437.7468, the distance in screen widths at which one pixel subtends one arc-minute.
Worked Example
- Square both resolutions. 3840² = 14,745,600 and 2160² = 4,665,600.
- Add and take the root. √19,411,200 = 4,405.8 diagonal pixels.
- Divide by the diagonal. 4,405.8 ÷ 27 = 163.18 PPI.
- Invert for pitch. 25.4 ÷ 163.18 = 0.1557 mm between pixel centres.
- Compare against your distance. 3437.75 ÷ 163.18 = 21.1 inches, so at a normal 24-inch desk distance this panel is already past the arc-minute threshold.
Why the same resolution looks completely different. A 3840 × 2160 panel is 4K whether it is 15 inches or 65 inches, but the density is not remotely comparable. At 15 inches it is 294 PPI and pixels vanish at about twelve inches away. At 27 inches it is 163 PPI and needs twenty-one inches. At 65 inches it is 68 PPI and you must sit over four feet back before the structure disappears. The pixel count is identical in all three cases. This is the single most misleading thing about display marketing: resolution is sold as though it were sharpness, when sharpness is resolution divided by size and then judged against distance.
Strengths & Limits Of This Model
Where this engine is strong
- Derives density from first principles rather than from a lookup table of devices.
- Reports the retina threshold as a distance, which is what it actually is, and checks it against your stated viewing distance.
- Separates logical CSS pixels from physical pixels via device pixel ratio.
Where it stops
- Not a colour accuracy, refresh rate or panel technology comparison.
- Does not account for subpixel layout or antialiasing quality.
- Cannot judge perceived sharpness, which depends on content and eyesight.
Practical Use Cases
Choosing a monitor
Comparing a 27-inch 1440p against a 32-inch 4K on equal terms, where the larger panel with more pixels can still be the less sharp one.
Designing for high-density screens
Working out how many physical pixels a CSS pixel becomes at 2× and 3×, and therefore what asset resolution is needed.
Setting television viewing distance
Establishing how close you must sit before extra resolution becomes visible at all.
Print and screen comparison
Contrasting screen PPI with print DPI — pair with the Typography Converter when specifying type for both.
Methodology & Editorial Standards
Pixel density is computed as the diagonal pixel count divided by the physical diagonal in inches, with the diagonal pixel count obtained from the Pythagorean theorem on the horizontal and vertical resolutions. This is exact arithmetic and involves no empirical data. Pixel pitch is the reciprocal, expressed as 25.4 mm divided by PPI. Physical panel dimensions are recovered by scaling the resolution ratio to the stated diagonal, which assumes square pixels; a small number of panels have non-square pixels and are not modelled. The retina distance applies the one arc-minute visual acuity criterion, using 1/tan(1 arc-minute) = 3437.7468, and represents 20/20 vision under good contrast; real acuity varies substantially between individuals and hyperacuity effects mean some people detect structure beyond this limit. Device pixel ratio is applied as a simple divisor to obtain the logical viewport; the CSS reference pixel remains 1/96 inch by definition and is an angular unit rather than a hardware pixel. All conversion factors are exact by definition under the International System of Units, or exact by international agreement where the unit is defined by treaty. Values are held at full IEEE-754 double precision internally and rounded only for display, so chained conversions do not accumulate drift.
Computation runs in IEEE-754 double precision at full internal precision; rounding to two decimal places occurs strictly at the display layer, so no cumulative drift enters the result. All monetary outputs use accounting presentation — grouped thousands, two decimals, negatives in parentheses — so figures can be transcribed directly into a model or working paper. Division-by-zero and out-of-domain inputs return an em-dash rather than a misleading number.
This engine was reconciled against an independent reference implementation and hand-verified for the worked example above before release. Our full five-stage review process is published on the About Us page.
Disclaimer. This calculator is provided for informational and modelling purposes only and does not constitute financial, tax, legal, medical, or engineering advice. Verify all figures with a qualified professional before acting on them.
Pixel Density Converter — 8 Expert FAQs
8 analyst-written answers to the questions practitioners actually ask — optimised for voice and answer-engine retrieval.
How do I calculate PPI?
Take the square root of the width squared plus the height squared to get the diagonal pixel count, then divide by the diagonal screen size in inches. For a 27-inch 4K panel that is √(3840² + 2160²) = 4,405.8 pixels, divided by 27, giving 163.18 PPI. The diagonal is used because that is the dimension manufacturers publish.
What PPI counts as retina?
There is no single number, which is the most misunderstood point in the subject. Retina means pixels are not resolvable at the intended viewing distance, so it depends entirely on how far away you sit. Around 218 PPI suffices for a desktop monitor at arm's length, roughly 264 for a tablet, and over 300 for a phone held close. Divide 3437.75 by the PPI to get the distance in inches where that panel becomes pixel-free.
Is DPI the same as PPI?
Not strictly. PPI describes pixels per inch on a display; DPI describes ink dots per inch from a printer, and printers lay down multiple dots per pixel to simulate colour. In everyday screen discussion the two terms are used interchangeably and mean the same arithmetic, but in a print workflow they are genuinely different quantities and a 300 DPI print is not a 300 PPI screen.
Why does my 4K monitor not look sharper than my laptop?
Because density, not resolution, determines sharpness. A 32-inch 4K monitor is 138 PPI while a 14-inch MacBook Pro is 254 PPI, so the laptop is nearly twice as dense despite having fewer total pixels. Spreading the same pixel count over a larger panel reduces sharpness proportionally.
What is device pixel ratio?
The number of physical pixels the display uses for each CSS pixel. At 2× one CSS pixel becomes a 2×2 block of four physical pixels; at 3× it becomes nine. Browsers lay out in CSS pixels so that a page stays the same apparent size across devices, while the hardware renders at full density. It is why images need to be supplied at twice or three times their layout size to look crisp.
What is pixel pitch?
The centre-to-centre distance between adjacent pixels, and simply the reciprocal of density: 25.4 divided by PPI gives the pitch in millimetres. A 163 PPI monitor has a 0.156 mm pitch and a 460 PPI phone has 0.055 mm. Pitch is the more common specification in industrial displays and LED walls, where it is quoted in millimetres directly.
Does higher pixel density drain more battery?
Generally yes, on two counts. More pixels means more work for the GPU to render each frame, and on LCD panels a denser pixel grid blocks more of the backlight, requiring more illumination for the same brightness. The effect is real but usually smaller than the panel's brightness setting, which dominates display power consumption.
How do I find the physical size of my screen from the resolution?
You cannot, from resolution alone. You need either the diagonal or the density. Given the diagonal and the resolution, this converter recovers the width and height by scaling the aspect ratio to the diagonal, which assumes square pixels. Given the density instead, divide each pixel dimension by the PPI to get inches.