An exam portal asks for a photo under 20 KB. Your phone says the picture is 2.4 MB — more than a hundred times too big. Nothing is wrong with the phone or the portal; they are describing the same thing on very different scales. This guide explains what those numbers mean, why camera photos are so heavy, and how to get one down to 20 KB without turning it into a blurry smudge.
What is a kilobyte, exactly?
A kilobyte (KB) is 1,000 bytes, and a megabyte (MB) is 1,000,000 bytes, under the international SI standard. So 20 KB is 20,000 bytes and 2 MB is 2,000,000 bytes — a factor of 100. A byte is one unit of storage; a JPEG photo is just a long sequence of them.
The confusion comes from an older habit. Computers work in powers of two, so for decades software also used "KB" to mean 1,024 bytes. In 1998 the IEC gave that binary unit its own name — the kibibyte (KiB) — precisely so the two would stop being mixed up. Not every device adopted it. Today macOS and iOS report decimal kilobytes, Windows File Explorer still divides by 1,024 but labels the result "KB", and Android file managers vary.
| Bytes on disk | Decimal (KB, 1,000) | Binary (KiB, 1,024) |
|---|---|---|
| 20,000 | 20.0 KB | 19.5 KiB |
| 20,480 | 20.5 KB | 20.0 KiB |
| 51,200 | 51.2 KB | 50.0 KiB |
| 2,400,000 | 2.4 MB | 2.29 MiB |
Which kilobyte does a form count?
Most upload checks compare the file's byte count against a limit, but notices rarely say whether "20 KB" means 20,000 or 20,480 bytes. The safe rule: stay under the maximum counted in decimal, and over any minimum counted in binary. A file that satisfies both passes whichever way the portal counts.
In practice that means aiming for roughly 19 KB when the limit is 20 KB, and a little over 10.24 KB when the minimum is 10 KB. FlowVid's Compress Image to 20KB and the other target-size tools do exactly this: the maximum is treated as 1,000-byte kilobytes, and the exam resizers pad files up to any minimum using 1,024-byte kilobytes. If you are unsure what your file really weighs, the photo size checker shows the exact byte count alongside pixels and format.
Why is a phone photo 2 MB or more?
A phone photo is big because it holds a lot of pixels. A 12-megapixel camera saves about 4000 × 3000 = 12 million pixels, each with red, green and blue values. Uncompressed that is around 36 MB; JPEG compression already squeezes it roughly ten-fold, which is how you end up with 2–5 MB.
Newer phones with 48, 50 or 200-megapixel sensors usually combine pixels into a 12-megapixel image by default, but switch to the high-resolution mode and files of 8–20 MB are normal. Screenshots saved as PNG are big for a different reason: PNG is lossless, so it never throws detail away. And iPhones often save HEIC, which is smaller than JPEG but rejected by most Indian portals.
| Image | Pixels | Uncompressed | Typical JPEG |
|---|---|---|---|
| 12 MP phone photo | 4000 × 3000 | ~36 MB | 2–5 MB |
| Resized to 1200 px wide | 1200 × 900 | ~3.2 MB | 150–350 KB |
| Exam photo size (IBPS/SBI) | 200 × 230 | ~138 KB | 8–25 KB |
| Signature (140 × 60) | 140 × 60 | ~25 KB | 3–8 KB |
What does compression actually throw away?
JPEG compression discards fine detail your eyes are least likely to notice: subtle colour variation and tiny texture between neighbouring pixels. At quality 75–90 the loss is invisible at normal size. Push quality very low and you see the cost — blocky squares, smeared skin, halos around hair and text.
The key point is that there are two ways to make a file smaller, and they are not equal. Fewer pixels removes information nobody will see anyway: a portal displays your photo at a couple of hundred pixels wide, so the other 3,800 columns are wasted. Harder compression removes detail from the pixels that remain. Forcing a 4000 × 3000 photo to 20 KB by compression alone needs a quality setting so low the face turns to mush. Resizing first leaves the compressor plenty of room.
How to get a photo to 20 KB without blur
Resize to the pixel size the form asks for, crop to the face, then compress to just under the limit. At 200 × 230 pixels a well-lit passport-style photo usually fits under 20 KB at a high quality setting, so the result stays sharp. Skip the resize and the same target means visible blockiness.
- Start from the original camera file, not a WhatsApp-forwarded copy — every lossy re-save stacks damage.
- Crop to head and shoulders. Background pixels cost bytes too, and portals want the face to fill most of the frame anyway.
- Resize to the form's pixels — e.g. 200 × 230 for IBPS and SBI. If the form gives only a KB limit, around 400–600 px on the long side is plenty.
- Compress to the target with Compress Image to 20KB, or to 50KB if that is your limit. For any other number, use Compress to Custom Size.
- Check the result — format, pixels and bytes — before you upload.
When the file is too small instead
Some forms set a minimum as well as a maximum — 10, 20 or 30 KB is common for signatures. A clean scan can come out at 5 KB and be refused. The fix is not a bigger photo: save the same image with less compression, or pad it, until it clears the floor.
The exam pages on this site do that automatically. For any other file, Increase Image Size in KB raises the byte count without changing how the image looks. For the full list of reasons a correct-looking file still fails, see why your exam photo keeps getting rejected, and for how pixels, centimetres and DPI fit together, read how image size actually works.
Frequently asked questions
- Is 20 KB the same as 0.02 MB?
- Yes, in decimal units: 20 KB is 20,000 bytes and 0.02 MB is also 20,000 bytes. In binary units 20 KiB is 20,480 bytes, which is about 0.0195 MiB. The difference only matters right at the limit.
- Why does my phone say 20 KB but the portal says the file is too big?
- Either the phone rounds (19.96 KB shows as 20 KB) or the two count kilobytes differently. Compress to about 19 KB for a 20 KB limit and it passes either way.
- How many pixels fit in 20 KB?
- There is no fixed number — it depends on detail and quality. As a guide, a 200 × 230 portrait on a plain background usually fits comfortably at good quality, while a 1000-pixel photo needs very heavy compression to get there.
- Can I reduce a 2 MB photo to 20 KB without losing quality?
- Not without losing pixels — but you lose pixels nobody sees. Resize to the size the form displays, then compress at a high quality setting. The face stays sharp at the size the portal shows it.