PPI Calculator

Calculate the pixel density (PPI) of any screen for free — enter the resolution and diagonal size, or pick a popular phone, laptop, monitor or TV, and get the pixels per inch, dot pitch, physical width and height, aspect ratio, megapixels and how sharp it looks at your viewing distance.

100% private — everything runs in your browser. Conversion happens on your device; nothing is uploaded.

100% private — runs in your browser

PPI = √(width² + height²) ÷ diagonal. Pixels per degree estimates sharpness at your viewing distance — around 60 or more means individual pixels are too small to see.

How to calculate PPI

  1. Pick a device, or enter the width and height in pixels.
  2. Enter the diagonal size in inches.
  3. Optionally choose a viewing distance.
  4. Read the PPI, dot pitch, size and sharpness.

What you can use it for

  • Compare monitors and laptops before buying
  • Check whether a display counts as “retina” at your distance
  • Work out the physical size of a screen
  • Design for real device densities

More free tools

Editing images?

Convert, compress, resize and vectorize images with our free, private image tools.

See all free image tools →

Frequently asked questions

How is PPI calculated?

PPI = √(width² + height²) ÷ diagonal in inches. For example, a 27-inch 2560 × 1440 monitor is about 109 PPI.

What is a good PPI?

It depends on distance: phones look sharp above about 300 PPI, laptops above about 200, and desktop monitors above about 110 at normal distances.

What's the difference between PPI and DPI?

PPI is pixels per inch on a screen; DPI is dots per inch for printing. Use our Print Size Calculator for print.

Which devices can I pick from the list?

The Common devices menu has 11 presets: iPhone 16 Pro, iPhone 16 Pro Max, Samsung Galaxy S25 Ultra, iPad Pro 13" (M4), MacBook Air 13" (M3), MacBook Pro 16", a 24" 1080p monitor, 27" 1440p and 4K monitors, a 32" 4K monitor and a 55" 4K TV. Picking one fills in its width, height and diagonal, and the results update straight away. You can then edit any of the numbers.

What is dot pitch?

Dot pitch is the distance from one pixel to the next, shown in millimetres. The calculator works it out as 25.4 divided by the PPI, so a higher pixel density always means a smaller dot pitch. For example, a 27-inch 2560 × 1440 monitor is about 108.8 PPI with a dot pitch of 0.2335 mm, while a 27-inch 4K monitor is about 163.2 PPI and 0.1557 mm.

What does pixels per degree mean, and when does a screen count as “retina”?

Pixels per degree counts how many pixels fit into one degree of your view at the chosen distance: PPI × distance × tan(1°). Choose 12 in (phone), 20 in (laptop), 28 in (desktop) or 100 in (TV). At 60 or more, the result says individual pixels aren't visible (“retina”). A 27-inch 1440p monitor at 28 inches gives 53, and a 27-inch 4K monitor gives 80.

How do I work out the physical width and height of a screen?

Enter the resolution and the diagonal, and the Screen size result shows the width and height in inches and centimetres. The calculator splits the diagonal in the same proportion as the pixel width and height, so a 27-inch 2560 × 1440 screen measures about 23.53 × 13.24 in (59.8 × 33.6 cm). This assumes square pixels and a diagonal measured across the visible screen area.

Can I calculate the PPI of a screen that isn't in the list?

Yes. Leave the device menu alone and type the screen's width and height in pixels and its diagonal in inches. The diagonal box takes decimals such as 15.6 or 6.1, and the results refresh as you type. Use the native resolution from the screen's specifications, because a scaled or browser-reported resolution gives a different PPI. It works the same for phones, tablets, laptops, monitors and TVs.

Does it matter which way round I enter width and height?

Not for the pixel density. Swapping 1440 × 2560 for 2560 × 1440 gives the same PPI, dot pitch, total pixels and pixels per degree. Only the order changes in the screen size and aspect ratio, so a portrait entry reads 13.24 × 23.53 in and 9:16. The phone and tablet presets are entered in portrait, and the laptop, monitor and TV presets in landscape.

Is a 27-inch 4K monitor sharper than a 27-inch 1440p one?

By pixel density, yes. Using the presets, a 27-inch 4K monitor is about 163.2 PPI and a 27-inch 1440p monitor about 108.8 PPI. At the 28-inch desktop distance that's 80 versus 53 pixels per degree, so of the two, only the 4K screen reaches the tool's 60 mark. For comparison, a 32-inch 4K monitor is about 137.7 PPI and a 24-inch 1080p monitor about 91.8 PPI.

Why don't the results update?

The results refresh as you type, but only while width, height and diagonal are all numbers above zero. If one box is empty, zero or negative, the calculator keeps showing the last valid result until you fix it. Viewing distance is optional: choose the dash to hide the pixels-per-degree line, or pick a distance to show it again.