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.
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 size | Common use | 200 DPI | 300 DPI | 600 DPI |
|---|---|---|---|---|
| 35 × 45 mm (3.5 × 4.5 cm) | Passport-style photos in India, UK, Schengen | 276 × 354 | 413 × 531 | 827 × 1063 |
| 2 × 2 inch (50.8 mm) | US passport and visa, Indian visa | 400 × 400 | 600 × 600 | 1200 × 1200 |
| 51 × 51 mm | Square visa presets | 402 × 402 | 602 × 602 | 1205 × 1205 |
| 25 × 35 mm (2.5 × 3.5 cm) | Stamp-size photos | 197 × 276 | 295 × 413 | 591 × 827 |
| 30 × 40 mm (3 × 4 cm) | Some ID cards and forms | 236 × 315 | 354 × 472 | 709 × 945 |
| 50 × 70 mm (5 × 7 cm) | Larger ID formats | 394 × 551 | 591 × 827 | 1181 × 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.
For a square photo, simply make width and height the same.
Step 2: resize to the exact pixels
_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
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.
Put this guide into practice with our free online tool — no signup required.
Open tool