The safest starting point is the application itself: identify the document, the country, and whether the photo is being uploaded, printed or both.

The measurement first

Millimetres and inches describe physical output; pixels describe digital dimensions; DPI connects pixels to physical size during printing. If an authority already states the required pixel dimensions, use them directly. If you are building a print file from millimetres, the basic relationship is pixels = millimetres × DPI ÷ 25.4.

Where calculations stop being enough

A mathematically correct file can still fail because the face is the wrong size inside the frame, the background is unsuitable, the compression introduces visible artefacts, or the application expects a different file type. Finish every conversion with a visual and application-specific check.

Compress after you have the right dimensions

If a portal has a strict maximum file size, do not start by shrinking the image dimensions. First make the crop and pixel dimensions correct; then use JPEG quality or another allowed compression method to reduce the file. Re-open the compressed file and check for blockiness or ringing.

Keep a larger master

Save the original and a clean master separately. That way, if one portal needs 240 KB and another accepts a larger file, you can create both versions without repeatedly recompressing the same JPEG.

One final question

Does this exact file match the exact application? If the answer is yes, save it and move on. If the answer is “probably,” go back to the authority page before submitting.

Why “passport size” is not one measurement

Different authorities use different physical sizes and face-position rules. A 35 × 45 mm output, a 50 × 70 mm output and a 51 × 51 mm output can all belong to legitimate passport or visa workflows. Start from the destination, not the nickname.

In FastIDPhoto, that means choosing the document profile before final export so the same original portrait can produce separate, traceable versions.

A note for this exact search

For this particular topic, save the final version with the destination and date in the filename. That makes a second application easier to prepare without guessing which export you used first.

Source check: Revisit the live instructions from the issuing authority immediately before submission. Portals can add or change file limits, examples and exception notes after an article is published.
GET THE DIGITAL FILE

Passport Photo Rejected Because of File Size

For online workflows, verify the final dimensions and file size on disk before uploading.