Guides6 min read

How to Resize a Photo in cm (With the Right DPI)

Resize a photo in cm without guesswork: why cm needs a DPI, pixel sizes for 3.5x4.5, 2.5x3.5, 3x4 and 5x5 cm at 200 and 300 DPI, and what forms check.

By Published
A 3.5 x 4.5 cm photo frame with its pixel sizes at 96, 200 and 300 DPI written beside it

Ask a form for a photo “3.5 x 4.5 cm” and you’ve asked for a physical size. A phone photo has no centimetres in it, only pixels. To resize a photo in cm you need one more number, the DPI, which says how many pixels make up each inch of paper. Get that number wrong and the file comes out tiny, or the portal rejects it. Below are the formula, worked pixel sizes for the common Indian document sizes, and how to do it in ResizeAny.

Quick answer: To resize a photo in cm, convert to pixels: cm ÷ 2.54 × DPI. A 3.5 x 4.5 cm photo is 413 x 531 px at 300 DPI or 276 x 354 px at 200 DPI. A PAN card photo (2.5 x 3.5 cm at 200 DPI) is 197 x 276 px. Use the DPI your form gives; for prints with no rule, use 300.

Why centimetres need a DPI

Screens and upload portals count pixels. Paper is measured in centimetres or inches. DPI (dots per inch; for digital files it really means pixels per inch) is the link between them. One inch is exactly 2.54 cm, so the formula is:

pixels = cm ÷ 2.54 × DPI

Take a 3.5 cm width. At 300 DPI that’s 3.5 ÷ 2.54 × 300 = 413 pixels. At 200 DPI it’s 276. Same centimetres, different file. Both are correct; they’re just made for different jobs.

That’s why “resize to 3.5 cm” with no DPI is an incomplete instruction. When the DPI box is empty, ResizeAny falls back to 96 DPI, an old screen convention, and a 3.5 x 4.5 cm photo then becomes 132 x 170 pixels. That’s too small for most portals and looks soft in print.

Photo sizes in cm converted to pixels

The pixel columns are my own arithmetic using the formula above, rounded to the nearest pixel, the same way ResizeAny rounds them.

Size (width x height) Used for Pixels at 200 DPI Pixels at 300 DPI
3.5 x 4.5 cm Passport size, Passport Seva print 276 x 354 413 x 531
2.5 x 3.5 cm PAN card photo (200 DPI) 197 x 276 295 x 413
4.5 x 2 cm PAN card signature (200 DPI) 354 x 157 531 x 236
3 x 4 cm Common ID print size 236 x 315 354 x 472
5 x 5 cm Square photos (close to a US visa) 394 x 394 591 x 591
5.08 x 5.08 cm (2 x 2 in) US visa photo 400 x 400 600 x 600

Note that 5 x 5 cm isn’t quite a US visa photo. The State Department asks for 2 x 2 inches (51 x 51 mm), which at 300 DPI is exactly 600 x 600 px, its digital minimum. A 5 cm square at 300 DPI lands at 591, just under. And the PAN numbers only make sense at 200 DPI, because that’s the resolution Protean names.

What forms actually check

Read the notice before you pick a DPI, because forms check different things.

Some give cm and a DPI. Protean’s guidelines for DSC-based PAN applications ask for a 3.5 x 2.5 cm colour photo and a 2 x 4.5 cm signature at 200 DPI, in JPG, up to 20 KB and 10 KB. Here the cm and DPI together fix the pixels, and the details are in our PAN card photo and signature size guide.

Some give pixels and only mention cm in passing. Several IBPS scanning guidelines, such as the PSB March 2026 notice, prefer a 200 x 230 pixel photo and a 140 x 60 pixel signature, scanned at 200 DPI or more. Other IBPS notices ask for 240 x 240 pixels at 200 DPI, roughly 3 x 3 cm. If a notice gives pixels, type pixels and ignore the cm.

And some ask for a print in cm but a different pixel size for upload. Passport Seva tells applicants to carry two 4.5 x 3.5 cm colour photos on a white background. Its ICAO photo guidelines, though, ask for a 630 x 810 pixel digital image. That’s the same 7:9 shape as 3.5 x 4.5 cm, at about 457 DPI. Nobody measures the centimetres of an uploaded file; the portal checks pixels and KB.

