Complete Guide 5 min read

Photo Size in Pixels: 35×45 mm, 2×2 Inch and More at 300 DPI

35×45 mm is 413×531 pixels at 300 DPI and 2×2 inches is 600×600. Chart for common photo sizes at 200, 300 and 600 DPI, plus how to crop and resize to them.

35x45 mm in pixels2x2 inch in pixels3.5 x 4.5 cm photo size in pixelsphoto size in pixels 300 dpimm to pixels

The short answer

To convert a printed photo size to pixels, use pixels = millimetres ÷ 25.4 × DPI. At 300 DPI, which is the usual print-quality setting, a 35 × 45 mm (3.5 × 4.5 cm) photo is 413 × 531 pixels and a 2 × 2 inch photo is 600 × 600 pixels. Crop your photo to the right shape first, then set those numbers in the image resizer.

Pixel chart for common photo sizes

Values are rounded to the nearest whole pixel.

Photo sizeCommon use200 DPI300 DPI600 DPI
35 × 45 mm (3.5 × 4.5 cm)Passport-style photos in India, UK, Schengen276 × 354413 × 531827 × 1063
2 × 2 inch (50.8 mm)US passport and visa, Indian visa400 × 400600 × 6001200 × 1200
51 × 51 mmSquare visa presets402 × 402602 × 6021205 × 1205
25 × 35 mm (2.5 × 3.5 cm)Stamp-size photos197 × 276295 × 413591 × 827
30 × 40 mm (3 × 4 cm)Some ID cards and forms236 × 315354 × 472709 × 945
50 × 70 mm (5 × 7 cm)Larger ID formats394 × 551591 × 8271181 × 1654

The formula, worked through

There are 25.4 mm in an inch, and DPI means dots (pixels) per inch.

  • 35 mm ÷ 25.4 = 1.378 inches; × 300 = 413 px
  • 45 mm ÷ 25.4 = 1.772 inches; × 300 = 531 px
  • 2 inches × 300 = 600 px

If a form gives the size in centimetres, multiply by 10 to get millimetres first: 3.5 cm = 35 mm.

Which DPI should you use?

  • 300 DPI is the standard for printing photos and the safe default.
  • 200 DPI is enough for many online forms that only display the photo on screen, and gives a smaller file.
  • 600 DPI is only useful if a lab or form specifically asks for it. It makes much larger files.

If a form gives an exact pixel size (for example "600 × 600 pixels"), use that and ignore DPI. If it gives a range ("between 350 and 1000 pixels"), any size inside the range is fine.

Does the file need to "be" 300 DPI?

On screen and in online forms, only the pixel dimensions matter. DPI is just an instruction for printing. Images saved by browser tools generally do not carry a reliable DPI value, so when you print, set the print size yourself (for example 3.5 × 4.5 cm). A 413 × 531 pixel image printed at that size is 300 DPI.

How to make a photo exactly 413 × 531 pixels

Resizing a photo straight to 413 × 531 will stretch it unless it already has the right shape. So do it in two steps.

Step 1: crop to the right shape (aspect ratio)

35 × 45 simplifies to 7 : 9. A 2 × 2 inch photo is 1 : 1.

  • Open crop image and upload your photo.
  • Choose a height in pixels that keeps your head and shoulders, then work out the width: width = height × 7 ÷ 9. For example, a crop height of 2700 px needs a width of 2100 px; a height of 1800 px needs 1400 px.
  • Type the Width and Height, then move the box with X and Y so your face is centred.
  • Click Crop Image and Download. The result is a JPEG.
  • For a square photo, simply make width and height the same.

    Step 2: resize to the exact pixels

  • Open the image resizer and upload the cropped photo.
  • With the lock (🔒) on, type 413 in Width (px). Height fills in automatically; with a 7 : 9 crop it should be 531.
  • If height shows 530 or 532 because the crop was a pixel off, click the lock to unlock it and type 531. A one-pixel change is not visible.
  • Leave Quality at the default or lower it a little if you need a smaller file.
  • Click Resize Image and Download. The file is saved as a JPEG ending in _resized.jpg.
  • Easier option for passport and visa photos

    The passport photo maker does both steps at once. Pick a preset (India Passport, Schengen, UK, US, India Visa and others), then zoom and move the photo inside the frame. It outputs the 300 DPI pixel size for that preset, for example 413 × 531 px for 35 × 45 mm.

    If there is also a KB limit

    Pixel size and file size are different things. A 413 × 531 JPEG is usually tens of kilobytes, but forms often set both a pixel size and a KB range. After resizing, check the file size; if it is too big, use compress image to KB with the required target.

    Common mistakes

  • Resizing without cropping first. The face looks squashed or stretched. Why images stretch after resizing explains the fix.
  • Confusing 2 × 2 inch with 5 × 5 cm. They are close but not identical: 2 inches is 50.8 mm. At 300 DPI that is 600 px versus 591 px for 50 mm. Use the unit the form states.
  • Enlarging a tiny photo. Turning a 150-pixel image into 600 pixels does not add detail; it just looks blurry. Start from the original camera photo.
  • Mixing up width and height. For portrait photos, the smaller number is the width.
  • Printing at "fit to page". The photo prints at the wrong size. Set the exact size in the print dialog.
  • For paper sizes rather than photos, see A4 size in cm, inches and pixels.

    Frequently asked questions

    What is 35×45 mm in pixels?

    At 300 DPI, 35 × 45 mm is 413 × 531 pixels. At 200 DPI it is 276 × 354 pixels, and at 600 DPI it is 827 × 1063 pixels.

    How many pixels is a 2×2 inch photo?

    At 300 DPI a 2 × 2 inch photo is 600 × 600 pixels. At 200 DPI it is 400 × 400, and at 600 DPI it is 1200 × 1200.

    How do I convert mm to pixels?

    Divide millimetres by 25.4 to get inches, then multiply by the DPI. For example, 45 mm ÷ 25.4 × 300 = 531 pixels.

    Is 3.5 × 4.5 cm the same as 35 × 45 mm?

    Yes. 3.5 cm is 35 mm and 4.5 cm is 45 mm, so both mean 413 × 531 pixels at 300 DPI.

    Why does my photo look stretched after resizing to 413×531?

    The original was not in a 7:9 shape. Crop it to a 7:9 ratio first (for example 1400 × 1800 pixels), then resize to 413 × 531.

    Try this tool on Lazyblink

    Put this guide into practice with our free online tool — no signup required.

    Open tool