Resize image in cm
Resize a photo or scan to an exact size in centimetres, millimetres or inches at the DPI your form or printer needs. See the pixels it comes to, keep the shape or crop to fill, and download a JPG.
413 × 531 pixels (3.5 cm × 4.5 cm at 300 DPI)
3. Your picture
Your picture stays on this device. It is resized in your browser and never uploaded.
How to resize an image in cm
- Choose cm, mm or inches and enter the width and height. Leave one empty to keep the picture's shape.
- Set the DPI: what the form or printer asks for, or 300 for a print and 200 for most forms.
- If both sides are set, choose Crop to fill for the exact size, or Keep the whole picture.
- Choose the picture. The tool shows the pixels, the printed size and the KB.
- Tick the KB limit if the form has one, check the After preview, and download the JPG.
cm to pixels: the formula
An inch is exactly 2.54 cm. DPI is dots, or pixels, per inch. So:
pixels = cm ÷ 2.54 × DPI
Worked example: a passport photo of 3.5 × 4.5 cm at 300 DPI. Width: 3.5 ÷ 2.54 = 1.378 inches, × 300 = 413.4, so 413 pixels. Height: 4.5 ÷ 2.54 = 1.772 inches, × 300 = 531.496, which rounds to 531. The picture is 413 × 531 pixels.
In millimetres, divide by 25.4 instead of 2.54. In inches, multiply straight by the DPI: 2 inches at 300 DPI is 600 pixels. Going the other way, cm = pixels ÷ DPI × 2.54, so a 600-pixel-wide picture at 200 DPI prints 7.62 cm wide.
| Use | Size | At 200 DPI | At 300 DPI |
|---|---|---|---|
| PAN card photo | 2.5 × 3.5 cm | 197 × 276 px | 295 × 413 px |
| Passport photo (India) | 3.5 × 4.5 cm | 276 × 354 px | 413 × 531 px |
| Thumb impression (bank forms) | 3 × 3 cm | 236 × 236 px | 354 × 354 px |
| 2 × 2 inch photo | 2 × 2 inch | 400 × 400 px | 600 × 600 px |
| 4 × 6 inch print | 4 × 6 inch | 800 × 1200 px | 1200 × 1800 px |
| A4 page | 21 × 29.7 cm | 1654 × 2339 px | 2480 × 3508 px |
Pixels are rounded to the nearest whole number. The bank guidelines round the 3 × 3 cm thumb impression at 200 DPI to 240 pixels; the formula gives 236.
Keep the shape or crop to fill
A phone photo of 4000 × 3000 pixels is wider than a 3.5 × 4.5 cm passport photo, so it can't fill that shape without losing something.
- Crop to fill gives exactly 413 × 531 pixels. It keeps a 2333 × 3000 pixel strip from the middle of the photo and cuts the rest from the left and right equally.
- Keep the whole picture fits the photo inside the size: the width is 413 pixels and the height follows the shape, 310 pixels, so it prints 3.5 cm wide but less than 4.5 cm tall.
For a passport, visa or PAN photo where you want to place your face yourself, the passport size photo maker lets you drag and zoom, and prints a sheet of copies.
Where a size in cm comes up
- PAN photo: Protean gives 3.5 cm × 2.5 cm, and for an online update a 200 DPI JPEG of up to 50 KB. Enter 2.5 and 3.5 cm at 200 DPI and tick a 50 KB limit.
- Thumb impression for bank exams: Punjab & Sind Bank's guidelines give 240 × 240 pixels at 200 DPI, 3 × 3 cm, and 20 to 50 KB. For the 20 KB minimum too, use the photo and signature resizer.
- Prints: a photo for a frame, an ID card or a biodata, sized in cm so it prints exactly that big at 100%.
Questions about resizing in cm
How do I convert cm to pixels?+
Divide the cm by 2.54 to get inches, then multiply by the DPI: pixels = cm ÷ 2.54 × DPI. For example, 3.5 cm at 300 DPI is 3.5 ÷ 2.54 × 300 = 413.4, so 413 pixels. In mm, divide by 25.4 instead; in inches, just multiply by the DPI.
What DPI should I use?+
The one your form or printer asks for. Protean's PAN photo specification and the bank recruitment guidelines for the thumb impression both give 200 DPI, which is why 200 is one of the two buttons. If nothing is said, the tool starts at 300 DPI for prints.
Why does my picture look blurry after resizing?+
If the size you asked for needs more pixels than your picture has, it has to be enlarged, and enlarging can't add detail. The tool warns you when that happens. Use the original photo rather than a WhatsApp copy, or choose a lower DPI if the form allows it.
Does the DPI change the picture?+
It changes how many pixels the same cm comes to, so a higher DPI gives a bigger file with more detail. The DPI is also written into the JPG, which tells a printer or Word how large to print it. Screens and most upload forms ignore it and look only at the pixels.
Should I keep the shape or crop to fill?+
Crop to fill when the form wants an exact size, such as 3.5 × 4.5 cm; the extra edges are cut evenly from both sides. Keep the whole picture when nothing may be cut off, such as a document; one side then comes out shorter than you entered.
How do I choose what part of the photo is kept?+
This tool crops from the centre. To move and zoom the photo yourself, use the passport size photo maker, which also has custom sizes in mm, cm and inches.
Can I keep the file under a KB limit too?+
Yes. Tick Also keep the file under a KB limit and enter it. The size in pixels stays as you set it and the JPG quality is lowered just enough to fit. If even the lowest quality is too big, the tool says so; lower the DPI or the size.
Is my picture uploaded?+
No. It is resized inside your browser and never sent to us or anyone else.
Sources
Checked on 25 November 2026.
- NIST Guide to the SI, Appendix B.9: the inch is exactly 2.54 × 10⁻² metre
- Protean eGov Technologies, how to update the photo on a PAN card
- Punjab & Sind Bank, guidelines for scanning the photograph, signature, thumb impression and declaration (August 2024)
- Ministry of External Affairs, General Advisory for Passport Applicants (updated 16 September 2023)
Other photo tools
Need a website or app that's this simple to use?
We build websites, mobile apps and custom software for businesses in India. Tell us what you need and we'll send a written scope.
Or email leelaramtechnologies@gmail.com
