Hardware & Components

What Is PPI and How Is It Calculated?

PPI stands for pixels per inch, and it is the simplest way to describe how sharp a screen really is. It measures how many individual pixels are packed into one linear inch of a display. The higher the number, the smaller and denser those pixels are, and the smoother everything from body text to game textures tends to look.

The concept is easy. The math is where people get tripped up, usually because the diagonal of a screen is measured in inches while resolution is measured in pixels — two different units sitting inside the same formula. Once you see how they fit together, calculating PPI takes about thirty seconds.

This guide covers the full picture: what PPI actually measures, the exact formula, step-by-step examples you can verify on your own calculator, how PPI differs from DPI, and when pixel density stops making a visible difference. The following sections break it all down.

  • What PPI actually measures
  • The PPI formula, step by step
  • Real-world examples with the numbers worked out
  • PPI vs. DPI — the mix-up that refuses to die
  • When pixel density matters, and when it stops mattering
  • How to check the PPI of any screen you own
  • Other things the acronym can mean

What PPI Actually Measures

Two screens can share the exact same resolution and still look completely different. Resolution tells you the total pixel count, like 1920 x 1080. PPI tells you how tightly those pixels are squeezed into the physical panel. A 1080p screen at 14 inches has a much higher PPI than a 1080p screen at 27 inches, because the same number of pixels is stretched across a larger area.

That is why spec sheets list both. Resolution describes how much detail a display can show. PPI describes how fine that detail appears in real life.

The PPI Formula, Step by Step

Here is the formula most people are looking for:

PPI = √(width² + height²) ÷ diagonal

Width and height are in pixels, the diagonal is in inches, and the square root uses the Pythagorean theorem to turn a rectangular resolution into a single diagonal pixel count.

  1. Square the horizontal pixel count.
  2. Square the vertical pixel count.
  3. Add the two results together.
  4. Take the square root of that sum. This gives you the number of pixels along the diagonal.
  5. Divide by the screen’s diagonal size in inches.

No calibration or special tools required — just a resolution and a tape measure.

Three Worked Examples

A 1080p monitor at 24 inches

1920² = 3,686,400 and 1080² = 1,166,400, which add up to 4,852,800. The square root is about 2,203 pixels across the diagonal. Divide by 24 inches and you get roughly 92 PPI.

A 1440p monitor at 27 inches

2560² = 6,553,600 and 1440² = 2,073,600, summing to 8,627,200. The square root lands near 2,937. Divide by 27 inches: about 109 PPI. That extra density is a big part of why 1440p at this size looks noticeably crisper than 1080p on a similar panel.

A current-generation phone

A 1170 x 2532 display at 6.1 inches: 1,368,900 + 6,411,024 = 7,779,924, and the square root is about 2,789. Divide by 6.1 inches and you land at roughly 457 PPI. Phones push density so high because you hold them inches from your face.

PPI vs. DPI: Not the Same Thing

These two get used interchangeably in marketing, but they describe different hardware.

  • PPI is about displays: physical pixels per inch on a screen.
  • DPI is about printing: dots of ink a printer lays down per inch, or how many dots a scanner captures.

A printer might deposit thousands of ink droplets per inch, but that number has nothing to do with the pixel density of the monitor you edited the photo on. The confusion usually starts in software, where image resolution gets labeled as DPI even when it is really describing pixel density. For screens, PPI is the figure that counts.

When Pixel Density Matters — and When It Stops

Higher PPI generally means sharper text, smoother curves, and less visible stair-stepping on diagonal lines. But there is a ceiling, and it is set by your eyes plus how far you sit from the screen.

Viewing distance changes everything

Human vision resolves detail only up to a point. Past that threshold, extra pixels are wasted. As a rough rule, once you pass about 300 PPI at arm’s length — a phone or tablet held a foot away — most people cannot pick out individual pixels. On a large TV viewed from across the room, 60 to 80 PPI is plenty. A big 4K television has a far lower PPI than a budget laptop, yet it looks excellent, because you sit much farther back. In virtual reality headsets, where lenses place the display inches from your eyes, that is why density gets pushed so aggressively: a visible pixel grid, often called the screen-door effect, wrecks the illusion fast.

Density costs something

More pixels means more work. A denser panel is harder on the GPU, can drain battery faster, and can make interface elements tiny unless the operating system scales them up. That is where device pixel ratio comes in. If a device reports a 3x ratio, one CSS pixel is drawn using three physical pixels in each direction. Apps and websites handle this by serving larger image assets — which is also why a sharp-looking modern app can carry a surprisingly large file size.

How to Check the PPI of Any Screen

  • Find the native resolution and the listed diagonal size, then run the formula.
  • Confirm the native resolution in your system display settings, and make sure you are not running a scaled mode that changes what the panel is actually showing.
  • Use an online PPI calculator if you would rather skip the arithmetic — enter resolution and diagonal, and it returns the number.
  • Measure the visible diagonal with a ruler if you want extra precision.

One caution: manufacturers sometimes round screen sizes. A panel listed as 15.6 inches is more precise than one described as 16 inches, and small rounding differences will shift your final PPI slightly.

Other Things PPI Can Mean

The acronym shows up in a few unrelated fields, which explains plenty of confused search results.

  • Producer Price Index — an economic measure of how prices change at the wholesale level.
  • Payment protection insurance — a type of consumer credit insurance product.
  • Pages per inch — a measure of paper thickness used in printing and binding.

If you came here for displays, you are in the right place. Everything above is about screens, since that is the PPI most people mean.

The Short Version

PPI is just pixel count divided by physical size. Square the width, square the height, add them, take the square root, then divide by the diagonal in inches. That single number tells you more about how a screen will look up close than resolution alone ever can.

Use it to compare devices fairly, to judge whether a monitor upgrade will actually feel different at your desk distance, and to understand why a giant TV can be less dense than a phone yet still look fantastic. Pair it with viewing distance and you have the whole story.