Skip to content
CalcTide logo
Tech

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.

TechBy

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

  1. 1Enter the pixel width and height from the image file, monitor spec, tablet spec, or signage artwork you want to check.
  2. 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.
  3. 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.
  4. 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 / DPI

Width 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

Pixel Width1920
Pixel Height1080
Diagonal24 in
Resultabout 91.79 PPI

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

Pixel Width3840
Pixel Height2160
Diagonal27 in
Resultabout 163.18 PPI

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

Pixel Width3600
Pixel Height5400
Diagonal21.63 in
Result300 PPI

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 caseTypical densityWhat it means in practice
Standard office monitor90 to 110 PPINormal desktop sharpness
High density laptop or tablet150 to 260+ PPICrisper text at close range
Photo print held in hand240 to 300 PPIFine detail survives close inspection
Large poster viewed a few feet away150 to 200 PPIUsually looks clean on a wall
Billboard or distant signageMuch lower effective PPIDistance 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.

Pixels to inches converter

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/.

Frequently Asked Questions

For this page, yes in practical use. The calculator measures pixel density from pixels and physical size, which is technically pixels per inch. Many people still say DPI when they mean that same screen or image density. True printer DPI usually refers to how densely a printer places ink dots, which is a different spec.
Multiply each print dimension by 300. An 8 by 10 in print needs about 2400 by 3000 pixels for a 300 PPI file. If your file is smaller, you can still print it, but the effective density drops and fine detail may soften when viewed up close.
Because people usually do not inspect a poster from 10 inches away. As viewing distance increases, the eye cannot resolve the same fine detail, so lower density can still look sharp. That is why wall posters, trade show graphics, and billboards often print well below the density used for hand-held photo prints.
No. Metadata can tell software how large to place an image in print, but it does not create new pixels. If a file stays 2400 by 3000 pixels, it still contains the same amount of detail whether the metadata says 72, 150, or 300 DPI. Only the implied print size changes.
It depends on screen size and viewing distance. Around 90 to 110 PPI is common for basic desktop monitors. Once you move into the 140 to 180 plus range, text and UI elements usually look noticeably crisper at normal desk distance. Phones and tablets often go even higher because they are held closer to the eye.
Yes, as a first pass. Enter the file pixels and the final physical diagonal of the sign to see the effective density. Then judge that number against real viewing distance. A lobby poster, retail banner, and roadside sign can all use very different density targets even when the design dimensions look similar on screen.
It estimates dpi calculator outputs using the visible inputs and formula assumptions on this page.

Explore More in Tech