EN
TestYourSetup / Monitor / PPI calculator

PPI calculator: pixels per inch and pixel density of any screen

Type a resolution and a screen size to get the pixels per inch, the pixel pitch, and how sharp the screen looks from where you sit.

More options: viewing distance, common resolutions

Resolutions:

Type the resolution and the diagonal to see the pixel density.

Everything is calculated in your browser. Nothing is uploaded; your numbers only go into the address if you copy a share link.

A PPI calculator works out the pixel density of a screen: how many pixels fit in one inch, from its resolution and its diagonal size. Pixels per inch decides how sharp a monitor, laptop, phone or TV looks. The same 1920 x 1080 picture is crisp on a 15.6 inch laptop and visibly blocky on a 27 inch monitor, because the pixels are spread over a larger area. This calculator gives the PPI and pixels per centimetre, the pixel pitch (the distance between two pixels), and two numbers most pixel density calculators leave out: pixels per degree at your viewing distance, and the "retina" distance where single pixels disappear for 20/20 vision. A chart puts your screen next to common monitors, laptops, phones and TVs. To measure a screen's real size first, use our monitor size calculator, which also works out the aspect ratio.

What is PPI (pixels per inch)?

PPI is pixel density: the number of pixels along one inch of the screen. It is the same in every direction on screens with square pixels, which is almost every screen made today. A higher PPI means smaller pixels, so edges, text and fine detail look smoother. PPI is a property of one particular screen size and resolution together: "4K" alone says nothing about sharpness until you know whether it is a 27 inch monitor (163 PPI) or a 65 inch TV (68 PPI).

How to calculate PPI

Two steps:

  1. Find the diagonal in pixels with Pythagoras: diagonal px = square root of (width squared + height squared).
  2. Divide it by the diagonal in inches: PPI = diagonal px / diagonal in inches.

From the PPI, the rest follows. Pixel pitch in millimetres = 25.4 / PPI. Pixels per centimetre = PPI / 2.54. Pixels per degree at a distance D in inches = PPI x D x 2 x tan(0.5 degrees), about PPI x D x 0.01745. And the distance where one pixel covers one arc minute of your view, the limit of 20/20 vision, is 3,438 / PPI inches.

Worked example: a 27 inch 2560 x 1440 monitor at 60 cm

  • Diagonal in pixels: square root of (2560 squared + 1440 squared) = 2,937.2 pixels.
  • PPI: 2,937.2 / 27 = 108.8 pixels per inch (42.8 per cm).
  • Pixel pitch: 25.4 / 108.8 = 0.233 mm.
  • At 60 cm (23.6 inches): 108.8 x 23.6 x 0.01745 = 45 pixels per degree.
  • Retina distance: 3,438 / 108.8 = 31.6 inches, about 80 cm. Sit closer than that and 20/20 vision can just pick out single pixels; that is why small text on this monitor looks a little soft at 60 cm.

How to use the PPI calculator: step by step

Step 1: Type the resolution in pixels

Width first, then height, for example 2560 and 1440. On a computer, the button under the boxes offers this screen's own resolution, read from the browser.

Step 2: Type the diagonal

The screen size the maker sells it as, in inches, or switch the unit to centimetres. It is the visible picture measured corner to corner. Not sure? Measure it with the monitor size calculator.

Step 3: Set your viewing distance (optional)

Under More options, type how far your eyes are from the screen. Without it, the calculator uses 60 cm (about 24 inches), a common desk distance.

Step 4: Read the result

The sentence gives the PPI, the pixel pitch and how sharp the screen looks from where you sit. The chart puts your screen next to common monitors, laptops, phones and TVs.

PPI of common monitors, laptops and phones

Calculated with the same formula from each screen's published resolution and diagonal. Retina distance is where one pixel covers one arc minute, the limit of 20/20 vision.

ScreenResolutionDiagonalPPIPixel pitchRetina distance
Samsung Galaxy S24 Ultra3120 x 14406.8 in5050.050 mm17 cm
iPhone 162556 x 11796.1 in461 (maker lists 460)0.055 mm19 cm
MacBook Air 13 inch (M3)2560 x 166413.6 in225 (maker lists 224)0.113 mm39 cm
Apple Studio Display (27 inch 5K)5120 x 288027 in218 (maker lists 218)0.117 mm40 cm
27 inch 4K monitor3840 x 216027 in1630.156 mm54 cm
15.6 inch 1080p laptop1920 x 108015.6 in1410.180 mm62 cm
32 inch 4K monitor3840 x 216032 in1380.184 mm63 cm
34 inch 3440 x 1440 ultrawide3440 x 144034 in1100.232 mm80 cm
27 inch 1440p monitor2560 x 144027 in1090.233 mm80 cm
24 inch 1080p monitor1920 x 108024 in920.277 mm95 cm
27 inch 1080p monitor1920 x 108027 in820.311 mm107 cm
55 inch 4K TV3840 x 216055 in800.317 mm109 cm
65 inch 4K TV3840 x 216065 in680.375 mm129 cm

