Skip to content
FeetToPixelsDPI / PPI / CSS

Calculated DPI

91.79

Good desktop monitor

Formula

DPI = sqrt(width^2 + height^2) / diagonal

Common Screen DPI Values

ScreenResolutionSizeDPI
24" 1080p1920 x 108024"91.8
27" 1440p2560 x 144027"108.8
27" 4K3840 x 216027"163.2
32" 4K3840 x 216032"137.7
13" MacBook Air2560 x 166413.6"224.5
14" MacBook Pro3024 x 196414.2"253.9
iPad Pro 11"2388 x 166811"264.8
iPad Air 11"2360 x 164011"261.3
iPhone 15 (6.1")2556 x 11796.1"461.4
iPhone 15 Pro Max2796 x 12906.7"459.6
Galaxy S24 (6.2")2340 x 10806.2"415.7
Pixel 8 (6.2")2400 x 10806.2"424.5

Calculators

DPI Calculator: Calculate Dots Per Inch for Any Image

DPI equals pixels divided by inches. For an image 3000 pixels wide printed at 10 inches, DPI is 300. Higher DPI means sharper prints. Web standard is 72-96 DPI; print standard is 150-300 DPI.

Calculate DPI from pixel dimensions and print size. Free online DPI calculator for designers, photographers, printers, and anyone checking image resolution.

DPI Calculator: Calculate Dots Per Inch for Any Image

DPI equals pixels divided by inches. For an image 3000 pixels wide printed at 10 inches, DPI is 300. Higher DPI means sharper prints. Web standard is 72-96 DPI; print standard is 150-300 DPI.

Calculate DPI from pixel dimensions and print size. Free online DPI calculator for designers, photographers, printers, and anyone checking image resolution.

How the DPI Calculator Works

DPI (dots per inch) on a display is calculated with the Pythagorean theorem. This display density calculator takes three inputs - horizontal pixel count, vertical pixel count, and the physical diagonal size in inches - and returns pixel density. The formula is: DPI = sqrt(width-in-pixels squared + height-in-pixels squared) divided by diagonal-in-inches. The numerator is the diagonal pixel count of the pixel grid, and dividing it by the physical diagonal gives pixels per inch along the diagonal axis.

Here is a worked example. A 27-inch 4K monitor has a 3840x2160 native resolution. The diagonal pixel count is sqrt(3840^2 + 2160^2) = sqrt(14,745,600 + 4,665,600) = sqrt(19,411,200) which equals about 4406 pixels. Dividing 4406 by 27 inches yields approximately 163 DPI, which is why this monitor resolution delivers noticeably sharper screen sharpness than a 27-inch 1440p panel at about 109 DPI. For the print-focused counterpart of this math, see what-is-dpi and pixels-per-inch.

DPI only tells you density along the diagonal. Because modern displays use square pixels, horizontal DPI and vertical DPI equal the diagonal DPI. On non-square-pixel or anamorphic formats you'd need to compute each axis separately, but that case is vanishingly rare on modern hardware.

When to Use This Calculator

Monitor DPI matters any time the physical size of a pixel affects how sharp content looks. Use this calculator for calculating screen resolution requirements in these scenarios:

  • Comparing two monitors at the same resolution but different physical sizes - a 24-inch 1080p panel (92 DPI) is noticeably softer than a 21.5-inch 1080p panel (103 DPI).
  • Deciding whether a 1440p or 4K monitor is worth the upgrade for your desk distance.
  • Setting the correct OS scaling factor so UI elements are readable on high-DPI displays (125%, 150%, 200%).
  • Choosing a laptop - MacBook Retina panels typically run 220-250 DPI, while budget Windows laptops often sit at 100-120 DPI.
  • Evaluating VR headset displays, where per-eye DPI drives perceived clarity.
  • Matching two side-by-side monitors so OS scaling feels consistent across both screens.

Practical Examples

The table below lists display PPI values for popular displays. These are computed directly from the formula above using the manufacturer's advertised monitor resolution and diagonal, giving you a real-world measure of display density for each panel.

DeviceResolutionDiagonal (in)DPI
24-inch 1080p monitor1920 x 10802492
27-inch 1440p monitor2560 x 144027109
27-inch 4K monitor3840 x 216027163
32-inch 4K monitor3840 x 216032138
13-inch MacBook Air (M2)2560 x 166413.6224
16-inch MacBook Pro3456 x 223416.2254
iPad Pro 12.9-inch2732 x 204812.9265
34-inch 21:9 ultrawide3440 x 144034110
49-inch 32:9 superwide5120 x 144049108

Common Mistakes to Avoid

DPI calculations look simple but trip people up when the inputs do not match the device's actual behavior. Watch for these errors.

  • Using the stated screen size (e.g. 'a 27-inch monitor') instead of the true diagonal - some marketing numbers round up from 26.5 or 27.2 inches.
  • Confusing native resolution with the current scaled resolution in display settings. DPI must use the physical pixel grid, not the logical one.
  • Mixing up DPI and PPI when talking to print vendors - print DPI is how many ink dots are deposited per inch, not the screen's pixel density.
  • Forgetting that a high-DPI display at 100% OS scale shows tiny UI. Scaling is what makes Retina comfortable, not DPI alone.
  • Assuming 'more DPI is always better' - beyond about 220 DPI at laptop distance most users cannot distinguish individual pixels.

Practical Quality Notes for DPI Calculator

This calculator is most helpful when the result is tied to a real workflow, not treated as a loose number. For DPI Calculator, verify print size, source pixel dimensions, and the DPI value requested by the printer or export workflow. That context prevents the common mistake of copying a pixel value into a print, web, or CSS workflow where the reference size is different.

DPI Calculator should be checked with the formula, a realistic example, and the actual output requirement before you export or publish. If the number looks unexpectedly large or small, check the unit direction first, then check the DPI, base font size, viewport width, or physical measurement that controls the calculation.

A good review pass for DPI Calculator is simple: calculate once, compare against a known example, and preview the final output at the size people will actually see. DPI equals pixels divided by inches. For an image 3000 pixels wide printed at 10 inches, DPI is 300. Higher DPI means sharper prints. Web standard is 72-96 DPI; print standard is 150-300 DPI.

Checks Before You Use the Result

  • Confirm that DPI Calculator is using the same input unit your source file or design brief uses.
  • Save the DPI, viewport, or font-size setting next to the final DPI Calculator value so another person can reproduce it.
  • Preview the DPI Calculator output on the target medium before sending it to print, publishing it, or adding it to CSS.
  • Recalculate DPI Calculator after resizing, cropping, changing aspect ratio, or changing the root font-size or viewport assumption.

When the Number Needs a Second Look

Recheck the result if the project moves from screen to print, from desktop to mobile, from one social platform placement to another, or from a draft export to a production file. Small context changes can make a correct DPI Calculator answer wrong for the final job.

Sources

Reference Sources

These external references support the page's conversion formulas, resolution guidance, and unit explanations.

Frequently Asked Questions

Use the formula: DPI = sqrt(horizontal pixels squared + vertical pixels squared) / diagonal in inches. For a 1920x1080 monitor at 24 inches: sqrt(1920² + 1080²) = sqrt(4,809,600) = 2,193. Divide by 24 = 91.4 DPI.

81.6 DPI. Formula: sqrt(1920² + 1080²) / 27 = 2,202 / 27 = 81.6. This is considered adequate for desktop use at arm's length.

163 DPI. Formula: sqrt(3840² + 2160²) / 27 = 4,405 / 27 = 163.2. This is a sharp, Retina-class display for desktop use.

For desktop use (24-28 inches viewed at arm's length): 90-110 DPI is comfortable. 4K monitors at 27 inches reach 163 DPI, which is excellent for design work. Above 220 DPI on a desktop monitor is diminishing returns at typical viewing distance.

Resolution describes total pixel count (e.g., 1920x1080). DPI describes pixel density per inch. Two monitors can share the same resolution but have different DPI if one is physically larger. A 24-inch 1080p monitor has higher DPI than a 32-inch 1080p monitor.

DPI (dots per inch) traditionally refers to print resolution, while PPI (pixels per inch) refers to screen resolution. In practice, these terms are often used interchangeably when discussing displays. Both measure pixel density.

DPI determines how sharp content appears on screen and in print. Higher DPI means more pixels per inch, resulting in crisper text and images. Designers need to know DPI to ensure their work looks correct at the intended viewing distance.

Enter your screen's resolution (width and height in pixels) and diagonal size in inches into the calculator above. You can find resolution in display settings and diagonal size in your monitor's specifications or by measuring corner to corner.