Published
An ID photo is a small image with an unusually strict specification attached to it, and the specification belongs to whichever authority will receive it. Most rejections are not photography failures; they are arithmetic failures, framing failures, or a file that was the right picture at the wrong pixel size. This guide covers the measurements, the conversions, and the checks that catch problems before an application does.
Start from the issuing body's own specification
Before doing anything to an image, find the current requirements published by the authority that will receive it — the passport agency, the embassy, the examination board, the licensing office. Requirements differ between countries, between document types within a country, and between the paper and online submission paths for the same document. They also change, sometimes with little notice, and third-party templates lag behind.
Be sceptical of any tool, including this one, that presents a list of sizes as if it were authoritative. A size table is a convenience for the common cases; it is not the specification and it cannot know that a consulate updated its guidance last month. Use the table to get the arithmetic right, and use the authority's own page to confirm every rule that applies to your submission.
Millimetres, pixels, and what DPI actually means
Physical sizes are given in millimetres; digital submissions are checked in pixels. The conversion is one formula: pixels equal millimetres divided by 25.4, multiplied by the resolution in dots per inch. Nothing else is involved, and doing it by hand once makes the standard figures recognisable rather than magic. A 35 by 45 mm photo at 300 DPI is 413 by 531 pixels, and that is exactly where those numbers come from.
DPI is the part people misunderstand. In an image file, DPI is a metadata tag — a note about the intended print size. It does not change the number of pixels and it does not change the image. An image of 413 by 531 pixels tagged at 72 DPI contains precisely the same data as the same image tagged at 300 DPI; only the printing instruction differs. What actually determines print quality is the pixel count relative to the physical size you print at. So if a portal demands 300 DPI, it is really demanding enough pixels, and if a print shop asks for 300 DPI, set the tag but check the pixel count first.
Pixel values are computed as mm ÷ 25.4 × 300 and rounded. Always confirm against the specification you were given — this table is arithmetic, not authority.
| Format | Size (mm) | Pixels at 300 DPI | Usual background | Typically used for |
|---|---|---|---|---|
| One-inch (一寸) | 25 × 35 | 295 × 413 | White, blue or red | Forms, staff passes, personnel files |
| Large one-inch (大一寸) | 33 × 48 | 390 × 567 | White | Chinese passport, visa and exit-entry documents |
| Small two-inch (小二寸) | 35 × 45 | 413 × 531 | White or light grey | ICAO-style photos, Schengen and many visa applications |
| Two-inch (二寸) | 35 × 49 | 413 × 579 | White, blue or red | Academic, professional and certification records |
| Large two-inch (大二寸) | 35 × 53 | 413 × 626 | White or blue | Some certificates and archive files |
| US passport and visa | 50.8 × 50.8 (2 × 2 in) | 600 × 600 | Plain white or off-white | US passport, visa and green card applications |
| Chinese resident ID card | 26 × 32 | 358 × 441 at 350 DPI (307 × 378 at 300) | Light blue | Captured at the registration office, not supplied by the applicant |
pixels = mm / 25.4 * DPI
# 35 x 45 mm at 300 DPI
35 / 25.4 * 300 = 413.39 -> 413 px
45 / 25.4 * 300 = 531.50 -> 531 px
# 25 x 35 mm (one-inch) at 300 DPI
25 / 25.4 * 300 = 295.28 -> 295 px
35 / 25.4 * 300 = 413.39 -> 413 px
# Going the other way: you have a 1280 x 1646 crop.
# What resolution does that give at 35 x 45 mm?
1280 / (35 / 25.4) = 929 DPI -> far more than needed
# Head-height check on a 45 mm tall photo, target 70-80%
0.70 * 45 = 31.5 mm 0.80 * 45 = 36.0 mm
at 531 px tall:
0.70 * 531 = 372 px 0.80 * 531 = 425 pxHead size and framing
After the outer dimensions, head size is what gets checked next, and it is the rule most often failed by a photo that otherwise looks perfectly good. The measurement is normally from the bottom of the chin to the top of the head — the crown of the skull, not the top of the hair if the hair stands up. Many specifications add a second constraint on eye position, measured from the bottom edge of the image.
Typical figures give the shape of the rule. An ICAO-style 35 by 45 mm photo usually asks for a head height of about 32 to 36 mm, which is roughly 70 to 80 percent of the image height. The Chinese exit-entry specification for a 33 by 48 mm photo asks for a head length of 28 to 33 mm and a head width of 15 to 22 mm, with a few millimetres of clearance above the head. A US 2 by 2 inch photo asks for a head height between about 25 and 35 mm and places the eyes between roughly 28 and 35 mm from the bottom.
The practical method is to convert the percentage to pixels and measure on the actual file rather than judging by eye. On a 531-pixel-tall image, a 70 to 80 percent head occupies 372 to 425 pixels. That is a measurement you can check in any editor in a few seconds, and it is far more reliable than the impression that the face looks about right. Centre the head horizontally, keep the face square to the camera with a neutral expression and both eyes open and visible, and leave the specified clearance above the crown rather than cropping tight to it.
Background, lighting, and the usual rejections
Background rules are stricter than they sound. Most passport and visa specifications require plain white or a very light neutral, evenly lit, with no shadow behind the subject and no texture, pattern, or object. In Chinese practice a wider set of conventions is in use: white for passports, visas and most official documents; blue for many academic, employment and certification records; red for some forms and wedding registration. A photo prepared on the wrong colour is a straightforward rejection, so confirm the colour along with the size.
Replacing a background digitally is legitimate and routine, but it is also where most avoidable failures come from. Automatic matting struggles with hair, with glasses frames, and with clothing close in colour to the original backdrop, and it produces a halo or a chewed edge that a reviewer notices immediately. Check the result at full size around the hairline and shoulders. Photograph against a plain, evenly lit wall in the first place if you can — it is much less work than repairing a bad cut-out.
- No hats, no sunglasses, no filters, no digital retouching of facial features, and no other person or object in frame.
- Check how recent the photograph must be; six months is a common requirement and an old photo is rejected regardless of quality.
Meeting file format and size limits
Online submission adds a second set of constraints that have nothing to do with photography. Portals specify a format, usually JPEG, exact or minimum pixel dimensions, and a maximum file size — and the file-size cap is frequently the tightest of the three. Chinese government and education portals often require a specific pixel size with a cap in the tens or low hundreds of kilobytes. The US passport photo upload, by contrast, accepts JPEG between 600 by 600 and 1200 by 1200 pixels with a limit in the megabytes. The spread is enormous, so read the limit for the system you are actually using.
When a file is too large, reduce JPEG quality before you reduce pixel dimensions. An ID photo is a smooth, evenly lit subject and compresses well; quality around 80 usually produces a file a fraction of the size with no visible difference, and quality can often go lower before artefacts appear around the hairline and the edges of glasses. Only if that is not enough should you consider resampling, and then only down to the minimum the specification allows. Re-saving a JPEG repeatedly compounds the loss, so keep a lossless master and export a new JPEG each time rather than re-compressing the same file.
Printing, and what no tool can promise
For printed submissions, a layout sheet is the usual approach: several copies of the same photo arranged on a standard print size, such as a 4 by 6 inch sheet, with cutting margins between them. The photo itself must be printed at its true physical size, so check the print dialogue for any scale-to-fit option and turn it off. Print on photographic paper rather than plain paper, and cut precisely — a photo trimmed 2 mm short is out of specification even though the file was perfect.
Finally, the honest statement. No tool — not this one and not any other — can guarantee that an authority will accept a photograph. Acceptance is a human or automated judgement made by the issuing body against its own current rules, and those rules are revised, interpreted locally, and sometimes applied more strictly by one office than another. Software can get the dimensions exactly right, put the head in the specified proportion, produce a clean background, and hit the file-size limit. It cannot certify compliance. Treat any claim that a photo is guaranteed to pass as marketing, verify the measurements against the published specification yourself, and where the submission matters and the rules are ambiguous, use an approved photographic service that takes responsibility for the result.
What to remember
- Get the current specification from the issuing body first — sizes, background, head ratio, format and file-size limit all differ by document and change over time.
- Convert with pixels = mm ÷ 25.4 × DPI: 35 × 45 mm at 300 DPI is 413 × 531, and one-inch 25 × 35 mm is 295 × 413.
- DPI is only a metadata tag; what matters is the pixel count relative to the printed size, so capture large and downscale rather than enlarging.
- Measure head height in pixels rather than by eye — on a 531-pixel-tall photo, a 70 to 80 percent head is 372 to 425 pixels.
- Reduce JPEG quality before pixel dimensions to meet a size cap, and accept that no tool can guarantee an authority will approve the photo.