Skip to content
UniKit

ID photo size calculator

Convert ID photo sizes between millimetres, centimetres, inches and pixels — with 1 inch, 2 inch and other common Chinese ID presets, exact 25.4 mm per inch conversion, and pixel sizes at any DPI.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

Photo size
Common presets

Separate the two numbers with a comma, space, x, × or *. An optional third number is the DPI (300 by default). Click a preset below to fill it in.

Conversion

The first line gives mm / cm / in, the second the pixel size at that DPI.

Enter a size to convert it

Width (mm): 0 · Height (mm): 0 · Pixels: 0 × 0 · Megapixels: 0

What this tool does

  • Turn verbal specs such as "one inch photo" into millimetres, centimetres and 300 DPI pixels
  • Convert a millimetre size into centimetres or inches for a form or print template
  • Check whether an existing photo has enough pixels (a standard 1-inch photo is 295×413 px)

Example

Input

25,35

Output

25 x 35 mm = 2.5 x 3.5 cm = 0.98 x 1.38 in
at 300 DPI: 295 x 413 px (0.122 MP)

Input is millimetres at 300 DPI by default: 25 mm = 2.5 cm = 0.98 in and 25 ÷ 25.4 × 300 ≈ 295 px.

Frequently asked questions

Which ID photo presets are built in?

Five common Chinese presets: 1 inch 25×35 mm, small 1 inch 22×32 mm, large 1 inch 33×48 mm, 2 inch 35×49 mm and large 2 inch 35×53 mm. They are industry conventions rather than a national standard: embassies, passport offices and government or exam portals each publish their own numbers, so always follow the requirements you were given and type those numbers directly when in doubt.

How do mm, cm, in and px convert?

Length: 1 cm = 10 mm and 1 inch = 25.4 mm (the international inch, an exact value). Pixels: mm ÷ 25.4 × DPI, rounded to the nearest integer, so the same size yields different pixel counts at 300 and 350 DPI. Megapixels = width px × height px ÷ 1,000,000.

What input format is accepted?

Write "width,height" (comma, space, x, × or * all work) with an optional third number for DPI, for example 25,35,600. To work in centimetres, switch the unit to cm — 2.5,3.5 is converted to millimetres before pixels are computed. Negative values, zero and anything above 10000 are rejected.

What else matters after you know the pixel size?

Pixels are only the resolution floor: portals often also require a plain background, a specific head proportion, a file size window (for example 20–40 KB) and at least 300 DPI. This tool only does the arithmetic — it never crops a photo, compresses a file or reads an image.

Keywords:ID photo sizephoto size calculator

Related tools