Master Tool BoxExplore tools ↗
← Practical guides
PRACTICAL GUIDE

How to size an ID or passport photo (35×45 mm, 30×40 mm)

Convert millimeters to pixels, choose a DPI and keep an ID photo under a file size limit.

Match the physical size, the pixel size and the file weight before you upload.

Open ID Photo Maker ↗

Size in millimeters is not size in pixels

A printed photo has a physical size, such as 35 × 45 mm, while an online form usually checks pixels and file weight. The link between them is resolution, measured in DPI (dots per inch). Pixels = millimeters ÷ 25.4 × DPI.

SizeAt 300 DPIAt 200 DPI
35 × 45 mm413 × 531 px276 × 354 px
30 × 40 mm354 × 472 px236 × 315 px
2 × 2 inch600 × 600 px400 × 400 px

If a form asks for a pixel size, use it directly. If it only gives millimeters, 300 DPI is a safe default for printing.

Start with a photo that can be cropped well

Cropping removes pixels, so begin with the largest original you have. Face the camera straight on in even light with a plain background, and leave room around the head and shoulders. No tool can fix heavy shadows or a cluttered background after the fact.

  1. Choose the photo and the size you need.
  2. Drag the photo so the face is centered, and use zoom to set how much of the shoulders to show.
  3. Keep the face inside the dashed oval as a rough guide.
  4. Save and check the pixel size shown under the preview.

Keeping the file under a size limit

Many forms limit uploads to 100–500 KB. Enter a maximum size and the tool lowers the JPG quality until the file fits. If it still cannot reach the limit, lower the DPI, which reduces the number of pixels, or crop a little closer. Always look at the result at full size, because heavy compression shows first around the eyes and hair.

Check the agency’s own rules

Background color, head size, glasses, expression and photo age differ by agency and country. This guide and tool handle size, crop and file weight only. Read the written instructions of the office or website you are submitting to, and compare your saved photo against them before you upload.