Passport photo size calculator

Photo rules are written in millimetres or inches, upload forms ask for pixels, and printers work in dots per inch. This page converts between the three and lists the print size of ten common passport and visa photos. Everything runs in your browser, nothing is uploaded.

Formula: pixels = millimetres / 25.4 x dpi, rounded to the nearest pixel. At 300 dpi a 2 x 2 inch photo is 600 x 600 pixels and a 35 x 45 mm photo is 413 x 531 pixels.

Reference table

DocumentPrint sizePixels at 300 dpiPixels at 600 dpiHead size ruleBackgroundOfficial source

Some authorities ask for more pixels than the 300 dpi figure when the photo is uploaded: the US online passport renewal asks for at least 1200 x 1200, the UK online application for at least 600 x 750. The US visa (DS-160) and Diversity Visa forms cap the file at 240 kB. Always read the linked official page before you apply, rules change.

From numbers to a finished photo

This calculator only does the arithmetic. If you want the cropping done for you, passportphoto2x2.com frames a photo from your phone to the head-size rule of each document above and shows a free watermarked preview (the final file is a paid download, USD 7.99). It is a private service, not a government site. Its guides go further on single questions: passport photo size in pixels, 35 x 45 mm in pixels, printing passport photos on a 4 x 6 sheet.

The US Department of State also offers a free cropping tool on travel.state.gov for US passport photos.