PPI (pixels per inch) is calculated with the formula √(width² + height²) ÷ diagonal size in inches, where width and height are the screen's pixel resolution and the diagonal is the screen's physical size in inches. For a 1920×1080 monitor measured at 24 inches, the diagonal in pixels works out to about 2,202.9, and dividing by 24 gives roughly 91.79 PPI. The bond between PPI and DPI is that both describe how many individual dots or pixels fit into a one-inch span, but PPI is the right term for displays and DPI is the right term for printed output. Once you know the PPI you can derive the rest: dot pitch in millimetres (25.4 ÷ PPI), pixels per centimetre (PPI ÷ 2.54), the diagonal pixel count, the total in megapixels, and the simplified aspect ratio. A free browser-based PPI Calculator does this entire chain of math instantly as you type, with nothing uploaded and nothing to install.

What PPI Actually Measures
PPI, short for pixels per inch, is the count of individual pixels that fit along a one-inch line on a screen. It is the single best number for comparing how sharp two displays look, because resolution alone can mislead. A phone and a TV can both be labelled "1080p" yet the phone looks far crisper, simply because the same 1,920 × 1,080 pixels are squeezed into a much smaller physical area. PPI captures that difference in one figure.
Density matters whenever image clarity counts. Designers and photographers use PPI to check whether a monitor can show fine detail without visible pixel edges; developers use it to reason about CSS pixels, scaling and high-DPI assets; buyers use it to compare monitors, laptops and phones on a level field. Apple popularised the idea of a "Retina" display — a density high enough that, at a normal viewing distance, the human eye can no longer pick out individual pixels.
The Formula That Bonds PPI and DPI
The math is short. For any rectangular screen the pixel density is:
PPI = √(width² + height²) ÷ diagonal in inches
The numerator is the diagonal length of the screen measured in pixels (Pythagorean theorem), and the denominator is the same diagonal measured in physical inches. The quotient is the pixel density. You can verify the Pythagorean step itself with a dedicated Pythagorean Theorem Calculator if you want to see the arithmetic broken out.
Worked example for a 1920×1080 screen at 24 inches:
- Diagonal in pixels: √(1920² + 1080²) = √(3,686,400 + 1,166,400) = √4,852,800 ≈ 2,202.9 px
- PPI: 2,202.9 ÷ 24 ≈ 91.79 PPI
The same expression, applied to a printed image, becomes DPI (dots per inch), which is exactly why the two ideas feel bonded: they share the "units per inch" grammar. The difference is the medium — pixels are emitted by a screen, dots are deposited by a printer — and the conventions that grew up around each.
How to Calculate Your Screen's PPI
- Open the PPI Calculator and type the horizontal resolution in pixels into the width field (for example, 1920).
- Type the vertical resolution into the height field (for example, 1080) and the diagonal screen size in inches (for example, 24), or tap a preset such as "1080p 24"".
- Read the results: PPI, dot pitch, pixels per centimetre, aspect ratio, diagonal pixel count and total megapixels update as you type, so you can compare screens side by side.
Everything runs locally in your browser, so the numbers never leave your device.
PPI Ranges Across Common Devices
Once you have the formula, rough expectations help you judge whether a number is sensible. The table below summarises the bands you will see in the wild; for any specific panel, the calculator returns the exact figure.
| Device class | Typical diagonal | Typical resolution | Approximate PPI |
|---|---|---|---|
| Budget desktop monitor | 24" | 1920×1080 | ~92 |
| Mid-range desktop monitor | 27" | 2560×1440 | ~109 |
| 4K desktop monitor | 32" | 3840×2160 | ~138 |
| Modern laptop | 13–16" | 2560×1600 | ~189–232 |
| Modern smartphone | 6–7" | 2400×1080 and up | ~400–500 |
Desktop monitors around 90–110 PPI look sharp at arm's length, laptops usually run 120–220 PPI, and phones reach 400–500 PPI because you hold them much closer.
PPI vs DPI: When Each Term Applies
The two acronyms are often used interchangeably in casual conversation, but they describe different things. PPI is the density of light-emitting pixels on a screen; DPI is the density of ink or toner dots a printer lays down on paper. The numerical formula is similar — both count units per inch — yet the units and the medium differ.
A practical rule: when the output is a display, call it PPI; when the output is print, call it DPI. Design software often uses PPI for image resolution (for example, "300 PPI for a high-quality photo") and DPI for printer settings, which keeps each term tied to its own medium. If a spec sheet mixes the two, treat them as the same physical idea and focus on the number plus the medium it describes.
Reading the Rest of the Output
Beyond PPI, the calculator surfaces several companion figures that make screen comparisons easier:
- DPI — numerically equal to PPI but labelled for print context, so the same density value works whether you are sizing a digital asset or a printed one.
- Dot pitch — the distance between the centres of neighbouring pixels, in millimetres. Smaller is finer. For a 91.79 PPI panel, dot pitch works out to about 0.277 mm.
- Pixels per centimetre (PPcm) — PPI ÷ 2.54, for anyone who prefers metric units.
- Diagonal in pixels — the Pythagorean numerator before the division, useful when resizing images to fit the screen exactly.
- Total megapixels — width × height ÷ 1,000,000, which surfaces the raw pixel count. A 1920×1080 panel is about 2.07 MP; a 3840×2160 panel is about 8.29 MP.
- Aspect ratio — the simplified width-to-height ratio, such as 16:9 or 16:10, which makes ultrawide, square or unusual panels easy to identify at a glance.
Together with PPI, these figures let you judge a screen without having to flip between spec sheets. If you need to translate a pixel measurement into centimetres for a layout, a Pixels to CM Converter handles that step.
When Higher PPI Stops Helping
More PPI means a sharper image, but only up to the point your eyes can resolve at your viewing distance. Beyond that, additional density brings little visible gain while still demanding more GPU power and relying on UI scaling. The practical sweet spot sits around 90–140 PPI for desktops (where you sit roughly an arm's length away), 120–220 PPI for laptops (closer to your face), and 300+ PPI for phones (held in your hand).
This is why two screens with the same labelled resolution can look different: the relevant threshold depends on viewing distance, not on the panel alone. For a fuller comparison of recommended viewing distances across TV sizes, a TV Viewing Distance Calculator applies the published formulas to a specific room layout.