Photo specs

Passport photo size by country.

35 × 45 mm, 2 × 2 in, and the pixel numbers that actually get accepted. A practical reference, not a substitute for the form’s instructions.

Updated 30 November 20266 min readReference

Passport and visa photos are one of the few places where a millimetre really matters. A photo that looks fine on screen can be rejected because the head is too small, the background is off-white, or the file is 12 KB over the limit.

This guide covers the three numbers forms usually ask for, the common sizes by country, and how to produce the file without uploading your face to a random website.

The three numbers on every form

Most photo requirements are a combination of:

  • Physical size — for example 35 × 45 mm or 2 × 2 in. This is what the printed photo must measure.
  • Pixel size — for example 600 × 600 px or 413 × 531 px. This is what an online portal checks.
  • File size — for example “under 100 KB” or “between 20 KB and 50 KB”. This is the compressed file, not the dimensions.

When a form gives all three, satisfy all three. When it gives only a physical size, choose 300 DPI for print. When it gives only pixels, ignore DPI and enter the pixels directly.

Common passport and visa photo sizes

Country / usePhysical sizePixels at 300 DPINotes
India passport35 × 45 mm413 × 531Plain white background
US passport2 × 2 in (51 × 51 mm)600 × 600600–1200 px square, white background
US visa2 × 2 in (51 × 51 mm)600 × 600600–1200 px square, white background
UK passport35 × 45 mm413 × 531Plain light background
Schengen visa35 × 45 mm413 × 531Light background, recent photo
Canada passport50 × 70 mm591 × 827White or light background
China visa33 × 48 mm390 × 567White background
Australia passport35 × 45 mm413 × 531Plain background
Japan passport35 × 45 mm413 × 531Plain background

Rules change. The table is a starting point, not legal advice. Always check the current requirement on the issuing authority’s website or the form you are filling.

Why 35 × 45 mm is not always 413 × 531 px

Millimetres and pixels are different units. To convert, you need a resolution: DPI, or dots per inch. At 300 DPI, one millimetre is about 11.8 pixels. That is why 35 × 45 mm becomes roughly 413 × 531 px.

A form that asks for 600 × 600 px is not asking for a physical size. It is asking for a square image with enough pixels for its own crop. In that case, set the unit to pixels and enter 600 × 600. Do not force 300 DPI into a pixel requirement.

If the form gives both a physical size and a pixel size, use the pixel size for the digital upload and the physical size for the print. They are usually two different outputs.

What about the KB limit?

The KB limit is a compression target. A 413 × 531 px JPEG can usually fit under 100 KB with good quality. A 1200 × 1200 px photo may need stronger compression, a smaller pixel size, or a format the portal accepts.

OnDiv’s photo tool lets you set a target KB and a pixel size at the same time. If the target is impossible at that resolution, it will use the smallest quality it can and tell you. Read the100 KB guide for the trade-offs.

Make the photo in four steps

  1. Open the photo resizer.
  2. Choose the preset closest to your form, or enter the exact width, height, unit, and DPI.
  3. Set the maximum KB. Choose Fit so the whole head and shoulders stay in the frame.
  4. Download the result, open it once, and check the dimensions and file size before uploading.

What makes a photo acceptable

Dimensions are only half the job. Most authorities also care about the face: recent, evenly lit, looking straight at the camera, with a neutral expression and no heavy filters. The head should fill most of the frame, and the background should be plain.

If the background is not plain, OnDiv can replace it with white, light blue, grey, or a custom colour using an on-device person-segmentation model. The photo is still never uploaded.

Frequently asked

Is 35 × 45 mm the same as 2 × 2 inches?
No. 35 × 45 mm is about 1.38 × 1.77 inches. 2 × 2 inches is 50.8 × 50.8 mm, which is square and larger. The US passport and visa photo is 2 × 2 inches; India, the UK, and the Schengen area commonly use 35 × 45 mm.
How many pixels is a 35 × 45 mm photo?
At 300 DPI, 35 × 45 mm is about 413 × 531 pixels. At 600 DPI it is about 827 × 1063 pixels. If an online form gives a pixel size, use that instead of converting.
Can I take a passport photo with my phone?
Usually yes, if the lighting is even, the background is plain, the head fills the required portion of the frame, and the photo is recent. Avoid beauty filters, heavy shadows, and tilted angles. Check the issuing authority’s rules for glasses, head coverings, and expression.
What DPI should I use?
Use 300 DPI when the form gives a physical size in millimetres or inches and you will print the photo. If the form gives a pixel size for an online upload, DPI is irrelevant — the pixel dimensions are what matter.