Passport photo size calculator: mm to pixels at any DPI
Enter a size in millimetres and a DPI to get the exact pixel dimensions. Presets for 3 × 4 cm, 35 × 45 mm and popular documents.
No sign-up · calculated right in your browser
Millimetres to pixels, no mental maths
Convert a photo size from mm to pixels at any DPI — pixels = (mm ÷ 25.4) × DPI. Example: a US passport photo, 2×2 in (50.8 mm) at 300 DPI = 600×600 px.
- 01
Type the width and height in millimetres, or pick a preset.
- 02
Choose your DPI (typically 300; 600 for ICAO ePassport chip image).
- 03
Copy the resulting pixel dimensions into your editor's canvas size.
Document photo sizes in pixels at 300 and 600 DPI
Tap a document to load its size into the calculator above.
| Document | Size | 300 DPI | 600 DPI |
|---|---|---|---|
| 30 × 40 mm | 354 × 472 | 709 × 945 | |
| 35 × 45 mm | 413 × 531 | 827 × 1063 | |
| 50.8 × 50.8 mm | 600 × 600 | 1200 × 1200 | |
| 35 × 45 mm | 413 × 531 | 827 × 1063 | |
| 35 × 45 mm | 413 × 531 | 827 × 1063 | |
| 51 × 51 mm | 602 × 602 | 1205 × 1205 | |
| 33 × 48 mm | 390 × 567 | 780 × 1134 | |
| 50 × 70 mm | 591 × 827 | 1181 × 1654 |
Calculating is free. A document photo — by the AI
Free, right here
- 01Instant, no photo upload
- 02Calculated right in your browser
- 03No ads
- 04As many times as you like
No sign-up, no card.
AI correction
When adjusting the file is not enough: fixes light, shadows, clothing and pose and makes the photo to the document’s rules. You see the result before paying.
If it’s rejected, we refund you
Make a document photoFrequently asked questions about document photos
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.



