What DPI means and why it matters
DPI stands for dots per inch, a measurement of how many pixels your screen or printer displays in one linear inch. A higher DPI means more detail packed into the same physical space — text appears sharper, images look crisper, and small elements become easier to read. On screens, DPI is often called PPI (pixels per inch), but the calculation is identical.
DPI matters because it determines how sharp your display looks at normal viewing distance. A phone with 400 DPI looks noticeably sharper than a monitor with 100 DPI, even if both show the same image. When you're comparing devices or troubleshooting blurry output, understanding DPI tells you whether the problem is the screen itself or the way content is being displayed.
The calculation is straightforward math, but you need three pieces of information: the screen's width in pixels, the screen's height in pixels, and the diagonal measurement of the screen in inches. Once you have those, one formula gives you the answer.
Key Takeaways
- DPI is calculated by finding the diagonal pixel count of your screen, then dividing by the diagonal measurement in inches.
- You need your screen's resolution (width and height in pixels) and its physical diagonal size in inches to do the math.
- The formula is: square root of (width² + height²), then divide that result by the diagonal screen size in inches.
- Most devices list their DPI in settings or specifications, so you may not need to calculate it yourself.
- A screen with 100 DPI looks noticeably less sharp than one with 300 DPI at the same viewing distance.
The DPI formula and how to use it
The calculation uses the Pythagorean theorem to find the diagonal pixel count, then divides by the physical diagonal size. Here is the exact formula:
DPI = √(width² + height²) ÷ diagonal screen size in inches
For example, suppose you have a monitor that is 1920 pixels wide, 1080 pixels tall, and measures 24 inches diagonally. First, square both dimensions: 1920² = 3,686,400 and 1080² = 1,166,400. Add them: 3,686,400 + 1,166,400 = 4,852,800. Take the square root: √4,852,800 = 2,203 pixels (rounded). Finally, divide by the diagonal size: 2,203 ÷ 24 = 91.8 DPI.
You can use a calculator for the square root step — most phone calculators and computer calculator apps have this function. Enter the width, press multiply, enter the width again, write down the result. Do the same for height. Add the two results, find the square root, then divide by the diagonal screen size.
Finding your screen's resolution and size
Before you calculate, you need to know your screen's resolution and physical diagonal measurement. Resolution is usually listed in your device settings or monitor specifications. On Windows, right-click the desktop, select Display Settings, and look for "Resolution" — it will show something like 1920 × 1080. On Mac, go to System Settings, then Displays, and the resolution appears under "Resolution".
For the diagonal measurement, check the monitor's manual or the product page where you bought it — it is always listed as a number followed by inches, like "27-inch" or "15.6-inch". If you cannot find it, you can measure the screen yourself using a ruler or measuring tape from one corner to the opposite corner, going diagonally across the display. Measure the glass or screen surface itself, not the bezel or frame.
For phones and tablets, the diagonal size is listed in the device specifications on the manufacturer's website. For example, an iPhone 15 Pro Max has a 6.7-inch display, and its resolution is 2796 × 1290 pixels. A Samsung Galaxy Tab S9 Ultra has a 14.6-inch screen with 2960 × 1848 resolution.
Common DPI ranges and what they look like
Different types of devices have different typical DPI ranges. A desktop monitor usually falls between 90 and 110 DPI — this is considered standard for viewing at arm's length. A laptop screen typically ranges from 100 to 150 DPI. A phone or tablet is much higher, usually between 300 and 500 DPI, because you hold it closer to your eyes.
At 90 DPI, individual pixels become visible if you look closely at text or fine lines. At 150 DPI, the same content looks noticeably sharper. At 300 DPI and above, pixels are invisible to the human eye at normal viewing distance — this is why phones look so crisp. Printers often use 300 DPI as a standard for documents and photos, which is considered photo-quality output.
If your calculated DPI seems unusually low or high, double-check that you measured the diagonal correctly and that your resolution number is accurate. A common mistake is confusing the screen size with the resolution — a 27-inch monitor might have 1920 × 1080 resolution, but that does not mean it is 1920 inches wide.
Why manufacturers don't always list DPI
Many device makers list DPI or PPI in their specifications because it is a useful selling point — higher DPI is a sign of better quality. However, some manufacturers bury this information or skip it entirely. When DPI is not listed, calculating it yourself is the only way to compare screens fairly.
Marketing sometimes uses different terms for the same thing. You might see "pixel density" instead of DPI, or "retina display" (Apple's term for screens above a certain DPI threshold). These all refer to the same concept: how many pixels fit into a physical inch of screen space.
DPI on printed materials
When you print a document or photo, DPI works the same way — it measures how many dots of ink the printer places in one inch. A printer set to 300 DPI produces sharper text and smoother photo gradients than one set to 150 DPI. Professional photo printing often uses 600 DPI or higher for the best results.
If you are preparing an image for print, the DPI setting in your image editor or printer driver determines the output quality. A photo that looks fine on screen at 72 DPI may look blurry when printed at that same DPI. For printing, 300 DPI is the standard minimum for acceptable quality, and 600 DPI is preferred for photographs.
Using online DPI calculators
If you do not want to do the math by hand, several free online calculators will compute DPI for you. Search for "DPI calculator" and enter your resolution width, resolution height, and diagonal screen size in inches. The calculator does the Pythagorean theorem and division instantly.
These tools are reliable as long as you enter accurate numbers. The advantage is speed and avoiding arithmetic mistakes. The disadvantage is that you learn less about how the measurement actually works. For a one-time calculation, an online tool is fine. If you need to understand DPI for comparing multiple devices, doing the math once by hand helps you see why a larger screen with the same resolution has lower DPI.
Frequently Asked Questions
Is DPI the same as resolution?
No. Resolution is the total number of pixels (like 1920 × 1080), while DPI is how densely those pixels are packed into physical space. Two screens can have the same resolution but different DPI if one is larger than the other. A 24-inch monitor and a 27-inch monitor both might be 1920 × 1080, but the 24-inch has higher DPI because the same number of pixels fit into a smaller space.
What DPI should I aim for when buying a monitor?
For desktop work at arm's length, 100 to 110 DPI is standard and comfortable. For laptops used closer to your face, 120 to 150 DPI is better. If you do detailed design work or photo editing, 150 DPI or higher reduces eye strain. For casual web browsing and office work, 90 to 110 DPI is sufficient.
Can I change my screen's DPI?
You cannot change the physical DPI of a screen — that is determined by the hardware. However, you can change how large text and icons appear in your operating system settings. Windows and Mac both have scaling options that make everything larger or smaller without changing the actual pixel density.
Why do phones have much higher DPI than monitors?
You hold a phone 8 to 12 inches from your eyes, but you view a monitor from 20 to 30 inches away. At that closer distance, pixels become visible at lower DPI, so phones need 300+ DPI to look sharp. A monitor with 300 DPI would be unnecessarily expensive and would not look any sharper at arm's length.
Does higher DPI always mean a better screen?
Higher DPI means sharper text and finer details, but it is not the only factor in screen quality. Color accuracy, brightness, contrast, and refresh rate also matter significantly. A 100 DPI monitor with excellent color reproduction may be better for photo editing than a 150 DPI monitor with poor colors. DPI is one piece of the picture, not the whole story.