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.
By Ranjith R, Creator & Developer of TryImagerPublished Last updated: 7 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 |
| 35 × 45 mm at 200 DPI | 276 × 354 | Indian recruitment and exam portals (SSC, UPSC) |
| 60 × 20 mm at 200 DPI | 472 × 157 | Wide signature upload boxes on application forms |
| 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.
Troubleshooting 'File is smaller than the minimum KB'
Many government and exam portals enforce both a ceiling and a floor — for example, 20 KB to 50 KB for a headshot or 10 KB to 20 KB for a signature. A clean signature on white paper at 140×60 pixels often compresses down to 4–6 KB at default JPEG quality and gets rejected as too small. When that happens, raise the JPEG quality slider toward 92–98% or increase the pixel dimensions within the portal's permitted range rather than adding visual noise.
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.
What an image resizer cannot verify for you
- Background colour and lighting — portals that require a plain white background or no glasses check the content of the photo, which resizing does not alter.
- Head-to-frame ratio — biometric passport rules require the crown-to-chin height to occupy a specific percentage of the frame.
- Signature ink rules — if an instruction booklet specifies black ink on unruled white paper in running handwriting (not capital letters), you must start from a compliant pen-and-paper scan.
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.