Screen DPI / PPI Calculator

Last updated: 2026-08-24

Screen DPI / PPI Calculator — Free online screen dpi / ppi calculator. Enter width px and height px to get instant results.
Inputs
Result
Enter values and press Calculate

TL;DR: To calculate screen DPI (dots per inch) or PPI (pixels per inch), measure the diagonal screen size in inches, then divide the diagonal resolution in pixels (calculated using the Pythagorean theorem: √(width² + height²)) by the diagonal size in inches.

What Is the Screen DPI / PPI Calculator?

The Screen DPI / PPI Calculator is a free online tool that determines the pixel density of any display—from smartphone screens and laptop panels to desktop monitors and 4K televisions. Pixel density, expressed as DPI (Dots Per Inch) or PPI (Pixels Per Inch), represents how many individual pixels are packed into a single linear inch of the screen. A higher PPI value means sharper text, crisper images, and more detail visible to the human eye.

This calculator is essential for graphic designers who need to know how their digital work will appear on specific hardware, for web developers optimizing responsive designs, for gamers comparing display clarity, and for anyone purchasing a new monitor or phone who wants to verify that the advertised screen size delivers the expected sharpness. Instead of manually performing complex calculations, you simply enter the horizontal pixel count, vertical pixel count, and the diagonal screen measurement.

The tool solves a real-world problem: manufacturers market screens by diagonal size in inches and by total pixel dimensions, but neither number alone tells you how dense the pixels are. A 24-inch monitor at 1920×1080 resolution looks noticeably less sharp than a 24-inch monitor at 2560×1440, and this calculator makes that difference immediately clear.

How to Use the Calculator

Using the Screen DPI / PPI Calculator is straightforward. Follow these steps:

  1. Enter the screen width in pixels. Input the horizontal pixel count of your display (e.g., 1920 for a Full HD screen, 2560 for a QHD screen, or 3840 for a 4K/UHD screen). Ensure you enter pixels, not centimeters or inches.
  2. Enter the screen height in pixels. Input the vertical pixel count (e.g., 1080 for Full HD, 1440 for QHD, or 2160 for 4K). These two values are often listed as "1920 × 1080" in product specifications.
  3. Enter the diagonal screen size in inches. Measure the display from the top-left corner to the bottom-right corner (or vice versa) using a ruler or tape measure. Do not include the bezel—only measure the actual visible screen area. Alternatively, use the manufacturer's specified diagonal size (e.g., 24, 27, 15.6, or 6.1 inches).
  4. Click the calculate button. The calculator will instantly compute the diagonal resolution in pixels using the Pythagorean theorem and then divide that result by the diagonal size to give you the DPI / PPI value.

The output is a single number, typically expressed as an integer (e.g., 91.79 PPI becomes 92 PPI). Some versions may also display the total pixel count (megapixels) and the aspect ratio, but the primary output remains the pixel density.

Formula and Calculation Method

The method used by this calculator involves two mathematical steps. First, you must determine the total number of pixels along the screen's diagonal. Since the width and height pixels form a right-angled triangle with the diagonal, you use the Pythagorean theorem:

Diagonal in pixels = √(width² + height²)

Second, you divide the diagonal pixel measurement by the physical diagonal size of the screen in inches:

DPI / PPI = Diagonal in pixels ÷ Diagonal in inches

Let's walk through a concrete worked example using the common scenario of a 1920×1080 (Full HD) screen with a 24-inch diagonal:

Step 1: Calculate the diagonal in pixels. Square the width: 1920² = 3,686,400. Square the height: 1080² = 1,166,400. Add these together: 3,686,400 + 1,166,400 = 4,852,800. Take the square root: √4,852,800 ≈ 2,202.91 pixels. This means the diagonal of the screen contains approximately 2,203 individual pixels.

Step 2: Divide by the diagonal size in inches. Take the diagonal pixel count (2,202.91) and divide by the physical diagonal (24 inches): 2,202.91 ÷ 24 = 91.79. Therefore, the screen density is approximately 91.79 PPI, often rounded to 92 PPI.

The formula works for any screen, regardless of resolution or physical size. A higher diagonal pixel count relative to physical size yields a higher PPI. Conversely, a larger physical screen with the same pixel resolution will produce a lower PPI because those same pixels are spread across more physical space.

Practical Examples

Here are three realistic scenarios with different inputs and how to interpret the results:

Screen Type Width (px) Height (px) Diagonal (inches) Calculated PPI
24" Full HD Monitor 1920 1080 24 91.79 PPI
27" 4K Monitor 3840 2160 27 163.18 PPI
6.1" Smartphone 2532 1170 6.1 460 PPI

Scenario 1: 24-inch Full HD monitor. At 1920×1080 pixels over 24 inches, you get 91.79 PPI. This is a standard, acceptable density for office work and general use. Text is legible, but some users may notice slight pixelation on curved edges or small fonts.

Scenario 2: 27-inch 4K monitor. At 3840×2160 pixels over 27 inches, you get 163.18 PPI. This is noticeably sharper than the Full HD example. The higher density means text appears smooth and detailed, making it ideal for photo editing, video production, and reading dense documents.

