ID photo sizes by country: official measures
ID photo dimensions depend on the application: France uses 35 × 45 mm, while Spain’s rules give 32 by 26 mm, arranged as a vertical 26 × 32 mm crop in our tool. Mexico’s infantil format in the STPS reference is 25 × 30 mm, and its military service card requires 35 × 45 mm. The same country can have several formats; a document name is a safer starting point than a generic country preset.
This guide links each confirmed measurement to an official source, checked on October 21, 2026. If your application allows a photograph you prepare yourself, use the ID photo crop and print tool to create the correct output size locally in your browser. Dimensions alone do not establish acceptance: check capture requirements, background, expression, print quality and submission method.
Confirmed photo sizes by application
Width and height below describe a portrait crop. Some official documents list the longer side first without naming the orientation; the Spanish row makes that distinction explicit. Follow your own application’s current instructions if its requirements differ from a general reference.
| Application | Width × height | Head and background | Official source |
|---|---|---|---|
| Mexico: infantil size, JCF reference | 25 × 30 mm | No head-height range stated in this reference; check the application | STPS programme requirements |
| Mexico: military service identity card | 35 × 45 mm | White background; non-digitised photographs required | SEDENA Cartilla requirements |
| France: passport and identity card | 35 × 45 mm | Face height 32–36 mm, chin to skull excluding hair; light background, white prohibited | Service Public photo requirements |
| Spain: identity card and passport | 26 × 32 mm, portrait | Uniform smooth white background; official wording lists 32 by 26 mm | Royal Decree 255/2025: ID and Royal Decree 896/2003: passport |
Sources accessed October 21, 2026. Spain’s older ID decree was repealed in 2025; its replacement retains the stated dimensions. This is a table of specific applications, not a universal list of passport standards. A measurement shared by two documents does not make their other rules identical.
Choose the document before choosing a size
Start with the exact application you are completing. An identity card, a passport and a school file can require different photographs even when issued in the same country. A familiar size label may hide differences in shape, finish or background. If the instructions specify an oval print, a rectangular photo with matching outer dimensions is not an equivalent submission.
Mexico’s infantil name describes a small photo format, rather than the age of the person pictured. The cited STPS programme gives a 2.5 × 3 cm measurement. That confirms the format for that reference, but does not establish the paper or finish rules for every Mexican application. Check the notice or office instructions that apply to your own file before ordering multiple copies.
Home preparation is not accepted by every application
France requires an authorised photographer or an approved booth for identity photographs. Its dimensions preset can help you understand the framing, but a home-made print does not replace the required capture process. The rule concerns how the photograph is obtained as well as what the resulting rectangle looks like, so cropping software cannot certify it.
Mexico’s Cartilla source also specifies non-digitised photographs. Ask the recruitment office about the acceptable production method before treating a downloaded JPG as ready to submit. The tool can set a physical output size; it cannot decide whether your camera, editing process, paper and presentation satisfy an institution’s complete instructions.
Background and head height need separate checks
France’s light background requirement excludes white, while Spain calls for a white background. A general European preset would hide that difference. France also defines its face-height measurement without the hair. Measuring to the visible top of a tall hairstyle would therefore use the wrong landmark, even if the final picture were exactly 35 × 45 mm.
Leave space around the head when taking the original photograph. Use the crop guides to assess the framing and inspect the complete picture before exporting. Face detection supplies an initial estimate, but it can miss profiles and covered faces. Even a successful detection does not prove that its estimated crown and chin positions match the application’s anatomical definition.
Understand pixels, dpi and physical print dimensions
Millimetres describe a physical print; pixels describe the digital image. At 300 dots per inch, a 25 × 30 mm print is approximately 295 × 354 pixels after rounding to the nearest whole pixel. Another density would imply another pixel count for the same physical size. Changing the dpi field alone does not add detail to a small or soft original photograph.
The tool exports a 10 × 15 cm sheet as 1181 × 1772 pixels with 300 dpi metadata. Its PDF uses a physical 100 × 150 mm page. Select matching paper and actual-size printing, usually labelled 100 percent. A printer driver’s fit-to-page option can reduce the whole sheet to accommodate margins, making each photograph smaller than intended despite correct file dimensions.
If a lab prints the sheet, ask it to preserve the supplied dimensions rather than enlarge the image to fill the paper. Print one trial sheet, measure a photo with a ruler, and only then order the remaining copies. Cutting marks help locate the edges; they cannot compensate for scaling that has already changed the entire page.
Mexican passports do not need this print preset
The current Mexican passport procedure captures the photograph at the office. Check the official passport portal before paying for prints based on an older dimensions chart. A measurement appearing in a past consular document is not evidence that the present procedure asks you to bring a printed photo.
Save a private original and review the final export independently of the editing preview. Browser processing keeps the photograph on your device, but privacy does not make an image acceptable to an authority. Use official sources for the application rules and software for the measurable tasks it can perform: cropping, output dimensions and arranging a print sheet.
Frequently asked questions
What size is a Mexican infantil photo?
The cited STPS programme specifies 2.5 × 3 cm. Our portrait preset is 25 mm wide and 30 mm high, but you should still check the instructions for your exact application.
Do Mexican passports require printed photos?
The current procedure captures the photograph at the office. Check the official passport portal before ordering prints based on an older dimensions guide.
Is a white background correct for every country?
No. France prohibits white and requires a light background, while Spain specifies white. France also requires an authorised photographer or an approved booth.
How do I keep the correct size when printing?
Use matching paper and choose actual size or 100 percent rather than fit to page. Measure one trial print with a ruler before ordering or cutting more copies.
Does a 300 dpi file guarantee acceptance?
No. Dpi describes print density, not compliance with all application rules. Background, capture method, expression, paper and image quality require separate checks.
Can I adjust the crop without face detection?
Yes. Move and scale the frame manually using the crop guides. Automatic head estimates can be inaccurate, and the person preparing the image must review the result.