Image size requirements for online forms, explained

Pixels, millimetres, kilobytes and DPI all describe different things — and forms mix them freely. Here is how to translate a requirement into something you can actually produce.

Published Updated 5 min read

Three different measurements that forms often confuse with one another.

Upload requirements come in three unrelated units and forms rarely explain which one matters. Pixel dimensions describe how much information the image contains. Millimetres describe how big it prints. Kilobytes describe how much disk space the file occupies. You can change any one of them without necessarily changing the others.

Translating millimetres into pixels

DPI is the bridge. Pixels = millimetres ÷ 25.4 × DPI. At the 300 DPI most document standards assume, a 35×45 mm passport photo is 413×531 pixels, and a 2×2 inch photo is 600×600. If a form asks for 600 DPI, double those numbers — the aspect ratio is unchanged, there is simply more detail.

RequirementPixels at 300 DPITypical use
35 × 45 mm413 × 531UK, Schengen and many Asian passport photos
2 × 2 in (51 × 51 mm)600 × 600US and Indian passport and visa photos
50 × 70 mm590 × 826Canadian passport photos
A4 document scan2480 × 3508Certificates and marksheets

When a form gives both pixels and kilobytes

Set the dimensions first, then compress. Doing it the other way round wastes effort: resizing after compressing re-encodes an already-degraded image, and the resize usually pushes you back under the limit anyway. Once an image is only a few hundred pixels across, hitting 20 KB or 50 KB is rarely difficult.

Documents behave differently from photos

Lossy compression damages sharp edges first, which means text degrades long before a face does. For scanned certificates and marksheets, keep more headroom: aim for 150–250 KB rather than pushing to the absolute floor, and reduce the resolution instead of the quality wherever you can. Converting a genuinely black-and-white document to grayscale also helps, as long as no coloured stamp or signature is doing legal work.

A note on privacy

These files are usually identity documents. Every TryImager tool processes images entirely in your browser — no upload, no storage, nothing left behind when you close the tab — which is worth insisting on wherever you end up doing this.

Tools for this