Scenario 3: 6.1-inch smartphone. At 2532×1170 pixels over a compact 6.1-inch display, you get approximately 460 PPI. This is considered "Retina" sharpness—the pixels are so dense that the human eye cannot distinguish individual pixels at normal viewing distance. This explains why phone screens look flawless up close.

Tips for Accurate Results

To ensure your DPI / PPI calculation is accurate, keep these specific tips and common pitfalls in mind:

  • Use only the width and height together. A frequent mistake is entering only the width resolution (e.g., 1920) or only the height (e.g., 1080) and expecting a valid result. The calculator needs both values because pixel density depends on the diagonal relationship between the two axes. Entering only one value produces an incorrect and meaningless output.
  • Never confuse inches with centimeters. The formula strictly requires the diagonal size in inches. If you measure your screen with a metric ruler, you will get a result in centimeters (e.g., 61 cm for a 24-inch screen). You must convert centimeters to inches by dividing by 2.54 (61 ÷ 2.54 = 24 inches) before entering the value. Entering 61 directly would falsely produce a PPI of approximately 36, which is grossly inaccurate.
  • Measure only the visible screen area. When measuring the diagonal, start from the inner edge of the bezel (the black border) on one corner and extend to the inner edge of the opposite corner. Including the plastic or metal bezel in your measurement will increase the diagonal size and artificially lower the calculated PPI.
  • Use manufacturer specs for exact numbers. If your screen size is not a common value (like 23.8 inches or 31.5 inches), use the exact specification from the product manual or the manufacturer's website rather than rounding to the nearest integer. Small differences (e.g., using 24 vs. 23.8) change the PPI result by roughly 1–2 points.
  • Do not confuse DPI with print resolution. This calculator is for screen displays only. DPI in printing refers to printer output dots per inch, which is a completely different concept that involves printer hardware and ink, not pixel density on a monitor.

Frequently Asked Questions

Q1: What is the difference between DPI and PPI, and which one does this calculator output?
In the context of screens, DPI (Dots Per Inch) and PPI (Pixels Per Inch) are used interchangeably. Technically, PPI refers specifically to pixels on a digital display, while DPI historically referred to printer output dots. Modern usage has blurred the lines, and most monitor manufacturers and software report DPI when they mean PPI. This calculator outputs a single density value that is equally valid as either DPI or PPI. For practical purposes, you can treat the result as the pixel density of your screen—whether you call it 92 DPI or 92 PPI, the number is identical and represents the same physical measurement.

Q2: My screen is 1920×1080, but the manufacturer says it's "24 inches." Why do I get a PPI of only 92 when my phone has a much higher number?
PPI is inversely proportional to screen size—larger displays with the same resolution have lower pixel density. A 24-inch monitor at 1920×1080 spreads those pixels over a large area, resulting in approximately 92 PPI. A 6-inch phone at the same 1920×1080 resolution would cram the same number of pixels into a much smaller area, yielding a PPI of around 367. Your phone appears sharper simply because its pixels are physically smaller and denser. This is why comparing PPI across different device sizes is only meaningful if you consider viewing distance—you hold a phone closer to your eyes than a monitor, so higher density is necessary.

Q3: If I change my Windows or macOS display scaling, does the PPI of my screen change?
No, the physical PPI of your monitor is a fixed hardware property determined by the exact number of pixels and the physical screen dimensions. Changing operating system display scaling (e.g., from 100% to 150% in Windows) does not alter the hardware. What changes is the logical resolution—the number of virtual pixels the OS uses. For instance, at 150% scaling, a 1920×1080 screen effectively renders as if it were 1280×720 logical pixels, but the individual physical pixels are still emitting at 1920×1080. To recalculate PPI on a scaled display, you would enter the physical pixel dimensions, not the logical scaled dimensions. The calculator always requires the native, physical resolution of the panel for accurate results.

FAQ

What is the difference between DPI and PPI in this calculator?

DPI (dots per inch) traditionally refers to printing, where physical dots of ink are placed on paper, while PPI (pixels per inch) refers to digital displays and represents how many individual pixels fit within one inch of screen space. In the context of this calculator, DPI and PPI are used interchangeably for screen measurements, as they both calculate the pixel density of a display based on its resolution and physical size.

How do I measure the screen size needed for this calculator?

You need the diagonal screen size in inches, which is typically listed in your device's specifications or can be measured from one corner of the visible display area to the opposite corner using a ruler or tape measure. If you're unsure, you can often find this information in your computer's display settings, phone's about page, or on the manufacturer's website for your specific model.

Why does my calculated PPI seem lower than the marketing number for my phone?

This typically happens because some manufacturers advertise the PPI based on the raw pixel resolution and diagonal size, but your actual usable screen area may be slightly smaller due to curved edges, bezels, or software navigation bars that don't display pixels. Additionally, if you're entering the resolution in a different aspect ratio or using the wrong unit (e.g., cm instead of inches), the calculation will produce a lower value reflecting the true physical pixel density.

Can I use this calculator for any type of screen, like a laptop or a TV?

Yes, this calculator works for any display that has a rectangular screen, including laptops, desktop monitors, TVs, tablets, and smartphones, as long as you know the resolution in pixels and the diagonal size in inches. However, for curved or ultrawide monitors, the diagonal measurement may be slightly inaccurate for edge-to-edge density, so you might get a more precise result by measuring the width and height separately and using those dimensions instead of the diagonal.