LegiPhoto

Photo size calculator: mm, pixels and dpi

An online form often asks for pixels, while an office or print shop asks for millimetres. This calculator converts one into the other at the dpi you choose, and below you will find ready values for the most common documents. It runs in your browser and sends nothing anywhere.

Crop your photo to the format No account. Your photo stays in your browser.

Convert a size

Enter the dimensions and dpi - the result appears at once. For print, 300 dpi is the usual choice.

Millimetres → pixels

Result: 413 × 531 px

Pixels → millimetres

Result: 41.7 × 53.6 mm

A cup of coffee with latte art, a smartphone showing the LegiPhoto page, glasses and a fountain pen on a pale yellow background

Did it help? Buy us a coffee

LegiPhoto is free and needs no account. A voluntary coffee helps us keep improving it.

Buy us a coffee

How is it calculated?

An inch is 25.4 mm. Pixels = millimetres ÷ 25.4 × dpi, and millimetres = pixels ÷ dpi × 25.4.

Example: 35 mm at 300 dpi is 35 ÷ 25.4 × 300 ≈ 413 px, and 45 mm is ≈ 531 px.

dpi describes print density. When uploading a file the pixels usually matter, and the requirements on gov.pl are stated in pixels; still, check the recipient’s requirements.

Three people showing document photo prints and phones with portraits

Ready values for documents

Sizes and pixels of each LegiPhoto format. “min.” means a minimum resolution, “typically” a usual value that depends on the recipient, and “~” next to dpi a value derived from pixels and size. Details are on each document’s page.

FormatSizePixelsdpi
Student ID card (ELS)20 × 25 mmtypically 400 × 500 px~508 dpi
ELS - higher resolution20 × 25 mmtypically 500 × 625 px~635 dpi
ELS - ID-card size35 × 45 mmtypically 413 × 531 px300 dpi
School ID card / e-ID35 × 45 mmmin. 492 × 633 px~357 dpi
Engineer’s diploma45 × 65 mm531 × 768 px300 dpi
Master’s diploma45 × 65 mm531 × 768 px300 dpi
Diploma - HD print45 × 65 mm1063 × 1535 px600 dpi
ID card35 × 45 mmmin. 492 × 633 px~357 dpi
Passport35 × 45 mm413 × 531 px300 dpi
Passport - digital file35 × 45 mmmin. 492 × 633 px~357 dpi
Passport online (child under 12)35 × 45 mmmin. 768 × 1004 px~562 dpi
Military ID / WCR35 × 45 mmmin. 492 × 633 px~357 dpi
Military ID - duplicate30 × 40 mm354 × 472 px300 dpi
Driving licence35 × 45 mm480 × 615 px~348 dpi
Schengen visa35 × 45 mm413 × 531 px300 dpi
Biometric HD (print)35 × 45 mm827 × 1063 px600 dpi
US passport / visa51 × 51 mmtypically 600 × 600 px300 dpi
CV / profile40 × 40 mmtypically 800 × 800 px~508 dpi

Crop your photo to the format

Frequently asked questions

Short answers about converting photo sizes.

How many pixels is a 35 × 45 mm photo?

At 300 dpi it is 413 × 531 px, which is a print size. Files for online applications have their own requirements: a Polish ID card online - at least 492 × 633 px (up to 2.5 MB), a passport for a child under 12 online - at least 768 × 1004 px (up to 2.5 MB).

What pixel size is a driving licence photo?

The gov.pl page gives 480 × 615 px for the file, JPEG with an EXIF header (including the capture date), sRGB, file up to 100 KB.

Does dpi matter in a digital file?

When uploading a file online the pixels usually matter, not the dpi, but check the recipient’s requirements. dpi matters in print, because it decides how large the photo will be on paper.

How do I print a photo at its true size?

Use the print sheet in LegiPhoto and print at 100% size, without the “Fit to page” option.

Sources and note

LegiPhoto is an independent tool and is not an official government service. Requirements of offices and universities can change — before you apply or upload the file, confirm dimensions, format and file-size limits with the recipient.

Photos for other documents

Published: · Last updated: