LocalToolkit
HomeImage Tools › Photo Size Calculator

Pixels, Inches, Millimetres and DPI

The one conversion table that settles the dpi argument.

🔒 Runs in your browser. Nothing is uploaded — verify it in the network panel, or disconnect and try again.

The only formula you need

pixels = inches × dpi, and millimetres = inches × 25.4. Everything else in this topic is consequence. From those two, a 4 × 6 inch print at 300 dpi needs 4 × 300 = 1200 by 6 × 300 = 1800 pixels. An A4 sheet is 8.27 × 11.69 inches, so at 300 dpi it needs 2480 × 3508 pixels.

Common print sizes, resolved to pixels

Print sizeAt 300 dpiAt 150 dpiTypical use
4 × 6 in (102 × 152 mm)1200 × 1800600 × 900Standard photo print
5 × 7 in (127 × 178 mm)1500 × 2100750 × 1050Framed photo
8 × 10 in (203 × 254 mm)2400 × 30001200 × 1500Portrait print
A4 (210 × 297 mm)2480 × 35081240 × 1754Document, poster
A3 (297 × 420 mm)3508 × 49611754 × 2480Large poster
Business card (3.5 × 2 in)1050 × 600525 × 300Print at 300 dpi is standard

What dpi should you actually target

A file's dpi tag changes nothing about its pixels. Setting an image's dpi from 72 to 300 in an editor does not add detail — it changes the physical size the pixels are mapped onto. If a printer asks for '300 dpi at 8 × 10 inches', the requirement is 2400 × 3000 pixels, and that is the number to work with.

Working backwards from a file you already have

Any existing image can be evaluated: divide its pixel dimensions by the print size. A 1920 × 1080 photo printed at 8 × 10 inches gives 1920 ÷ 8 = 240 and 1080 ÷ 10 = 108 dpi. It is limited by the shorter axis, so the effective resolution is 108 dpi — acceptable for a poster seen from a metre away, marginal for a hand-held print. The same file at 4 × 6 inches yields 1920 ÷ 4 = 480 and 1080 ÷ 6 = 180, so 180 dpi, which is fine.

Interpolation does not create resolution

Upscaling software produces new pixels by interpolation and can look smoother, but it cannot recover detail the lens and sensor never captured. The practical rule: the pixel count is the hard ceiling on detail, and printing beyond it trades sharpness for size. For anything where sharpness is judged — product photography, architectural prints, gallery work — get the pixels right in the camera rather than in a converter.

How to use it

  1. Enter any two of pixel dimensions, print size, or dpi.
  2. Read the third value.
  3. Check the resulting dpi against the target for your print method.
  4. Use the pixel figure as the export size in your editor.

Worth knowing

  • pixels = inches × dpi; millimetres = inches × 25.4.
  • A4 at 300 dpi is 2480 × 3508 pixels.
  • Effective print resolution is limited by the shorter axis of the image.
  • The dpi value stored in a file header has no effect on the pixel data.

Limitations

  • This is arithmetic on your inputs — it cannot judge the sharpness of a file.
  • Printers resample internally, so actual output depends on the RIP or driver.
  • Interpolation settings in an editor affect perceived quality and are outside this calculation.
  • Non-standard print sizes vary by lab and by paper stock.

Frequently asked questions

How many pixels do I need for a 4 × 6 print?
1200 × 1800 pixels at the standard 300 dpi. At 150 dpi you would need half that, 600 × 900, and the difference in visible sharpness is obvious in a hand-held print.
Is 72 dpi enough for print?
The question is misframed. Dpi is a mapping, not a property of the file — 72 dpi is a screen convention. What matters is whether you have enough pixels for the physical size: multiply inches by your target dpi.
Will changing the dpi setting improve my image?
No. Changing the dpi tag changes only the physical size the same pixels are mapped onto. To add real resolution you need to resample, which interpolates and cannot recover detail that was never captured.
What dpi do large posters need?
Around 150 dpi is usually sufficient because viewing distance is greater. A 24 × 36 inch poster at 150 dpi needs 3600 × 5400 pixels; the same poster at 300 dpi would need four times the pixel count.
Related tools
Image ResizerPassport Photo MakerImages to PDFImage CompressorImage Format ConverterCompress Image to 10 KB
Keep reading
How browser-only processing worksAll Image Tools toolsEvery tool on the site