PPI (Pixel Density) Calculator
Calculate pixels per inch from resolution and screen diagonal.
About the PPI (Pixel Density) Calculator
Pixel density (PPI) is how many pixels fit per inch of display. Higher PPI means sharper images. It is found from the pixel resolution and the physical diagonal size.
$$ PPI = \frac{\sqrt{w^2+h^2}}{diagonal} $$
How to use
Enter horizontal and vertical resolution in pixels and the screen diagonal in inches, then click Calculate.
Worked example
1920x1080 on a 15.6-inch screen gives about 141 PPI.
How to use this calculator
- Enter the screen resolution in pixels as width and height.
- Enter the screen size as the diagonal in inches.
- Click calculate to get the pixels per inch value.
- Use the result to compare how sharp different screens may look.
The formula explained
$$ \text{PPI} = \frac{\sqrt{w^2 + h^2}}{d} $$
- \(\text{PPI}\) = pixels per inch, the display density
- \(w\) = screen width in pixels
- \(h\) = screen height in pixels
- \(d\) = screen diagonal in inches
Step by step method
- Find the screen resolution, such as 1920 by 1080.
- Square the width and height, then add those values together.
- Take the square root of that sum to get the diagonal pixel count.
- Divide the diagonal pixel count by the screen diagonal in inches.
Worked example
Suppose you want to find the pixel density of a 24 inch monitor with a 1920 by 1080 resolution.
- Use the formula \(\text{PPI} = \frac{\sqrt{w^2 + h^2}}{d}\) with \(w = 1920\), \(h = 1080\), and \(d = 24\).
- Calculate the diagonal in pixels: \(\sqrt{1920^2 + 1080^2} = \sqrt{3686400 + 1166400} = \sqrt{4852800} = 2202.91\).
- Divide by the diagonal size: \(2202.91 \div 24 = 91.79\).
Answer. The screen density is about 91.8 PPI.
Tips and common mistakes
- Make sure you enter the width and height in pixels, not in physical units.
- Use the diagonal size of the screen in inches, not the width or height.
- If you swap width and height on a rotated screen, the PPI stays the same, but the numbers should still match the actual resolution.
- PPI describes density, not overall image quality by itself. Viewing distance and panel type also matter.
Frequently asked questions
What is a 'Retina' density?+
Roughly 300+ PPI at typical phone viewing distance, where pixels become indistinguishable.
Does higher PPI always look better?+
Beyond what the eye resolves at your viewing distance, extra PPI is imperceptible.
More Tech Tools Tools
Explore related calculators in this category
AI API Cost Calculator
Estimate LLM API cost from input/output tokens and per-token prices.
Accessible Color Pair Finder
Check if a text/background pair meets WCAG and suggest a fix. Free tool with instant calculations, the underlying formula, and an easy-to-follow example.
Barcode Generator
Generate Code 128 / EAN barcodes from your data.
Browser Info Detector
Show details about your browser, OS and screen.
You Might Also Like
Popular tools from other categories
.htaccess Generator
Generate common .htaccess rules, force HTTPS, www redirect, and caching, with checkboxes.
1031 Exchange Calculator - Free Online
Free Calculate tax deferral in a 1031 exchange. Step-by-step solutions and formulas included. Fast, accurate, and free, with formula and example.
4% Rule Calculator
Find the retirement nest egg you need using the 4% safe-withdrawal rule.
70% Rule Calculator
Calculate max offer using the 70% rule for flips.
Can't Find the Right Calculator?
Try our AI Math Solver, type any problem in plain English and get instant step-by-step solutions.