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
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.
| Requirement | Pixels at 300 DPI | Typical use |
|---|---|---|
| 35 × 45 mm | 413 × 531 | UK, Schengen and many Asian passport photos |
| 2 × 2 in (51 × 51 mm) | 600 × 600 | US and Indian passport and visa photos |
| 50 × 70 mm | 590 × 826 | Canadian passport photos |
| A4 document scan | 2480 × 3508 | Certificates 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
Keep reading
- How to compress an image to 100KB (without it looking terrible)100 KB is the most common upload limit on the web. Here is what actually gets you there, in what order, and where the quality really goes.
- How to reduce image file size without wrecking the pictureMost oversized images are oversized for one boring reason: the dimensions are far larger than anywhere they're displayed. Fix that first, then compress.
- How to prepare images for a website (a checklist that actually gets used)Most site speed problems are image problems. A short, repeatable process fixes the majority of them before an image ever gets uploaded.