Skip to content
FeetToPixelsDPI / PPI / CSS

Pixels Per Inch (PPI)

461.44

Formula

PPI = sqrt(width^2 + height^2) / diagonal

Device PPI Comparison

DeviceCategoryResolutionSizePPI
iPhone 15 ProPhone2556 x 11796.1"461.4
Samsung Galaxy S24Phone2340 x 10806.2"415.7
iPad Pro 12.9"Tablet2732 x 204812.9"264.7
MacBook Pro 14"Laptop3024 x 196414.2"253.9
Dell UltraSharp 27" 4KMonitor3840 x 216027"163.2

Calculators

PPI Calculator: Calculate Pixels Per Inch for Any Screen

PPI equals the square root of (width pixels squared + height pixels squared) divided by diagonal screen size in inches. A 27-inch 4K monitor has approximately 163 PPI.

Calculate PPI (Pixels Per Inch) for any screen. Enter resolution and screen size to find pixel density. Compare screens, monitors, phones, and tablets.

Overview

PPI equals the square root of (width pixels squared + height pixels squared) divided by diagonal screen size in inches. A 27-inch 4K monitor has approximately 163 PPI.

Calculate PPI (Pixels Per Inch) for any screen. Enter resolution and screen size to find pixel density. Compare screens, monitors, phones, and tablets.

How the PPI Calculator Works

PPI (pixels per inch) measures how tightly physical pixels are packed into a display. The calculator uses the Pythagorean theorem: PPI = sqrt(width-in-pixels squared + height-in-pixels squared) divided by the physical diagonal in inches. The square-root term gives the pixel-space diagonal of the panel, and dividing by the real diagonal converts that into pixels per inch. Because consumer displays use square pixels, the horizontal, vertical, and diagonal PPI values match, so a single number captures density across the screen.

A worked example: an iPhone 15 Pro has a 2556 x 1179 screen at 6.1 inches diagonal. Plugging into the formula, sqrt(2556^2 + 1179^2) = sqrt(6,533,136 + 1,390,041) = sqrt(7,923,177), or roughly 2815 pixels along the diagonal. Divide by 6.1 inches and you get about 461 PPI - comfortably within Apple's Retina threshold for phones. Compare this to a 27-inch 4K monitor at 3840 x 2160, which works out to 163 PPI, or a 24-inch 1080p monitor at 92 PPI. See the dpi-calculator for the same math applied to print terminology, and what-is-dpi plus pixels-per-inch for more context on the distinction between PPI and DPI.

When to Use the PPI Calculator

PPI drives the perceived sharpness of any display. Calculate it whenever pixel density will affect your buying, designing, or troubleshooting decisions.

  • Comparing two laptops where one is 1080p and the other is 2.5K at the same panel size.
  • Choosing between a 27-inch 1440p monitor (109 PPI) and a 27-inch 4K monitor (163 PPI).
  • Picking a phone where screen crispness matters - 400+ PPI is the modern sweet spot.
  • Evaluating VR headsets, where per-eye PPI drives the 'screen door' effect.
  • Validating whether a display meets Retina thresholds (about 220 PPI for laptops at 20 inches, 300+ PPI for phones at 10-12 inches).
  • Setting OS scaling factors on high-PPI monitors so text and UI remain readable.

Practical Examples

The table below lists PPI for popular devices, calculated directly from the formula above. Higher PPI values feel sharper at close viewing distances.

DeviceResolutionDiagonalPPI
iPhone SE (3rd gen)1334 x 7504.7 in326
iPhone 15 Pro2556 x 11796.1 in461
Samsung Galaxy S24 Ultra3120 x 14406.8 in505
iPad Pro 11-inch2388 x 166811 in264
MacBook Air 13-inch (M2)2560 x 166413.6 in224
MacBook Pro 16-inch3456 x 223416.2 in254
Dell UltraSharp 27 4K (U2723QE)3840 x 216027 in163
LG 34-inch UltraWide 1440p3440 x 144034 in110
Samsung Odyssey G9 49-inch5120 x 144049 in108

Common Mistakes to Avoid

PPI is intuitive once you have calculated it a few times, but several subtle errors come up frequently.

  • Using the device's rounded marketing size (e.g. 'a 14-inch laptop') instead of the true diagonal like 14.2 inches.
  • Calculating with scaled resolution instead of native - macOS, for example, reports a lower logical resolution by default.
  • Ignoring aspect ratio effects - an ultrawide and a standard 16:9 panel can have different PPI even at the same diagonal and horizontal pixel count.
  • Assuming higher PPI always looks better - beyond 220 PPI at typical laptop distance, most users can no longer resolve individual pixels.
  • Forgetting to account for subpixel arrangements like PenTile, which reduces perceived sharpness even if raw PPI is high.
  • Comparing PPI between a 6-inch phone and a 27-inch monitor as if they are used at the same viewing distance - they are not.

Practical Quality Notes for PPI Calculator

This calculator is most helpful when the result is tied to a real workflow, not treated as a loose number. For PPI Calculator, verify physical screen size, pixel resolution, and whether you are comparing CSS pixels or device pixels. That context prevents the common mistake of copying a pixel value into a print, web, or CSS workflow where the reference size is different.

PPI Calculator should be checked with the formula, a realistic example, and the actual output requirement before you export or publish. If the number looks unexpectedly large or small, check the unit direction first, then check the DPI, base font size, viewport width, or physical measurement that controls the calculation.

A good review pass for PPI Calculator is simple: calculate once, compare against a known example, and preview the final output at the size people will actually see. PPI equals the square root of (width pixels squared + height pixels squared) divided by diagonal screen size in inches. A 27-inch 4K monitor has approximately 163 PPI.

Checks Before You Use the Result

  • Confirm that PPI Calculator is using the same input unit your source file or design brief uses.
  • Save the DPI, viewport, or font-size setting next to the final PPI Calculator value so another person can reproduce it.
  • Preview the PPI Calculator output on the target medium before sending it to print, publishing it, or adding it to CSS.
  • Recalculate PPI Calculator after resizing, cropping, changing aspect ratio, or changing the root font-size or viewport assumption.

When the Number Needs a Second Look

Recheck the result if the project moves from screen to print, from desktop to mobile, from one social platform placement to another, or from a draft export to a production file. Small context changes can make a correct PPI Calculator answer wrong for the final job.

Sources

Reference Sources

These external references support the page's conversion formulas, resolution guidance, and unit explanations.

Frequently Asked Questions

PPI (pixels per inch) measures the pixel density of a display screen. DPI (dots per inch) traditionally refers to print resolution. For screens, PPI and DPI are often used interchangeably, though PPI is the technically correct term for displays.

Apple's Retina standard means pixels are indistinguishable at typical viewing distance. For phones (held at 10-12 inches), this is about 300+ PPI. For laptops (18-24 inches), around 220+ PPI. For desktop monitors (24-30 inches), roughly 110+ PPI.

Phones are viewed much closer to the eye than monitors. A higher PPI is needed at close range to prevent visible pixels. A 460 PPI phone at 10 inches gives the same visual sharpness as a 110 PPI monitor at 24 inches.

Not necessarily. Beyond the point where individual pixels become invisible at your typical viewing distance, higher PPI provides diminishing returns. Other factors like color accuracy, contrast ratio, and brightness also determine display quality.

Enter your screen's resolution (found in display settings) and diagonal size (from device specifications) into the calculator. Alternatively, select a preset for common devices like iPhones, Samsung Galaxy phones, MacBooks, and Dell monitors.