PPI Calculator
A PPI calculator converts a screen’s pixel resolution and physical diagonal into pixels per inch, the standard shorthand for display pixel density. The result helps compare laptop panels, phones, monitors, tablets, image previews, and design targets where the same resolution can look sharp on one size and coarse on another.
What pixels per inch measures
Pixels per inch is a linear density: how many individual pixels lie along one inch of screen length. It is commonly written as PPI for displays and images, while print discussions often use DPI for dots per inch. The numbers can look similar, but a display pixel and a printed ink dot are not the same physical object. It is not the total number of pixels and not the physical screen size by itself. A 1920 by 1080 phone would have far higher PPI than a 1920 by 1080 television because the same pixel grid is compressed into a much smaller diagonal.
The calculator also reports aspect ratio, screen area in square inches, and pixel diagonal. Aspect ratio describes the shape of the grid, such as 16:9. Screen area gives physical size context. Pixel diagonal is the diagonal length of the pixel grid before it is divided by the physical diagonal. If you need to convert physical measurements first, use the length calculator. For proportional resizing, the scale converter calculator is a useful companion.
Formula and variable definitions
The pixel grid forms a right triangle: width in pixels is one leg, height in pixels is the other leg, and the diagonal in pixels is the hypotenuse. The calculator uses:
Then it divides by the physical diagonal size:
where:
- is the horizontal resolution in pixels.
- is the vertical resolution in pixels.
- is the diagonal resolution in pixels.
- is the physical screen diagonal in inches.
- is pixels per inch.
The screen area shown by the calculator is derived from the same geometry. It estimates physical width and height from the diagonal and the pixel aspect, then multiplies those physical dimensions. The aspect ratio is reduced by the greatest common divisor of the pixel width and height.
Example: calculating pixel density
Consider a 1920 by 1080 display with a 15.6 inch diagonal. First calculate the pixel diagonal:
Now divide by the physical diagonal:
Rounded like the calculator, the display is 141.21 PPI. The aspect ratio is 16:9 because both 1920 and 1080 reduce by a common divisor of 120. The calculator also reports a pixel diagonal of 2202.91 px and a screen area of 103.99 sq in for this example. That area is not entered directly; it is inferred from the diagonal and aspect ratio, so rounding can differ slightly from manufacturer dimensions.
Interpreting PPI in real devices
PPI is most useful when comparing displays viewed from similar distances. A phone held close to the eyes benefits from very high density. A desktop monitor sits farther away, so a lower PPI can still look crisp. A television is farther away again, which is why a large 4K TV can have lower PPI than a small laptop while still appearing detailed from a couch.
Designers use PPI to reason about how much physical space an interface may occupy, but modern operating systems often apply scaling. A high-PPI laptop may render text at a comfortable physical size by mapping one CSS or logical pixel to multiple hardware pixels. Photographers and print designers should be careful not to confuse display PPI with print DPI. A file’s pixel dimensions, print size, and printer dot behavior are related but not identical.
For very large image dimensions, the scientific notation calculator can make pixel counts easier to read. For percent-based scale changes, the percentage increase calculator can help describe how much density changes when moving between devices.
Domain, edge cases, and common mistakes
Width and height must be positive whole-pixel counts. A screen cannot have 1920.5 horizontal pixels. Diagonal size must be positive and is measured in inches, because PPI is explicitly per inch. If you enter centimeters as though they were inches, the density will be wrong by a factor of 2.54.
A resolution label such as 1080p, 1440p, or 4K does not determine PPI without screen size. Likewise, diagonal size alone says nothing about sharpness. The same 27 inch monitor can be low-density at 1920 by 1080, moderate at 2560 by 1440, and much denser at 3840 by 2160. Also remember that PPI is linear. Doubling PPI roughly quadruples pixels per square inch, which can increase graphics workload and affect battery life.
Sources
- Wolfram MathWorld, Pythagorean Theorem — right-triangle relationship used for the pixel diagonal.
- W3C, CSS units — practical distinction between screen units, pixels, and physical units in web display contexts.
- NIST, SI Units — unit-system context for length measurements and conversions.