How to resize an image in cm or mm
Screens think in pixels; printers and forms think in centimetres. The bridge between them is DPI, and once you understand it, resizing to an exact 3.5 × 4.5 cm or 5 × 5 cm becomes simple arithmetic. This guide gives you the formula, a ready-made conversion table, and the steps to hit any physical size with the resize tool and the DPI tool.
The cm-to-pixel formula
An image has no fixed physical size on its own — only a pixel count. It gains a centimetre size the moment you pair it with a DPI (dots per inch). The conversion is:
- pixels = centimetres × DPI ÷ 2.54
- centimetres = pixels × 2.54 ÷ DPI
So a 3.5 × 4.5 cm photo at 300 DPI is (3.5 × 300 ÷ 2.54) × (4.5 × 300 ÷ 2.54) ≈ 413 × 531 pixels. Resize to that pixel size and the physical dimensions are correct. For millimetres, divide by 10 to get centimetres first.
What DPI should you use?
| Use | DPI | Why |
|---|---|---|
| Print (photos, documents, exam forms) | 300 | The standard for crisp print; most forms assume it |
| Large posters viewed from afar | 150 | Lower detail is fine at distance; smaller file |
| Screen / web only | 72–96 | DPI is irrelevant on screen; only pixels matter |
Set or check the embedded DPI value with the DPI tool. Remember: changing the DPI tag alone does not resample the image — to truly hit a physical size you resize the pixels to the value from the formula above.
Ready conversion table (at 300 DPI)
| Physical size | Pixels (300 DPI) | Typical use |
|---|---|---|
| 3.5 × 4.5 cm | ≈ 413 × 531 px | Passport / exam photo |
| 2 × 2 in (5.08 × 5.08 cm) | 600 × 600 px | US visa, square photo |
| 4 × 2 cm | ≈ 472 × 236 px | Signature box |
| 5 × 5 cm | ≈ 591 × 591 px | Larger ID photo |
| 10 × 15 cm (4 × 6 in) | 1200 × 1800 px | Standard print |
| 21 × 29.7 cm (A4) | 2480 × 3508 px | Full-page document |
Step by step
- Decide the physical size you need in cm or mm, and the DPI (300 for print, unless told otherwise).
- Convert to pixels with the formula, or read it straight off the table above.
- Open the resize tool and enter those pixel dimensions. Crop first with the crop tool if the aspect ratio does not match.
- If a printer or form needs the DPI tag set to 300, apply it with the DPI tool.
- If a form also caps the file size, compress to the KB limit last, after the dimensions are correct.
Frequently asked questions
Related guides
- Compress without losing quality
Lossy vs lossless, picking the right format, resizing first, and hitting an exact KB target, explained plainly.
- Shrink photos for email & chat
Fit attachment limits, send many images at once, and avoid WhatsApp re-compressing your photos to mush.
- Exam photo & signature sizes
The photo and signature dimensions, KB limits and formats for every major Indian exam, and how to hit them.