Convert mm to pixels

Type a size in millimetres and see how many pixels it is at your DPI. Handy for passport and ID photos, which are given in millimetres. The calculator links to the free image resizer, so you can make the picture exactly that size.

Convert a size

300 DPI is the usual value for print. Screens use 72 or 96.

Result

Type a size to see the result.

Common sizes in pixels at 300 DPI

SizeWidth × heightPixels
35 × 45 mm
2 × 2 in
4 × 6 in
5 × 7 in
210 × 297 mm
148 × 210 mm
8.5 × 11 in
3.5 × 2 in

How to use it

  1. Enter the size in mm

    Type the width, and the height if you need it. The unit is already set to millimetres.

  2. Choose the DPI

    Use 300 for print, 96 for a screen, or any number the form asks for. The result changes as you type.

  3. Read the pixels and resize

    Copy the result, or open the image resizer and enter the pixels to make your picture that size.

How to convert mm to pixels

The formula is pixels = millimetres ÷ 25.4 × DPI, because one inch is 25.4 millimetres. At 300 DPI one millimetre is about 11.8 pixels, at 96 DPI about 3.8 pixels, and at 72 DPI about 2.8 pixels.

An A4 sheet of 210 × 297 mm is 2480 × 3508 pixels at 300 DPI. The converter rounds pixels to whole numbers, because a picture cannot have a part of a pixel.

Tips for converting mm to pixels

  • A passport photo of 35 × 45 mm is 413 × 531 pixels at 300 DPI.
  • A picture has no size in millimetres until it is printed. The DPI decides how many pixels fit into one millimetre.
  • Use 300 DPI for a sharp print, and 72 or 96 DPI for pictures that are only shown on a screen.
  • Type both width and height to get both sides at once. Use the swap button to convert pixels to millimetres.

Frequently asked questions

How many pixels is 1 mm?

At 300 DPI, 1 mm is about 11.8 pixels. At 96 DPI it is about 3.8 pixels, and at 72 DPI about 2.8 pixels.

How many pixels is a 35x45 mm photo?

At 300 DPI a 35 × 45 mm passport photo is 413 × 531 pixels.

Which DPI should I use?

Use 300 for printing and passport or ID photos, and 72 or 96 for pictures that are only shown on a screen.

Does the DPI change my picture?

No. The DPI only decides how big the picture is when it is printed. Resize the picture itself with the image resizer.