Skip to tool
KeyboardTester.click

Tool categories

PPI calculator

Free PPI Calculator

Free pixels-per-inch calculator. Enter screen resolution and diagonal size to compute PPI, dot pitch, and total pixel count. Includes presets for common monitor sizes and retina comparison.

Download from Microsoft Store Download from Microsoft Store

PPI Calculator

Compute pixels per inch, dot pitch, and total megapixels for any display from resolution plus diagonal size.

Enter horizontal resolution, vertical resolution, and diagonal size (in inches). PPI = square root of (w² + h²) divided by the diagonal.
Pixels per inch (PPI)
163
Dot pitch
-
Aspect ratio
-
Total pixels
-
High density (150-220 PPI)
Tip: Apple considers a display "Retina" at roughly 220 PPI for laptops, 300 PPI for phones. Typical 1080p 24" monitors are ~92 PPI; 4K 27" is ~163 PPI.
Rate PPI Calculator: 5.0 (2 ratings)

PPI Calculator is a free, browser-based pixels-per-inch calculator.

  • Cost: Free, no signup
  • Install: None — runs in the browser
  • Privacy: Runs locally, no uploads
  • Platforms: Windows, macOS, Linux, Android, iOS
  • Time: Under a minute

What Is PPI?

PPI stands for "pixels per inch" — how many physical display pixels fit into one inch of screen. It's computed from the resolution (horizontal × vertical pixels) and the diagonal size of the screen in inches. Two monitors with the same resolution but different physical sizes have different PPI: a 1080p 24-inch monitor sits at 92 PPI, while a 1080p 15-inch laptop comes in at 147 PPI. Higher PPI = sharper-looking text, smoother edges, and crisper images.

How To Calculate PPI

The formula is simple trigonometry. If the screen is w pixels wide and h pixels tall, the diagonal pixel count is √(w² + h²). Divide that by the diagonal size in inches to get PPI:

PPI = √(w² + h²) / diagonal_in_inches

For a 4K display (3840 × 2160) at 27 inches, the diagonal in pixels is about 4405, and 4405 / 27 ≈ 163 PPI. This tool runs the math live as you type and also outputs dot pitch (the millimeter distance between pixel centers) and total megapixels.

Retina and High-DPI Displays

Apple popularized the term "Retina" for displays whose pixels are too small for the human eye to distinguish individually at normal viewing distance. For laptops and desktops that threshold is roughly 220 PPI, for phones about 300 PPI (because phones are held closer). Any modern MacBook Pro, iPhone, or iPad crosses that bar. Most Windows PCs don't — so you see pixel structure if you look for it — but 4K 27" is getting close.

PPI vs DPI — What's The Difference?

PPI refers to display pixels, DPI refers to dots printed on paper. They're measured the same way but describe different outputs. When you read "300 DPI" on a print file, that's telling the printer to lay down 300 ink dots per inch. On-screen, 300 PPI means the display shows 300 distinct pixels per inch. Most "PPI calculator" searches are actually about displays, which is what this tool handles.

PPI Calculator FAQ

Common ppi calculator questions

How do I calculate pixels per inch?

Take the square root of (width² + height²) to get the diagonal in pixels, then divide by the diagonal size in inches. The tool does this live as you change any field.

What PPI counts as Retina or high-DPI?

Apple considers roughly 220 PPI for laptops and 300 PPI for phones as Retina. Above that, individual pixels are not distinguishable at normal viewing distance.

Is PPI the same as DPI?

Not quite. PPI is pixels per inch on a display, DPI is dots per inch in print. The math is identical but the output medium differs.

Why does my 4K 32-inch monitor feel less sharp than 4K 27-inch?

Because the 32-inch spreads the same 3840x2160 across a bigger area, so PPI drops from ~163 to ~138. Sit further back or accept softer text.

Windows app

KeyboardTester.click is available from Microsoft Store

Install the official Windows app shortcut, or keep using the same free testing tools in your browser.

Download from Microsoft Store Download from Microsoft Store

More tools to try

Explore Display tools & stories

23 tools · 4 Web Stories

View all
Excited esports player in a white T-shirt and headset clenching his fist at a monitor win in a dark gaming arena 01 / 10 Monitor reality check 1000Hz Is Real. Worth $999? LG's UltraGear 25G590B is the first native 1000Hz 1080p monitor. Check the fine print first.
Open full story Read full guide Card 1 of 10 in 1000Hz for $999: Worth It?
Woman comparing two smartphones while deciding which one to use 01 / 10 Phone buying guide PWM-sensitive? Test the phone, not the promise Display specs narrow the shortlist, but no OLED is comfortable for everyone.
Open full story Read full guide Card 1 of 10 in Test a Phone for PWM Before You Buy
Young man rubbing his eyes at a laptop under a desk lamp 01 / 10 Screen flicker test Your screen may be flickering Many displays dim by switching the backlight on and off hundreds of times a second.
Open full story Read full guide Card 1 of 10 in Test for PWM Flicker

Web Story

Opening story…

Display guides and reviews

View all
More Display guides