Pixels Per Inch (PPI) Calculator

Calculate display pixel density (PPI) from resolution and screen size. Compare devices, check Retina thresholds, and understand pixel density impact.

For Retina threshold
163.2 PPI
High (HiDPI monitor)
PPI
163.2
Dot pitch: 0.156 mm
Total Pixels
8,294,400
8.3 megapixels
Aspect Ratio
16:9
3840 × 2160
Physical Size
23.5″ × 13.2″
311.5 sq inches
Retina?
✅ Yes
Threshold: 123 PPI at 28″
Suggested DPR
Effective: 1920×1080 CSS px

Device Comparison

DeviceResolutionSizePPIDensity
iPhone 15 Pro2556×11796.1460
Samsung S24 Ultra3120×14406.8505
iPad Pro 11"2388×166811264
MacBook Air 13"2560×166413.6224
MacBook Pro 16"3456×223416.2254
Dell U2723QE3840×216027163
Apple Studio Display5120×288027218
LG C3 OLED 55"3840×21605580
Your Display3840×216027163
Planning notes, formulas, and examples

About the Pixels Per Inch (PPI) Calculator

Pixel density — measured in pixels per inch (PPI) — determines how sharp text and images appear on a display. A 4K monitor at 32 inches looks different from 4K on a 15-inch laptop because the same pixels are spread over different physical areas. Our PPI Calculator computes the exact pixel density for any display based on its resolution and physical size.

Enter the horizontal and vertical pixel resolution along with the diagonal screen size to calculate PPI, total pixel count, and display area. The calculator also indicates whether the display meets Apple's Retina threshold (which varies by viewing distance), shows the device pixel ratio (DPR) relevant to web developers, and compares common device specifications.

Understanding PPI is important for designers, developers, and consumers. Designers need PPI to ensure artwork appears at the correct physical size. Web developers use device pixel ratio to serve appropriate image resolutions. Consumers benefit from understanding why a phone's 6-inch 1080p display can look sharper than a laptop's 14-inch 1080p screen — it's all about pixel density.

When This Page Helps

Make informed display purchases, set appropriate design asset resolutions, and understand why some screens look sharper than others despite similar specs. Use it when comparing phones, monitors, tablets, or print targets where viewing distance and UI scale change what "sharp enough" actually means.

How to Use the Inputs

  1. Enter horizontal resolution (e.g., 3840) and vertical resolution (e.g., 2160).
  2. Enter the diagonal screen size in inches (e.g., 27).
  3. View PPI, total pixels, and display classification.
  4. Check if the display qualifies as Retina for typical viewing distances.
  5. Compare your display against common devices in the reference table.
  6. Use presets for popular monitor and phone specs.
Formula used
Diagonal Pixels = √(Width² + Height²) PPI = Diagonal Pixels / Diagonal Inches Display Area = (Width / PPI) × (Height / PPI) Dot Pitch = 25.4 / PPI (mm per pixel)

Example Calculation

Result: 163 PPI

Diagonal pixel count = √(3840² + 2160²) = 4,406 pixels. Divided by 27 inches = 163.2 PPI. This provides excellent sharpness at typical desktop viewing distance (24-30 inches).

Tips & Best Practices

  • For most people, the ideal desktop PPI sweet spot is 110-165 PPI (4K at 27-32").
  • A 4K 27" monitor at 150% scaling gives the best balance of sharpness and usable space.
  • Web images need to be 2× CSS resolution for Retina displays (device pixel ratio of 2).
  • OLED displays can appear sharper than LCD at the same PPI due to sub-pixel arrangement.
  • Text legibility is the most PPI-sensitive content type — photos are more forgiving.
  • Windows recommends 96 PPI as baseline; macOS uses 72 PPI as the reference.

The Science of Pixel Density

The human eye can resolve approximately 1 arc minute of detail under ideal conditions, which translates to different PPI requirements at different viewing distances. At 10 inches (typical phone distance), the threshold is approximately 344 PPI. At 20 inches (laptop distance), it drops to about 172 PPI. At 30 inches (desktop monitor distance), about 115 PPI is sufficient. These calculations follow the formula: threshold PPI = 3438 / distance_inches.

In practice, people can often perceive improvements beyond these theoretical limits, especially for text rendering where sub-pixel antialiasing interacts with physical pixel arrangements. PenTile OLED displays, which use fewer sub-pixels than RGB-stripe LCDs, may appear slightly less sharp at the same nominal PPI. This is why Samsung Galaxy phones with PenTile screens use higher resolutions to compensate.

Display Technology and Effective PPI

Not all PPI is created equal. Different display technologies render sub-pixels differently. Traditional LCD panels use RGB stripe sub-pixel layouts with three sub-pixels (red, green, blue) per pixel. OLED panels often use PenTile Diamond arrangements with only two sub-pixels per pixel, effectively reducing the sub-pixel density. Apple's ProMotion displays and modern OLED screens use different arrangements that optimize perceived sharpness.

ClearType (Windows) and sub-pixel antialiasing (macOS) exploit these sub-pixel layouts to effectively triple the horizontal resolution for text rendering. This means a 100 PPI display with good sub-pixel rendering can produce text that appears as sharp as 150+ PPI without it. This is why macOS text historically looked better on Apple displays optimized for their rendering pipeline.

PPI in Web Development

Web developers must account for device pixel ratio (DPR) to deliver appropriately sized images. A device with 2× DPR displays CSS pixels using a 2×2 grid of physical pixels. Serving a 400×300 CSS-sized image as a 400×300 file looks blurry on 2× screens — you need an 800×600 source file. Using srcset and sizes attributes in HTML, or resolution-switching in CSS with image-set(), allows serving different image files based on DPR, balancing sharpness against bandwidth. This is especially important for e-commerce product images, hero images, and any visual content where quality directly impacts user experience.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • It depends on viewing distance. For phones (10-18 inches), 300+ PPI is ideal. For laptops (18-24 inches), 200+ PPI is excellent. For desktop monitors (24-36 inches), 100-160 PPI is standard, and 160+ is high-density.