How Many Pixels Is a 35 × 45 mm Photo? Converting mm to Pixels

ToolsPedia Oct 05, 2026 Tutorials
35 × 45 mm Photo Size in Pixels: mm to Pixels Guide

Most online forms don't ask for a photo "in centimetres". They ask for a file: a certain number of pixels, under a certain number of kilobytes. The print shop, on the other hand, talks in millimetres. That gap is where most rejected uploads come from. This guide shows how to turn any physical photo size into exact pixel dimensions, using the 35 × 45 mm size used for UK passports and Schengen visas as the worked example. (US passports use 2 × 2 inches; the same method works, and the numbers are in the table below.)

The one formula you need

Pixels and millimetres are connected by resolution, measured in DPI (dots per inch). One inch is exactly 25.4 mm, so:

pixels = (millimetres ÷ 25.4) × DPI

For printing, 300 DPI is the standard target: at normal viewing distance, the eye can't pick out individual pixels at that density. For a 35 × 45 mm photo at 300 DPI:

  • Width: 35 ÷ 25.4 × 300 = 413.4, so 413 pixels
  • Height: 45 ÷ 25.4 × 300 = 531.5, so 531 or 532 pixels

The half-pixel at the end is why you'll see both 413 × 531 and 413 × 532 quoted online. Either is fine; no system rejects a photo over one pixel. If you want extra sharpness for printing, double the DPI to 600 and you get 827 × 1063 pixels.

Common photo sizes in pixels

Here are the numbers worked out for the sizes people ask about most. Sizes are the commonly published ones; always check the latest rules from the office you are applying to, because requirements do change.

Photo sizeTypically used forAt 300 DPIAt 600 DPI
35 × 45 mmUK and Irish passports, Schengen and most EU visas413 × 531 px827 × 1063 px
2 × 2 in (51 × 51 mm)US passport and visa600 × 600 px1200 × 1200 px
50 × 70 mmCanadian passport591 × 827 px1181 × 1654 px
33 × 48 mmChina visa390 × 567 px780 × 1134 px
4 × 6 inStandard photo print1200 × 1800 px2400 × 3600 px
A4 (210 × 297 mm)Full-page print, documents2480 × 3508 px4961 × 7016 px

If your size isn't in the table, use the formula above, or convert millimetres to inches first with the Length Converter and multiply by your DPI.

Worked example: phone photo to 35 × 45 mm

Say you took a photo on your phone against a plain white wall. A typical portrait phone photo is 3000 × 4000 pixels. Here is how to turn it into an upload-ready passport-size file.

Step 1: Crop to the right shape first

A 35 × 45 mm photo has an aspect ratio of 35:45, which simplifies to 7:9. Your phone photo is 3:4, which is a different shape. If you resize straight away, the face gets squashed. Crop first.

The crop must keep the 7:9 ratio. Using the full 3000-pixel width would need a height of 3000 × 45 ÷ 35 = 3857 pixels. That fits inside 4000, but it leaves the head far too small. Passport rules usually want the head to fill most of the frame (roughly 70–80% of the height), so crop tighter around the face. A crop of 1400 × 1800 pixels keeps the exact 7:9 ratio (1400 ÷ 1800 = 0.778, the same as 35 ÷ 45) and frames head and shoulders well on a typical phone shot.

Open the Image Crop Tool, enter Width 1400 and Height 1800, then adjust the X and Y values until the face is centred with a little space above the hair. Download the crop.

Step 2: Resize to exact pixels

Now scale the 1400 × 1800 crop down to 413 × 531. Because both have the same 7:9 shape, nothing gets stretched. In the Image Resizer, type 413 in Width (px) and 531 in Height (px), choose JPEG as the format, and download.

Step 3: Check the file size in KB

Pixel dimensions and file size are two different limits, and forms often have both. An uncompressed 413 × 531 colour image holds 413 × 531 × 3 = 657,909 bytes, about 642 KB. JPEG compression shrinks that a lot, but how much depends on the photo: a plain background compresses far better than a busy one.

If the form says something like "maximum 50 KB" or "maximum 20 KB", run the resized file through the Image Compressor and set a target size. Always compress last: if you compress first and resize afterwards, the resize step re-encodes the image and the file size changes again.

Does the DPI setting inside the file matter?

Every JPEG carries a DPI value in its metadata, often 72 or 96. People worry that a "72 DPI" file will be rejected. For screens and online forms, it almost never matters: the website reads the pixel dimensions, not the DPI tag. A 413 × 531 photo is the same image whether its metadata says 72 or 300.

The DPI tag only matters when you print without telling the printer the physical size. At 72 DPI, the printer would make that same 413-pixel-wide photo 145 mm wide. If you're printing at home, set the print size to 35 × 45 mm in the print dialog and the DPI tag stops mattering. To see what a file currently says, open it in the Image DPI Checker. Our guide on checking image DPI explains the difference in more detail.

Mistakes that get photos rejected

  • Resizing without cropping. Forcing a 3:4 photo into 7:9 squeezes the face sideways. Officials notice.
  • Upscaling a tiny image. Turning a 200 × 260 pixel crop into 413 × 531 just enlarges the blur. Start from the original photo, not a WhatsApp copy, which is already compressed.
  • Compressing too hard. Squeezing a photo to 10 KB when the limit is 50 KB adds blocky artefacts around the face. Aim just under the limit, not far below it.
  • Ignoring the background. A grey or shadowed wall can fail an automatic check even if the size is perfect.
  • Using a filter or beauty mode. Many phones smooth skin automatically. Passport photos must not be retouched.

Doing it yourself vs other options

A photo studio will print and supply a digital file for a small fee, and that's the safest route when you're unsure about the rules or need prints anyway. Dedicated passport-photo apps can also auto-crop to the head-size rules, which is handy, though many charge to download the final file. Doing it yourself with a crop tool and a resizer is free and gives you full control, but you're responsible for framing the head correctly. If a form gives you a live preview or a validation message after upload, use it before you submit.

If your target is a file-size limit rather than exact pixels, our guides to compressing an image to 50 KB and compressing to 100 KB walk through that side of the problem.

Quick reference

  1. Find the required size in mm and any KB limit on the form.
  2. Work out pixels: mm ÷ 25.4 × 300.
  3. Crop the original photo to the same aspect ratio, face well centred.
  4. Resize to the exact pixel dimensions, saving as JPEG.
  5. Compress last, and only as much as the KB limit requires.

Frequently Asked Questions

At 300 DPI, a 35 × 45 mm photo is 413 × 531 pixels (some sites round the height to 532). At 600 DPI it is 827 × 1063 pixels.

A 2 × 2 inch photo, the US passport size, is 600 × 600 pixels at 300 DPI and 1200 × 1200 pixels at 600 DPI.

Divide the millimetres by 25.4 to get inches, then multiply by the DPI. For example, 35 mm at 300 DPI is 35 ÷ 25.4 × 300 = 413 pixels.

Usually not. Online forms check the pixel dimensions and file size, not the DPI value stored in the file. DPI only matters when printing without setting the print size.

Crop first to the right aspect ratio (7:9 for 35 × 45 mm), then resize to the exact pixels, and compress last if the form has a KB limit.