So the rule of thumb: if the notice gives pixels, use them. If it gives cm and a DPI, use both. If it gives only cm and you’re printing, use 300 DPI.

How to resize a photo in cm with ResizeAny

  1. Open the resize image in cm tool and drop in your photo. For a fixed size, start from a preset instead: 3 x 4 cm (300 DPI), PAN card photo (2.5 x 3.5 cm, 200 DPI, 20 KB target) or 5 x 5 cm. More are listed under exact sizes in cm.
  2. Check the DPI box before anything else. ResizeAny uses the number you type there to turn cm into pixels. If the box is empty, it converts at 96 DPI. The 5 x 5 cm preset leaves it empty, so type 300 (or 200 if your form says so).
  3. Type the width and height in cm, with cm selected as the unit.
  4. Under Ratio & fit, pick Crop if your photo’s shape doesn’t match the target. Presets with both sizes start on Stretch, which forces the exact size and can squash a face. For a portrait you may prefer the crop tool: 3:4 matches 3 x 4 cm and 5:7 matches 2.5 x 3.5 cm. There’s no 7:9 button for 3.5 x 4.5 cm, so use freeform there.
  5. Download as JPG or PNG. ResizeAny writes the DPI into both, so print software reads the photo at the size you chose. WebP and AVIF files don’t carry it.

If the result is over the form’s KB limit, add a target file size, or see how to reduce an image to 50 KB. The photo is processed in your browser and never uploaded.

Printing at the right size

A wrong-size print is often the print dialog’s fault, not the file’s. Choose 100%, “actual size” or “no scaling”. “Fit to page” stretches a 3.5 x 4.5 cm photo to fill the sheet. If the DPI in the file doesn’t match the one you converted at, the printer gets it wrong too: a 413 x 531 px photo saved at 96 DPI prints at about 10.9 x 14 cm.

Check whether you’d be enlarging, too. Turning a small 300 x 400 px crop into 3.5 x 4.5 cm at 300 DPI works, but it can’t add detail the original never had. Start from the camera’s original, not a copy that has already been shrunk. For bigger prints and the DPI-versus-viewing-distance question, see image size for printing.

Frequently asked questions

How do I convert cm to pixels?▼
Divide the centimetres by 2.54 to get inches, then multiply by the DPI. A 3.5 x 4.5 cm photo is 413 x 531 pixels at 300 DPI and 276 x 354 pixels at 200 DPI. Without a DPI there is no single answer, because a centimetre only has a pixel count once you decide how many pixels go into each inch.
What DPI should I use to resize a photo in cm?▼
Use the DPI your form or notice states. Protean asks for 200 DPI for PAN card photos and signatures, and IBPS asks for scans of at least 200 DPI. If you are going to print the photo and nobody gives a number, 300 DPI is the usual choice for photo prints.
What is 3.5 x 4.5 cm in pixels?▼
It is 413 x 531 pixels at 300 DPI, 276 x 354 pixels at 200 DPI and 132 x 170 pixels at 96 DPI. If you are uploading to the Indian passport portal, its ICAO photo guidelines ask for 630 x 810 pixels instead, which is the same 7:9 shape at a higher resolution.
Why does my resized photo come out the wrong size when printed?▼
Usually the DPI saved in the file doesn't match the DPI you used for the conversion, or the print dialog was set to fit to page. Save a JPG or PNG with the DPI you used, and print at 100% or actual size so the printer doesn't scale it.
Does changing DPI alone change the photo?▼
No. If the pixel count stays the same, changing the DPI only changes the number stored in the file, which tells a printer how large to print it. The image, the file size in KB and how it looks on screen stay the same.

Written by

Niks runs Nikshub, the small studio behind ResizeAny, a free image resizer that works entirely in your browser. The numbers in these guides come from the tool itself and from official sources, and you can check them with the free tools on this site.

Keep reading

Send feedback

How do you like ResizeAny?
What is it about?

With your message we send the page address, screen size and browser, to help fix problems. Your images are never sent. Privacy