How to resize a photo in cm for forms, visas and passports (3.5 x 4.5 cm, DPI explained)

Published · 7 min read

Quick answer

To resize a photo in cm, convert centimetres to pixels with pixels = cm x DPI / 2.54, then resize to that pixel size. At 300 DPI, a 3.5 x 4.5 cm passport photo is 413 x 531 pixels. If the form gives pixels instead of cm, use its pixel numbers directly; the portal checks pixels and file size, not centimetres.

To resize a photo in centimetres, turn the centimetres into pixels first: pixels = cm x DPI / 2.54. At 300 DPI, which is the usual print resolution, a 3.5 x 4.5 cm passport photo works out to 413 x 531 pixels. Type those numbers into a resizer, or pick cm in our photo resize tool and let it do the sum for you.

That one formula solves most “photo must be 3.5 x 4.5 cm” problems. The rest of this guide explains what DPI really means, shows the arithmetic for the sizes people ask about most, and covers the mistakes that get photos bounced by visa and passport portals.

Why does a form ask for centimetres when your photo is in pixels?

A phone photo has no physical size. It is a grid of pixels, for example 3000 x 4000. Centimetres only appear when the photo is printed, and the link between the two is DPI (dots per inch, often used to mean pixels per inch): how many pixels are squeezed into each inch of paper.

Many photo rules were written for printed photos, so they speak in cm or mm. The UAE’s ICP, for instance, lists a personal photo of 3.5 x 4.5 cm with a white background in its official FAQ for several services. Pakistan’s NADRA visa photograph guide asks for photos 45 mm high by 35 mm wide. Online portals, on the other hand, often state pixels and kilobytes. The Visit Saudi eVisa page asks for 200 x 200 pixels and a file of 5 to 100 KB.

So you will meet both kinds of rule. The trick is knowing which one the portal actually checks.

How do you convert cm or mm to pixels?

An inch is exactly 2.54 cm, according to NIST’s conversion tables. That gives two versions of the same formula:

  • pixels = cm x DPI / 2.54
  • pixels = mm x DPI / 25.4

Going the other way: cm = pixels x 2.54 / DPI.

Worked example 1: 3.5 x 4.5 cm at 300 DPI

  • Width: 3.5 x 300 = 1050, and 1050 / 2.54 = 413.39, so 413 pixels
  • Height: 4.5 x 300 = 1350, and 1350 / 2.54 = 531.50 (531.496 before rounding), so 531 pixels

Result: 413 x 531 pixels. In mm it is the same sum: 35 x 300 / 25.4 = 413.39.

Worked example 2: the same photo at 600 DPI

  • Width: 35 x 600 / 25.4 = 826.77, so 827 pixels
  • Height: 45 x 600 / 25.4 = 1062.99, so 1063 pixels

Doubling the DPI doubles each side and gives four times the pixels. Our image crop tool uses exactly this 827 x 1063 size for its “Passport 35x45 mm” preset.

Worked example 3: a 2 x 2 inch photo

Inches need no 2.54 step: pixels = inches x DPI. At 300 DPI, 2 x 2 inches is 600 x 600 pixels; at 200 DPI it is 400 x 400. The Consulate General of India in Toronto asks for 2 x 2 inch passport photos, 350 x 350 to 1000 x 1000 pixels, 20 to 100 KB, with a DPI range of 200 to 300. Both 400 x 400 and 600 x 600 sit inside that window.

What does DPI actually change?

DPI does not change your photo. It only describes how densely the pixels will be printed. Here is the difference in plain numbers.

The W3C’s CSS standard defines a screen reference of 96 pixels per inch (1 in = 2.54 cm = 96 px). At that density, 3.5 cm is 3.5 x 96 / 2.54 = 132 pixels wide, and 4.5 cm is 170 pixels tall. A 132 x 170 photo looks fine on a screen at that size.

Print that same 132 x 170 photo at 300 DPI, though, and it comes out at 132 x 2.54 / 300 = 1.1 cm wide and 1.4 cm tall. Stretch it to 3.5 x 4.5 cm instead and each pixel becomes about three times larger, which is why low-resolution prints look soft or blocky.

The practical rule:

  • For print, aim for about 300 DPI at the final size. That is why our passport photo tool exports at 300 DPI.
  • For an online form, ignore DPI unless the form mentions it. Match the pixel size and the KB limit.

Changing only the DPI number in a file’s properties does not add detail. If the pixels are not there, the print will not be sharp.

Which approach suits your situation?

Different forms call for a different starting point. Here is how we would choose.

