A typical upload rule says something like “JPG, 20 to 50 KB, 3.5 by 4.5 cm”. That is three different measurements in one sentence, and they are easy to mix up. Once you know what each one controls, fixing a rejected photo becomes much easier.
File size: KB and MB
File size is how much storage the file takes. KB means kilobytes and MB means megabytes. Roughly, 1 MB is about 1,000 KB. A modern phone photo is often 2 to 6 MB, which is far too big for a form that allows 50 KB. File size is what compressing changes.
One small trap: some systems count 1 KB as 1,000 bytes and others as 1,024 bytes. Windows shows 1,024. A portal may count differently from your computer. If your file sits just under the limit on your computer, a stricter portal could still refuse it, so leave a little margin. Our tools stay under the limit using the stricter count.
Pixels: the width and height of the picture
Pixels are the tiny dots that make up a picture. A rule such as “200 by 230 pixels” means the image is 200 dots wide and 230 high. Pixel size and file size are different things. A picture can have few pixels and still be a big file, or many pixels and a small file, depending on how complex the picture is and how strongly it is compressed.
This is why shrinking the pixels is one way to reduce the file size, but not the only way. You can also keep the pixels and lower the quality.
Centimetres: a printed size, not a file measurement
Centimetres describe how large something is when printed. A screen has no centimetres, so a form that asks for 3.5 by 4.5 cm is really asking for a certain number of pixels, based on a print resolution called DPI (dots per inch). To convert, use this:
pixels = centimetres ÷ 2.54 × DPI
Using that, here are some common sizes:
| Size | At 200 DPI | At 300 DPI |
|---|---|---|
| 3.5 × 4.5 cm (passport photo) | about 276 × 354 px | about 413 × 531 px |
| 4.0 × 2.0 cm (signature) | about 315 × 157 px | about 472 × 236 px |
| 3.5 × 1.5 cm (signature) | about 276 × 118 px | about 413 × 177 px |
These are approximate because centimetres do not map to whole pixels exactly. If your form lists only centimetres, either row can be fine, and your notice may state which DPI it assumes. If it states pixels as well, follow the pixels.
Why a “small” file can still be rejected
A file can pass the KB limit and still fail on pixel size, because the two are checked separately. A 30 KB image that is 1,000 pixels wide fails a rule that asks for 200 pixels wide. Likewise, a correctly sized picture can fail the KB limit if it is too detailed. You usually need to satisfy both.
Why a file can be too small
Some rules also set a minimum, such as 10 KB. A plain signature on white at a tiny pixel size is naturally a very small file, and it may fall below that minimum even at the best quality. This is normal for such small images. If a form rejects it, scan at a higher resolution, and check whether the minimum really applies to that pixel size.
How to hit the numbers
- Crop the picture to the right shape first.
- Resize to the pixel size, if the rule has one.
- Compress to the KB range.
- Check the result.
You can do all four steps in your browser without uploading the file. Use our compress to KB tool to set any KB limit and any pixel size, or open the exam photo and signature pages for ready-made rules and a pass or fail check.
Always keep your original photo, and resize from it each time instead of re-shrinking a copy.