Where Apple lists its own PPI, our figure differs by a pixel or two at most, because the listed diagonal is rounded and phone corners are rounded too. The pattern is clear: phones sit around 460 to 500 PPI because they are held close, laptops at 140 to 225, desktop monitors at 80 to 220, and TVs below 100 because you watch them from across the room.

What is a good PPI for a monitor?

It depends on how far you sit and what you do:

  • About 80 to 95 PPI (24 inch 1080p, 27 inch 1080p): fine for games and video. Pixels and soft text are visible at a normal desk distance, especially at 27 inches.
  • About 105 to 140 PPI (27 inch 1440p, 34 inch ultrawide, 32 inch 4K): the common sweet spot for gaming and work. Text is clear at 100% or 125% scaling.
  • About 160 PPI and above (27 inch 4K, 5K, laptops): crisp text that looks close to print, with operating system scaling of 150% to 200% so things stay a normal size. It costs a lot of graphics power in games.

For games, frame rate matters as much as sharpness: going from 1440p to 4K on the same 27 inch screen raises PPI by half and the pixel count by 2.25 times. Our bottleneck calculator shows how that resolution change moves the load onto the graphics card.

Pixels per degree: why viewing distance matters

PPI alone does not tell you how sharp a screen looks, because the same screen looks sharper from further away. Pixels per degree (PPD) combines the two: how many pixels fit into one degree of your field of view. 20/20 vision resolves about one arc minute, which is 60 pixels per degree. Below about 30 PPD single pixels are easy to see; from 30 to 45 games and video look sharp but small text is slightly soft; from 45 to 60 only the finest details sit at the limit of 20/20 vision; at 60 or more the pixels are finer than 20/20 vision can separate. Set your real distance under More options for your own number; without it the calculator uses 60 cm.

Retina display: at what distance do pixels disappear?

Apple uses "Retina" for screens whose pixels cannot be seen at their usual distance. The maths behind it is the one arc minute limit of 20/20 vision: a pixel disappears once it covers less than one sixtieth of a degree. The retina distance is 3,438 / PPI inches. For a 6.1 inch iPhone at about 460 PPI that is under 20 cm, closer than anyone holds a phone. For a 24 inch 1080p monitor at 92 PPI it is about 95 cm, further than most people sit, which is why its pixels are visible. Many people see better than 20/20, so treat the retina distance as a minimum, not an exact line.

Pixel pitch and dot pitch

Pixel pitch, often still called dot pitch from the days of tube monitors, is the distance from the centre of one pixel to the centre of the next, in millimetres. It is simply 25.4 / PPI. Monitor spec sheets often list it: a 27 inch 1440p panel has a pitch of about 0.233 mm, a 24 inch 1080p panel about 0.277 mm. Smaller is sharper. LED video walls and signs use pitches of several millimetres, because they are watched from many metres away.

PPI vs DPI: is a dots per inch calculator the same?

Not quite. PPI is about pixels on a screen. DPI (dots per inch) comes from printing, where a printer lays down tiny ink dots, and it is also used for a mouse sensor's counts per inch. People search "DPI" for screens all the time, and for a screen the number they want is PPI. For printing, the useful sum goes the other way: print size in inches = pixels / the printing resolution. A 3,000 pixel wide photo printed at 300 pixels per inch comes out 10 inches wide; at 150 it is 20 inches, softer up close but fine on a wall. To test the printer itself, use our printer test page.

PPI and display scaling in Windows and macOS

On a high PPI screen, text and buttons drawn at their normal pixel size become tiny, so the operating system scales them up. Windows suggests a scaling level per screen (100%, 125%, 150%, 200%), and macOS picks a "looks like" resolution. The usual rule of thumb: about 96 PPI is the 100% reference in Windows, so a 163 PPI 27 inch 4K screen is usually run at 150% to 175%. Scaling does not change the PPI, it only changes how many pixels each item uses. See your current scaling on what is my screen resolution.

PPI calculator or monitor size calculator?

This page is about pixel density: you know the size and want to know how sharp it is. The monitor size calculator is about size: it measures your screen's real diagonal with a bank card or ruler and gives the width, height and aspect ratio in inches and centimetres. Use that one first if you are not sure of the diagonal, then bring the number here.

Why we built this PPI calculator

People look up PPI because they want to know whether a screen will look sharp: before buying a 27 inch 4K monitor, when choosing between 1440p and 4K, or when text on a new screen looks soft. PPI alone does not answer that, because the same screen looks sharper from further away. Nitin Raja, who builds this site, tried a lot of PPI calculators before building this one: they give PPI and pixel pitch, but few say how sharp the screen will look from where you sit, and many take the diagonal in inches only.

