FitPixelKit
Menu

Resize Image in mm

Many photo rules are written in millimetres. Enter them here with a DPI, and the tool turns your photo into exactly that many pixels.

Drop an image hereJPG, PNG, WebP or GIF, up to 40 MB and 50 megapixels.
Also change dimensions
Crop to fill cuts off the edges. Fit with border keeps the whole image and adds a border. Stretch changes the proportions.
Target file size
Some sites count 1 KB as 1024 bytes and others as 1000. The safe option keeps the file under the stricter of the two.

Choose an image to see the result here.

Your image is processed in this browser and never uploaded. Close the tab and it is gone.

Common sizes in mm and their pixels

Size200 dpi300 dpi600 dpi
20 × 25 mm157 × 197236 × 295472 × 591
30 × 40 mm236 × 315354 × 472709 × 945
35 × 45 mm276 × 354413 × 531827 × 1,063
40 × 60 mm315 × 472472 × 709945 × 1,417
50 × 50 mm394 × 394591 × 5911,181 × 1,181
51 × 51 mm402 × 402602 × 6021,205 × 1,205

To turn millimetres into pixels, divide by 25.4 (millimetres per inch) and multiply by the DPI. 35 mm at 300 dpi is 35 ÷ 25.4 × 300 = 413 pixels.

Rules that say “35 × 45 mm” usually mean width × height. If a rule says “45 × 35 mm”, check whether it lists height first, as the UK passport rules do.

Common questions

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

Yes. 10 millimetres make a centimetre, so they are the same size, and both are 413 × 531 pixels at 300 dpi.

How many pixels is 51 × 51 mm?

602 × 602 pixels at 300 dpi. The 2 × 2 inch size is 50.8 mm exactly, which is 600 × 600 pixels; 51 mm is a rounded figure for it.

Can I enter decimals such as 25.4 mm?

Yes. The pixel result is rounded to the nearest whole pixel.