Photo Printing

Work out how large your photo can print

Convert pixels to print size, find the pixels for your paper and change the DPI tag of a JPEG or PNG locally.

Local browser processing · No upload · No account required

Changing the tag keeps the picture data of a JPEG or PNG unchanged. It does not add pixels.

How to calculate photo print dimensions

  1. Type the width and height of your photo in pixels, or choose the photo and let the page read them.
  2. Set the DPI and choose centimetres or inches. The print size and the rows for 300, 240 and 150 DPI change as you type.
  3. To go the other way, type a print width or height, or press a paper button. The pixels you need appear in the pixel fields.
  4. For a JPEG or PNG, set the DPI you want and press Download with this DPI.

What a full camera frame and a web copy print at

My Sony A7 III saves photos at 6000 × 4000 px. My articles use 1200 × 800 px copies of my photos. For the full frame I loaded a 6000 × 4000 px test file, a butterfly photo with the same frame size as the A7 III. It is not one of my camera files. Below are both sizes, side by side, at the three densities the page lists.

The difference is bigger than the pixel count suggests. At 300 DPI the full frame makes a print of 50.80 × 33.87 cm. The web copy makes 10.16 × 6.77 cm, smaller than a postcard.

The full frame and the web copy

DPI6000 × 4000 px1200 × 800 px
30050.80 × 33.87 cm (20.00 × 13.33 in)10.16 × 6.77 cm (4.00 × 2.67 in)
24063.50 × 42.33 cm (25.00 × 16.67 in)12.70 × 8.47 cm (5.00 × 3.33 in)
150101.60 × 67.73 cm (40.00 × 26.67 in)20.32 × 13.55 cm (8.00 × 5.33 in)

The full frame covers A4 with room to spare. Pressing A4 at 300 DPI asks for 2480 × 3508 px, and even the short side of the frame, 4000 px, is longer than the long side of A4. My web copy suits a small print: at 300 DPI it gives 10.16 × 6.77 cm, smaller than 10 × 15 cm in area, and at 150 DPI it gives 20.32 × 13.55 cm, larger than that; for a quality A4 it is too small. The 10x15 button asks for 1181 × 1772 px at 300 DPI, more than the copy has.

Then I loaded the web copy of my Metelkova clay figure. The page read 1200 × 800 px and a stored density of 72 DPI, and showed 42.33 × 28.22 cm. A program that follows the tag would print it that large. It looks generous, but the detail is the same as in the 10 cm print.

DPI here means pixels per inch

For a photo, the DPI number is really pixels per inch, PPI. A printer's ink dots are a separate thing the lab takes care of. The page divides the pixels by the DPI to get inches and multiplies by 2.54 for centimetres: 6000 px at 300 DPI is 20 inches, or 50.80 cm.

The three rows are steps of the same file, not three quality levels. At 150 DPI the A7 III frame stretches to over a metre wide, with each pixel twice as wide on paper as at 300. Whether that looks sharp depends on how far away people stand. Ask the lab what it wants for the paper you choose.

Changing the tag in a JPEG

I set my clay figure to 300 DPI and downloaded it. The file went from 413,246 to 413,264 bytes, and the picture data inside was byte for byte the same. Only the density note changed, so a program that respects the tag now opens it at 10.16 × 6.77 cm instead of 42.33 × 28.22 cm. The camera details stay in the file, so do not use this button to strip metadata.

My Lake Jasna copy carries no density at all, and the page says so: No physical DPI tag stored. Many print programs ignore the tag anyway and use their own page setup, so check the size in the print dialogue too.

Tips for better results

  • Enter the size after cropping. A 4:5 crop of an A7 III frame is 3200 × 4000 px, not 6000 × 4000.
  • Switch to inches when a lab gives its sizes in inches; 6000 px at 300 DPI is exactly 20 inches.
  • Read the 150 DPI row as the largest sensible print, not as extra detail.
  • Print from the full-size file. A web copy has a fraction of the pixels.

Privacy

Your photo never leaves your device. The page reads its size and DPI in your browser, and a changed photo is saved straight from this page.

Frequently asked questions

Does setting 300 DPI make a photo sharper?

No. The tag only tells programs how large to print the pixels by default. My 1200 × 800 px web copy tagged at 300 DPI still holds 1200 × 800 px; it just prints at 10.16 × 6.77 cm instead of 42.33 × 28.22 cm.

Why are A4 pixel dimensions rounded?

A4 is 21 × 29.7 cm. In inches at 300 DPI that comes to fractions of a pixel, and an image has whole pixels only. The page rounds each side to the nearest one and asks for 2480 × 3508 px.

Does the JPEG download re-encode my photo?

No. Only the density note changes. When I set my Metelkova photo to 300 DPI, the file grew by 18 bytes and the picture data stayed byte for byte the same. Camera and location details are kept too.

Can I use the 240 or 150 DPI size?

They show how big the same pixels get at lower density. For my camera frame that is 63.50 cm wide at 240 and 101.60 cm at 150. They are not a promise of quality; the lab knows what suits its paper.

Related tools