The formula
pixels = cm ÷ 2.54 × DPI. For millimetres divide by 25.4 instead, and for inches just multiply by the DPI. Going the other way, cm = pixels ÷ DPI × 2.54.
Common sizes in pixels
| Size | 200 DPI | 300 DPI |
|---|---|---|
| 3.5 × 4.5 cm (passport photo, India) | 276 × 354 | 413 × 531 |
| 2 × 2 inches (US passport) | 400 × 400 | 600 × 600 |
| 35 × 45 mm (UK, Schengen) | 276 × 354 | 413 × 531 |
| 2.5 × 3.5 cm (stamp size) | 197 × 276 | 295 × 413 |
| 4 × 6 inches (postcard print) | 800 × 1200 | 1200 × 1800 |
| A4 (21 × 29.7 cm) | 1654 × 2339 | 2480 × 3508 |
When a form gives both cm and pixels
Some application forms give a size in cm and a size in pixels that don’t match at any normal DPI. Go by the pixels and the KB limit: that’s what the upload page actually checks. Our photo size checker shows a file’s pixels, KB and DPI, and the exam photo size pages already have each exam’s numbers built in.
Related tools: resize image in cm, in mm, in inches, change DPI, check DPI and passport photo maker.