Your rule saysWhat to doTool
Only cm or mm (printed photo)Crop to the shape, export at 300 DPI, print at 100%Passport photo
cm or mm for an online formConvert at 300 DPI, unless the form gives a DPI rangePhoto resize
Exact pixels, such as 200 x 200Skip cm entirely, type the pixelsPhoto resize
A KB limit as wellResize first, then compress to just under the limitImage compressor

If you need a printed photo for an office visit, the passport photo tool is the shorter path: choose a file, pick a preset such as India 35x45 mm or 2x2 in, place your face in the frame and download a single photo or a 4x6 inch print sheet. If a portal wants a digital file, the resize tool gives you exact control.

How do you resize a photo in cm with Free Adawat?

  1. Crop first. Get the shape right before you change the size. A 3.5 x 4.5 cm photo has a 7:9 shape, so crop to that with the image crop tool or the passport photo tool. Leave a little space above the hair; the ICP’s ICAO guide says the face should take up 70 to 80 percent of the photo.
  2. Open the photo resize tool and choose your file.
  3. Set Unit to cm or mm, type the width and height (3.5 and 4.5), and leave DPI at 300 unless your form says otherwise. If you cropped first, “Keep aspect ratio” fills in the height for you.
  4. Press Resize. The result line shows the pixel size it produced, for example 413 x 531 px at 300 DPI. JPG photos stay JPG.
  5. Check the KB limit. If the file is still too big, open the image compressor, set a target such as 95 KB for a 100 KB limit, and compress.

Everything runs in your browser. Your photo stays on your device, and the site uses no tracking cookies.

What if the portal’s pixel size does not match the cm shape?

This happens more often than you would think. Pakistan’s DGIP lists a colour picture with a white background of 350/467 pixels in JPG, no more than 3 MB, for its online passport categories.

Work backwards: 350 pixels across 3.5 cm means 100 pixels per cm, which is 254 DPI. At that density, 467 pixels is 4.67 cm, not 4.5 cm. So 350 x 467 is a 3:4 shape (350 / 467 = 0.75), slightly taller than 35 x 45 mm (0.78).

If you crop at 35:45 and then force the result to 350 x 467, the face gets stretched vertically by about 4 percent (467 / 450 = 1.038). That is small, but it is avoidable: use the free crop mode to crop a little taller, then resize to 350 x 467 with “Keep aspect ratio” unticked. When a portal gives pixels, the pixels win.

Which mistakes get resized photos rejected?

  • Resizing without cropping. Typing 3.5 x 4.5 cm into a resizer with “Keep aspect ratio” off distorts a 3:4 phone photo. Crop to the shape first.
  • Confusing width and height. Most rules give width first (35 x 45 mm), but NADRA writes height first (45 mm high by 35 mm wide). Read the words, not just the numbers.
  • Upsizing a tiny photo. Turning a 200 x 200 image into 827 x 1063 makes it bigger, not sharper. Start from the original camera photo.
  • Compressing too hard. For a 100 KB limit, aim for 90 to 95 KB, not 15 KB. The Saudi eVisa also sets a minimum of 5 KB.
  • Printing at “fit to page”. The passport tool’s own note says to print at actual size (100%). Fit to page changes the cm size.
  • Trusting old rules. Photo specs change. Check the official page or the note next to the file field on the day you apply.

What should you do next?

Find the exact rule for your form: cm, pixels, KB, or a mix. If it is cm, multiply by 300 and divide by 2.54, or let the photo resize tool do it. If it is pixels, use them as they are. Then compress to just under the KB limit. For a full walk-through of KB limits on Saudi and UAE portals, see our guide on reducing a photo to under 200KB.

Frequently asked questions

How many pixels is a 3.5 x 4.5 cm photo?

It depends on the DPI. At 300 DPI, the usual print resolution, it is 413 x 531 pixels. At 600 DPI it is 827 x 1063 pixels. Use the formula pixels = cm x DPI / 2.54.

What DPI should I use for a passport or visa photo?

For printing, 300 DPI is the usual choice. For online forms, follow the pixel size the portal states, because the portal checks pixels and kilobytes. If an official page gives a DPI range, such as 200 to 300 DPI, stay inside it.

Can I just change the DPI number to make a photo bigger in cm?

Changing only the DPI tag does not add detail. What counts is the number of pixels. A small photo printed at 300 DPI comes out small; to print 3.5 x 4.5 cm sharply you need roughly 413 x 531 pixels or more.

Is my photo uploaded when I resize it on Free Adawat?

No. The resize, passport photo and compress tools run in your browser, so the file stays on your device. The site uses no tracking cookies.

Related tools

Sources