PPI Calculator

Calculate pixels per inch for any screen. Enter resolution and size to get PPI, aspect ratio, total pixels, and display classification.

Ad
Ad

About PPI Calculator

PPI (Pixels Per Inch) measures how densely pixels are packed on a screen. Higher PPI means sharper text, crisper images, and less visible pixelation. This calculator takes a screen's resolution and diagonal size and returns the PPI, total pixel count, aspect ratio, physical dimensions, and a density classification. It runs entirely in your browser.

How PPI Is Calculated

The formula uses the Pythagorean theorem to find the diagonal resolution in pixels, then divides by the physical diagonal in inches: PPI = sqrt(width_px^2 + height_px^2) / diagonal_inches.

DisplayResolutionDiagonalDiagonal PixelsPPI
24" office monitor1920 x 108024"2,20391.8
27" 4K monitor3840 x 216027"4,406163.2
14" MacBook Pro3024 x 196414.2"3,605253.9
iPhone 15 Pro2556 x 11796.1"2,815461.5
iPad Pro 12.9"2732 x 204812.9"3,415264.7

A 24" 1080p monitor has 92 PPI, while an iPhone 15 Pro packs 461 PPI into a 6.1" screen. That 5x density difference is why text looks razor-sharp on phones but can appear slightly soft on large desktop monitors.

PPI Density Classifications

ClassificationPPI RangeTypical DevicesPixel Visibility
Low densityUnder 100Large desktop monitors at 1080p (27"+)Individual pixels clearly visible
Standard density100-14924" 1080p monitors, older laptopsPixels visible if you look closely
High density150-19927" 4K monitors, some tabletsPixels hard to see at arm's length
Retina / HiDPI200-299MacBooks, iPad Pro, Surface laptopsPixels invisible at normal distance
Super high density300-399Flagship phones (Samsung Galaxy S24)Indistinguishable from print
Ultra high density400+iPhone Pro models, Sony XperiaBeyond human visual acuity at any distance

Apple coined "Retina display" to mean pixels are too small to see at the typical viewing distance. For phones held at 25-30 cm, that threshold is about 300 PPI. For laptops at 45-60 cm, about 220 PPI. For desktop monitors at 60-80 cm, about 150 PPI.

PPI vs DPI vs Device Pixel Ratio

These terms are related but distinct, and they are often confused.

TermMeaningContext
PPI (Pixels Per Inch)Physical pixel density of a screenDisplay hardware specs
DPI (Dots Per Inch)Ink dots per inch in printPrinters and print design
Device Pixel Ratio (DPR)Physical pixels / CSS pixelsWeb development (window.devicePixelRatio)
Logical resolutionResolution the OS reports to appsmacOS "looks like 1800x1169" on MacBook Pro

A MacBook Pro 14" has 3024 x 1964 physical pixels but macOS reports a logical resolution of about 1512 x 982 at the default setting. That gives a DPR of 2x, meaning each CSS pixel is rendered with 4 physical pixels (2 x 2). Web developers use DPR to serve appropriately sized images. Check your current device's DPR with the Screen Resolution Checker.

Why PPI Matters for Designers

Design DecisionHow PPI Affects It
Image resolutionA 100x100px image looks fine at 96 PPI but blurry on a 2x Retina display - serve 200x200px for crisp rendering
Font renderingFonts on low-PPI screens need hinting (subpixel adjustments) to look sharp - high-PPI screens render any font smoothly
Icon design1px borders and fine details disappear on low-PPI screens - design for the lowest target PPI
Print preparationA 300 PPI image printed at 100% looks the same as on a 300 PPI screen, but a 96 PPI screen image prints at roughly 1/3 the quality
UI element sizingA 44px touch target is 0.46" on a 96 PPI screen but only 0.10" on a 460 PPI phone - use physical size, not just pixels

Common Screen Resolutions and Their PPI

Resolution NamePixelsPPI at 24"PPI at 27"PPI at 32"
Full HD (1080p)1920 x 108091.881.668.8
QHD (1440p)2560 x 1440122.4108.891.8
4K UHD3840 x 2160183.6163.2137.7
5K5120 x 2880244.8217.6183.6

This is why a 27" 4K monitor (163 PPI) looks noticeably sharper than a 27" 1440p (109 PPI), and why the Apple Studio Display at 27" 5K (218 PPI) achieves true Retina quality at desktop viewing distances.

Print PPI (DPI) Requirements

Print TypeRequired DPIPixels Needed for A4 (210 x 297mm)
Newspaper / web use72-96595 x 842
Standard print (flyers, books)3002,480 x 3,508
High-quality print (photo books)300-6002,480 x 3,508 minimum
Large format (posters, banners)1501,240 x 1,754 (A4 equivalent)

The standard for professional print is 300 DPI. Images below this threshold appear pixelated when printed. For large-format prints viewed from a distance (posters, banners), 150 DPI is usually sufficient.

For checking your current device's screen resolution and DPR, the Screen Resolution Checker reads those values directly. For mapping image dimensions to different aspect ratios, try the Aspect Ratio Calculator. All calculations run in your browser.

Frequently Asked Questions

What is PPI and why does it matter?

PPI (Pixels Per Inch) measures how densely pixels are packed on a screen. Higher PPI means sharper text and images because individual pixels become invisible to the eye. It matters for designers who need to know whether their designs will look crisp on different devices.

What PPI counts as Retina or HiDPI?

Apple considers a display "Retina" when pixels are small enough that the human eye cannot distinguish them at a normal viewing distance. For phones held close, this is around 300+ PPI. For laptops at arm's length, around 220+ PPI. For desktop monitors viewed from further away, 200+ PPI is considered high density.

How is PPI calculated?

PPI is calculated by dividing the diagonal resolution (in pixels) by the diagonal screen size (in inches). The diagonal resolution is found using the Pythagorean theorem on the horizontal and vertical pixel counts.

Does higher PPI always mean better quality?

Beyond a certain point, higher PPI provides no visible benefit since the human eye has a resolution limit. For phones, anything above 400 PPI is effectively indistinguishable. For desktop monitors, 150-200 PPI is considered very good for typical viewing distances.

Link to this tool

Copy this HTML to link to this tool from your website or blog.

<a href="https://toolboxkit.io/tools/ppi-calculator/" title="PPI Calculator - Free Online Tool">Try PPI Calculator on ToolboxKit.io</a>