Images & Photos
DPI, print sizes and passport photos - the actual math
DPI is the most misunderstood number in digital imaging: it does not describe a photo's quality, only how densely its pixels will be printed. Once that clicks, every passport portal requirement and print size turns into simple arithmetic.
Key takeaways
- DPI = pixels per printed inch. A digital image has no inherent DPI - only pixels plus a printing intention.
- 300 DPI is the standard for sharp photo prints viewed at reading distance.
- 35 x 45 mm at 300 DPI = 413 x 531 pixels; 2 x 2 inches at 300 DPI = 600 x 600 pixels.
- Changing the DPI value alone changes nothing visible - real resizing changes the pixel count.
What DPI actually is
Dots per inch describes printing density: how many pixels get squeezed into one printed inch. The same 1200 x 1500 pixel photo prints as a sharp 4 x 5 inch picture at 300 DPI or as a soft poster at 60 DPI. The pixels never changed - only how far apart they land on paper.
On screens, DPI metadata is ignored entirely; a browser shows pixels, full stop. This is why 'change my photo to 300 DPI' has two completely different meanings: rewriting a metadata number (free, invisible, sometimes all a portal checks) or resampling the image to reach the right pixel count for a physical size (the real work).
The formula and the sizes that matter
Pixels = length in inches x DPI. One inch is 25.4 mm - that is the whole toolbox. Applied to common requirements:
| Print size | At 300 DPI | Typical use |
|---|---|---|
| 35 x 45 mm | 413 x 531 px | passport/ID photo in Germany, EU, India, many others |
| 2 x 2 inch (51 x 51 mm) | 600 x 600 px | US passport and visa, Indian OCI |
| 10 x 15 cm (4 x 6 in) | 1200 x 1800 px | standard photo print |
| 13 x 18 cm (5 x 7 in) | 1500 x 2100 px | larger photo print |
| A4 (210 x 297 mm) | 2480 x 3508 px | full-page print |
Passport photo portals: three rules at once
Government upload forms typically constrain three things simultaneously: physical size (35 x 45 mm), resolution (300 DPI, giving 413 x 531 px) and file size (say 20-200 KB JPG). The trap is fixing them one at a time in three different apps - resize here, compress there, and the aspect ratio quietly drifts.
Doing it in one pass keeps the constraints consistent: crop to the exact ratio around the face, resample to the required pixels, write the DPI metadata and compress into the KB window. The FileSizeFix passport tools run exactly that pipeline locally in your browser - and a photo of your face is a good file to keep off random servers.
When more DPI is pointless
Printing at 600 DPI from a phone photo does not double sharpness - viewing distance and paper already limit what eyes resolve; 300 DPI is the sweet spot for handheld prints, and large posters viewed from afar are fine at 150 DPI.
Upscaling a small image to fake 300 DPI adds no detail either - software invents pixels by interpolation, and passport authorities reject visibly upscaled photos. If the source is too small, the honest fixes are a new photo or a smaller print.
Frequently asked questions
How many pixels is 35 x 45 mm at 300 DPI?
413 x 531 pixels. The math: 35 mm / 25.4 x 300 = 413 and 45 mm / 25.4 x 300 = 531.
How do I convert a photo to 300 DPI?
If the portal only checks metadata, rewriting the DPI value is enough. If a physical print size is required, the image must be resampled to the matching pixel count - the FileSizeFix DPI tool does both locally in your browser.
Does higher DPI mean better image quality?
No. DPI only maps pixels to paper. Quality comes from the pixel count and the optics. The same file prints at any DPI - what changes is the printed size.
What size is a US 2 x 2 inch passport photo in pixels?
600 x 600 pixels at 300 DPI. US portals commonly accept 600 x 600 up to 1200 x 1200 pixels, square, with the head centered.