PortImg Insights

Images for Print vs Web: Pixels, DPI, Color and the Right Format

Date
Updated
Read time4 min read
Images for Print vs Web: Pixels, DPI, Color and the Right Format

How many pixels a print needs, what DPI really changes, why print colors shift, and which format to send to a printer or put on a website.

An image that looks perfect on a website can print blurry, and one made for print can make a web page slow. The two worlds care about different things: screens care about pixels and file size, paper cares about physical size and color. Here is what to check for each, with the numbers worked out.

Pixels decide print size and sharpness

A printer needs a certain number of pixels for every inch of paper. About 300 pixels per inch looks crisp in a hand-held print, and 150 is fine for things seen from further away, such as posters. Multiply the print size by that number:

PrintAt 300 pixels per inchAt 150 pixels per inch
Passport photo, 2 × 2 in (51 × 51 mm)600 × 600300 × 300
Photo print, 4 × 6 in1200 × 1800600 × 900
A4 page, 8.3 × 11.7 in2480 × 35081240 × 1754
Poster, 18 × 24 in5400 × 72002700 × 3600

A recent phone photo, around 4000 × 3000 pixels, covers a crisp A4 print with room to spare. An image saved from a website, often 1200 pixels wide or less, is enough for a 4 × 6 inch print at most.

What DPI really changes

The DPI (or PPI) number stored in an image file does not change a single pixel. It only tells print and layout software how big to make the image on paper: the same 1200 × 1800 photo prints at 4 × 6 inches if it says 300 DPI, or at 16.7 × 25 inches if it says 72. Screens ignore the number entirely.

So when a printer asks for "300 DPI", what they need is enough pixels for the print size at 300 per inch, ideally with the file also marked 300 DPI so it arrives at the right size. Our Image DPI Converter can do either:

  • Metadata Only keeps the pixels and writes the new DPI into the file: in the header of a JPG, in a pHYs chunk of a PNG. (Until October 2026 it did not actually write anything; testing for this guide caught that, and it is fixed.)
  • Resample changes the pixel count to match the new DPI at the same print size. Making an image larger this way adds pixels but no detail, so a small web image enlarged to 300 DPI will still look soft on paper.

WebP has no DPI field of its own, so send PNG, JPG or TIFF to a printer.

Colors: RGB on screens, CMYK on paper

Screens mix red, green and blue light (RGB); printing presses mix cyan, magenta, yellow and black ink (CMYK). Some bright screen colors, especially vivid greens, blues and oranges, cannot be printed exactly, so prints come out a little duller. Going the other way, print colors are converted for the screen: when we converted an EPS with a pure CMYK red to JPG, it became the screen red (237, 27, 36).

Our converters produce RGB files. If a professional printer asks for CMYK, ask them for their color profile and convert in design software such as Photoshop or Affinity Photo, or send them the RGB file and let them convert it; many printers prefer that.

Which format, where

  • Photos for a website: WebP, or JPG at quality 80 to 90. In our tests a 512 × 512 photo was 34 KB as WebP and 70 KB as JPG at quality 90, against 417 KB as PNG.
  • Screenshots, diagrams and logos for a website: PNG or SVG; JPG blurs text and, for our screenshot, was twice the size of the PNG.
  • Photos for print: high-quality JPG or TIFF, with enough pixels for the size.
  • Logos and artwork for print: a vector format, SVG, EPS or PDF, so it stays sharp at any size.
  • Archive copies: TIFF or PNG, which lose nothing.

Our guide to image formats compares them all with measured file sizes. To shrink images for the web, see how to reduce image file size.

Written and tested by the PortImg team: the figures in this guide come from running files through our own tools. How we test

Image ToolsPDFTutorial
Found this helpful?

Try PortImg's free tools

Convert, compress, and edit images and PDFs — no sign-up needed.

Explore tools