DPI Calculator
A 1920 by 1080 image shown on a 24 in screen works out to about 91.79 PPI, while the same pixel dimensions printed at 8 by 10 in land much higher. That difference is why DPI questions get confusing. People use one term for screens, printers, photos, posters, mouse settings, and export dialogs even though those jobs are not the same. This DPI calculator handles the geometric part cleanly. Enter pixel width, pixel height, and the physical diagonal size in inches, and it returns the density plus the implied physical width and height. Use it to check monitor sharpness, estimate whether an image will print crisply at a target size, or compare two displays that advertise the same resolution but not the same screen size.
Quick answer
The tool finds the pixel diagonal using the Pythagorean theorem from width and height in pixels.
What this tells you
- •The tool finds the pixel diagonal using the Pythagorean theorem from width and height in pixels.
- •It divides that pixel diagonal by the physical diagonal in inches to get density in pixels per inch.
- •It also backs into the physical width and height so you can see the real size assumption behind the density number.
How to Use
- 1Enter the pixel width and height from the image file, monitor spec, tablet spec, or signage artwork you want to check.
- 2Enter the real diagonal size in inches for the screen or final printed piece. If you only know width and height, convert those to a diagonal before using this tool.
- 3Click Calculate to see the estimated DPI or PPI. For screens, use it as a sharpness comparison. For print, compare the result with your target quality level such as 300 PPI for close viewing or a lower value for large posters viewed from farther away.
- 4If the result looks wrong, double check the physical size first. A bad diagonal measurement is the fastest way to get a misleading density number.
How It Works
Formula
Diagonal Pixels = sqrt(Width px^2 + Height px^2)
DPI or PPI = Diagonal Pixels / Diagonal Inches
Width Inches = Width px / DPI
Height Inches = Height px / DPIWidth and height in pixels form a right triangle, so the diagonal in pixels comes from the square root of width squared plus height squared. Dividing that number by the physical diagonal in inches gives pixel density. Once density is known, pixel width divided by density gives physical width and pixel height divided by density gives physical height.
Calculation note: values are processed in the order shown above, using the current input units.
Worked Examples
1080p on a 24 inch monitor
The pixel diagonal is about 2,202.91 pixels. Dividing by 24 in gives roughly 91.79 PPI. That is typical for an entry office monitor and looks fine at normal desk distance, but it is much less dense than a laptop or tablet display.
4K on a 27 inch monitor
A 27 in 4K panel packs the same 16:9 shape into a smaller physical footprint per pixel than a 1080p screen. The result is a much tighter 163.18 PPI, which is why text and interface details look noticeably sharper.
Print check for a 12 by 18 in poster from a 3600 by 5400 image
A 12 by 18 in print has a diagonal of about 21.63 in. A 3600 by 5400 px file printed at that size lands at 300 PPI. That is a strong target for close-viewed photo prints, magazine work, and detailed marketing pieces that people hold in their hands.
Common Resolution Targets by Use Case
These ranges are practical rules of thumb, not laws. The right target depends on viewing distance, subject detail, paper, panel quality, and whether the audience is holding the piece or seeing it across a room.
| Use case | Typical density | What it means in practice |
|---|---|---|
| Standard office monitor | 90 to 110 PPI | Normal desktop sharpness |
| High density laptop or tablet | 150 to 260+ PPI | Crisper text at close range |
| Photo print held in hand | 240 to 300 PPI | Fine detail survives close inspection |
| Large poster viewed a few feet away | 150 to 200 PPI | Usually looks clean on a wall |
| Billboard or distant signage | Much lower effective PPI | Distance does the work, not extreme file size |
Printers may advertise very high mechanical DPI, but the image file still gets judged by pixels per inch at the final print size.
When 300 DPI Matters and When It Does Not
The famous 300 DPI rule is useful, but people stretch it way past its job. For prints that viewers hold in their hands, such as brochures, postcards, art prints, and photo books, 300 PPI is a strong target because the eye is close enough to notice softness. That does not mean every project needs that number. A trade show banner, classroom poster, window graphic, or lobby sign is usually seen from farther away, so a lower density often looks perfectly fine.
Screen work is different again. A monitor does not care about print DPI metadata baked into an image file. It cares about actual pixel dimensions and the size of the panel. A 1200 px wide image can fill a narrow phone screen sharply and look soft on a large desktop panel. That is why screen density questions need both pixel count and physical size, not just an export setting from Photoshop or Figma.
The clean way to think about it is this. Pixels are the raw detail. Physical size tells you how spread out that detail becomes. Density is just the relationship between the two. If you increase physical size without adding pixels, density drops. If you keep the same size and add pixels, density rises. This calculator gives that relationship so you can decide whether a file is good enough before sending it to print or approving a display spec.
Common mistakes
- Confusing printer DPI with image PPI and assuming they are always the same thing
- Typing the screen class, such as 24 in monitor, without checking the real diagonal from the spec sheet
- Using screen export metadata to judge print quality instead of checking pixels against final print size
- Assuming every print needs 300 PPI even when the piece is a large sign seen from several feet away
- Comparing two displays by resolution alone when one panel is much larger than the other
Embed this calculator on your site
Drop this single line where you want the calculator to appear. It is responsive, mobile-friendly, resizes automatically, and is free to use with attribution.
<script src="https://calctide.com/embed.js" data-tool="dpi-calculator" async></script>Preview the embed at /embed/dpi-calculator/.