LLION/ PDF, print & document engineering

DPI calculator for printing

Solve for print size, the pixels you need, or the effective resolution of an image, in both dimensions, with the nearest paper size and a quality guide.

Runs entirely in your browser

This calculator covers the whole pixels–resolution–size relationship for print: how large an image will print at a given resolution, how many pixels a print needs, and what resolution an existing image reaches at a target size. It is about image and print resolution, not mouse sensitivity.

What do you want to find?
Image size in pixels
px
px
Resolution
PPI
300 for prints held in the hand; 150 for posters; 72 or 96 for screens

Pixels
Resolution
Print size
Image
Nearest paper size
Quality

The formula#

All three questions are the same equation rearranged. One inch is exactly 25.4 mm.

Print size
inches = pixels ÷ PPI (then × 25.4 for millimetres)
Pixels needed
pixels = inches × PPI (rounded to whole pixels)
Effective resolution
PPI = pixels ÷ inches, computed separately for width and height

A worked example: a 3000 × 2000 px photo at 300 PPI prints at 10 × 6.67 in, which is 254 × 169.3 mm. The same photo stretched to A3 (420 mm wide) reaches only 3000 ÷ 16.54 = 181 PPI, which is fine on a wall and soft in the hand.

What the resolution field means#

The number you type is pixels per inch at the final printed size. Printers describe their own hardware in dots per inch, which is a different quantity: an inkjet placing 1440 dots per inch is still printing a 300 PPI image. The DPI and PPI page explains the distinction and why 300 is the usual target.

An image file may carry a resolution tag in its metadata. That tag changes nothing about the pixels; it only tells software what physical size to assume. If a file says 72 DPI and you set it to 300 DPI without resampling, the pixel count is identical and the image prints smaller. This calculator ignores tags and works from pixel counts.

Edge cases#

  • Mismatched aspect ratio. In the effective-resolution mode, width and height can give different PPI values when the print size does not match the image's proportions. The lower value is reported, with a note, because that is the resolution you would get after cropping to fit. The aspect ratio calculator gives the largest crop that fits the print's proportions.
  • Rounding. Pixel results are rounded to whole pixels. A4 at 300 PPI is 2480 × 3508 px because 210 ÷ 25.4 × 300 = 2480.3 and 297 ÷ 25.4 × 300 = 3507.9. Some references print 3510; that comes from rounding 11.7 in instead of using 297 mm.
  • Nearest paper size. The match is the closest named size in either orientation, by the larger of the two relative differences. A difference above a few percent means the image will need cropping or borders to fit that sheet.
  • Quality bands are guidance for typical viewing distances, not a rule. A billboard at 20 PPI looks sharp from the road.

For a specific named sheet at a chosen resolution, the paper size to pixels calculator lists every standard size with optional bleed.

Sources

LLION Editorial · Updated