So this calculator keeps the classic formula and adds the two numbers that answer the real question: pixels per degree at your viewing distance, and the distance where single pixels disappear for 20/20 vision. A chart then puts your screen next to monitors, laptops, phones and TVs people know.

How we calculate PPI, pixels per degree and retina distance

The formulas and a worked example are above in how to calculate PPI. This is everything the calculator does with your numbers:

  • Inputs. Width and height in pixels, the diagonal in inches or centimetres, and optionally your viewing distance. Without one it uses 60 cm.
  • PPI = diagonal in pixels (square root of width squared + height squared) / diagonal in inches. Pixels per cm = PPI / 2.54, pixel pitch = 25.4 / PPI mm.
  • Pixels per degree = PPI x distance in inches x 2 x tan(0.5 degrees). The sharpness sentence changes at 30, 45 and 60 pixels per degree.
  • Retina distance = 3,437.75 / PPI inches, where one pixel covers one arc minute.
  • Also shown: the visible width and height, the aspect ratio and the megapixels.

"Use this screen's resolution" multiplies the browser's screen size by its device pixel ratio, and only fills the boxes when you press it. The chart uses 13 screens with their makers' published resolution and diagonal (Apple and Samsung spec pages for the named devices, standard panel sizes for the rest). What it does not measure: your screen's physical size, which browsers do not report (the monitor size calculator measures it), subpixel layout, brightness or your own eyesight.

How accurate is this PPI calculator?

The formulas are exact, so the result is as accurate as the numbers you type. Three things to know:

  • Rounded diagonals. Makers round the diagonal: many "24 inch" monitors measure 23.8 inches and many "27 inch" ones 27 or 26.9. That moves the PPI by about 1%.
  • Rounded corners and notches. Phone diagonals are measured as if the corners were square, so the visible area is a little smaller.
  • Subpixels and vision. PPI counts whole pixels. OLED panels with shared subpixels, and your own eyesight, change how sharp the same PPI looks. The retina distance assumes 20/20 vision.

Why this PPI calculator is different

Each point below can be checked on this page.

  • Starts empty. No example screen is filled in, and your own screen's resolution is a button you can press, not a guess made for you.
  • A plain sentence first. The result starts with the PPI, the pixel pitch and how sharp the screen looks from your distance, then the details.
  • No typed PPI values. Every PPI in the chart and the table is calculated from published resolution and diagonal when the page is built; where Apple lists its own figure, the table shows it beside ours.
  • Formulas shown. Each number has its formula and a worked example on this page.
  • Nothing uploaded, no account. Everything runs in your browser.
  • 15 languages. The same calculator and the same explanations in English and 14 other languages.

This PPI calculator vs a typical pixel density calculator

This calculatorTypical PPI calculator
PPI and pixel pitchYesYes
Diagonal in inches or cmYesOften inches only
Pixels per degree at your distanceYesRare
Retina distanceYes, for 20/20 visionSome do
Compared with common screensChart with your screen markedUsually a separate list
This screen's resolutionOne click, read from the browserSome prefill it
Share linkYes, restores your numbersVaries

Sources

PPI calculator FAQ

How do you calculate PPI?

Work out the diagonal in pixels with Pythagoras, the square root of width squared plus height squared, then divide it by the diagonal in inches. A 27 inch 2560 x 1440 monitor has a diagonal of about 2,937 pixels, so 2,937 / 27 = 109 PPI.

What is a good PPI for a monitor?

At a normal desk distance of 50 to 70 cm, about 90 to 110 PPI looks fine for gaming and general use (24 inch 1080p, 27 inch 1440p), and 140 to 165 PPI looks crisp for text (32 inch 4K, 27 inch 4K). Above about 200 PPI, as on Apple's 5K and laptop screens, single pixels are invisible to most people at a desk.

Is higher PPI always better?

Sharper, yes, but the gain shrinks once single pixels are too small to see at your distance. Higher PPI also needs more graphics power for the same frame rate in games, and usually more operating system scaling so text stays a readable size.

What is the difference between PPI and DPI?

PPI counts the pixels on a screen per inch. DPI counts printed ink dots per inch on paper, or for a mouse, counts per inch of movement. People often say DPI for screens too, but for a display PPI is the precise term.

What PPI is a retina display?

It depends on the distance. Retina describes a screen whose pixels are too small to see at its normal viewing distance. A phone held at about 30 cm needs around 300 PPI or more, a laptop at 50 cm about 175, and a desktop monitor at 70 cm about 125.

Does PPI matter for gaming?

Some. Higher PPI reduces visible jagged edges and makes distant detail clearer, but it costs frame rate, because the graphics card has more pixels to draw. Many players choose a 27 inch 1440p monitor, about 109 PPI, as a balance between sharpness and frame rate.

How do I find my screen's PPI?

Find the resolution in your display settings (or on our what is my screen resolution page) and the diagonal on the box or the spec sheet, then type both here. If you do not know the diagonal, measure it with a bank card on the monitor size calculator.

Related tools