Passport photo size calculator (mm → pixels at any DPI)

Exact math: pixels = (mm ÷ 25.4) × DPI. Type a physical size, choose your DPI (200/300/600 are the common ones), and get pixel dimensions accurate to ±1 pixel. Includes the entire profiles database — pick "US passport" to instantly load 51×51 mm at 300 DPI = 602×602 pixels. Useful when your editor (Photoshop, GIMP, Affinity) asks for pixel input and you only have the mm spec.

Loading interactive tool…

How it works

  1. 1Type the physical size in mm or inches, or pick a country/document preset.
  2. 2Choose your DPI (typically 300; 600 for ICAO ePassport chip image).
  3. 3Copy the resulting pixel dimensions into your editor's canvas size.

Frequently asked

What DPI should I use for a passport photo?

300 DPI is the universal standard — every printer can handle it, every authority accepts it. 600 DPI is sometimes specified for ICAO ePassports (the chip-stored image). 200 DPI is the absolute minimum and acceptable only for digital-only submissions.

Why does the same photo print smaller on one printer than another?

Different printer drivers default to different "fit to page" settings. Disable any auto-scaling and print at "actual size" (100%). If the file has a wrong DPI tag embedded, the driver may reinterpret pixel-mm. This calculator outputs the exact pixel count for the printer to render at 100%.

What's the difference between DPI and PPI?

PPI (pixels per inch) is a property of digital images — how many pixels per inch when displayed at native size. DPI (dots per inch) is a property of printers — how many ink dots per inch of paper. For ID photo purposes they're used interchangeably; what matters is that your file declares the right value.

Need a fully compliant photo, not just a check?

Anfas.Pro turns any selfie into a passport-grade photo in 30 seconds. One-time €4.99, full refund if it isn't accepted.

Generate a compliant photo →

← All free tools