How to compress a photo to 20 KB, 50 KB or 100 KB
Published . Last reviewed .
In short:A photo's file size depends mostly on how many pixels it has and how hard JPEG compresses them. Crop and resize to the size the form needs, then let a target-size compressor pick the highest quality that fits.
The quick method
Open the photo in Image Compressor, tap 20 KB, 50 KB or 100 KB (or type another size) and download. The tool keeps the highest JPG quality that fits, and if even a low quality is too large, it reduces the pixel size in steps until the file fits. It counts 1 KB as 1,000 bytes, so the result also passes forms that count 1,024 bytes per KB.
That works for most photos. You get a better-looking result, though, if you first crop away what the form does not need and resize the photo to the dimensions it asks for. The reasons are in the numbers below.
What decides a photo’s file size
Two things matter most.
Pixel count. A photo is a grid of pixels, and each colour pixel holds three values: red, green and blue, one byte each. A 12-megapixel phone photo (4032 × 3024) has 12,192,768 pixels, so about 36.6 MB of raw data.
JPEG compression. JPEG, the format almost every camera and form uses, divides the picture into small blocks of 8 × 8 pixels and stores a simplified version of each one, dropping fine detail the eye is unlikely to notice. The Library of Congress format description for JPEG calls this lossy compression, “variable and governed by a number of parameters”, and gives typical reductions of 10:1 to 20:1 at common settings. The quality slider in an image app is the main one of those parameters: lower quality means more detail dropped and a smaller file.
A third factor is the picture itself. A plain wall behind a face compresses far better than leaves, gravel or patterned clothing, because there is less detail to keep. A neat signature on white paper compresses better still.
Worked numbers
Using the 10:1 to 20:1 range as a rough guide, here is what typical photo sizes come to:
| Pixels | Raw colour | JPEG, rough range |
|---|---|---|
| 4032 × 3024 | 36.6 MB | 1.8 to 3.7 MB |
| 1200 × 1600 | 5.76 MB | 288 to 576 KB |
| 600 × 800 | 1.44 MB | 72 to 144 KB |
| 200 × 230 | 138 KB | 7 to 14 KB |
The arithmetic for the second row: 1,200 × 1,600 = 1,920,000 pixels, × 3 bytes = 5,760,000 bytes. Divided by 20 that is 288,000 bytes; divided by 10, 576,000.
Two useful conclusions follow.
First, a full-resolution phone photo cannot reach 50 KB by lowering quality alone without falling apart. You need far fewer pixels. To land near 100 KB at around 10:1, the photo needs about 100,000 × 10 ÷ 3 ≈ 333,000 pixels, for example 500 × 667. At a stronger 20:1 it could keep about 667,000 pixels, roughly 707 × 943.
Second, a small form photo such as 200 × 230 pixels may come out below a minimum. The IBPS and SBI notices, for example, ask for 20-50 KB at that size, and the table suggests a normal JPEG of 200 × 230 is only 7 to 14 KB. In that case use a high quality setting. Tools made for exam forms handle this directly, as described below.
These ranges are estimates, not promises. Your photo’s real size depends on its content and the encoder.
Step by step
1. Find the target
Read the form’s instructions. Note three things: the file size range (for example 20-50 KB), the pixel or centimetre size if given, and the format (most Indian forms want JPG). If there is a minimum, write that down too. Check your form’s notice; requirements differ between forms and change between years.
2. Crop to what matters
Use Image Cropper to remove background you do not need. For a profile or ID-style photo, frame the head and shoulders. Cropping removes pixels without changing the rest, so the file gets smaller and the face takes up more of the picture, which many forms require. The 4:5 and 1:1 presets suit most portrait uploads.
3. Resize to the requested dimensions
If the form gives a pixel size, set it in Image Resizer. If it gives centimetres, enter centimetres and a DPI; the tool works out the pixels (3.5 × 4.5 cm at 300 DPI is 413 × 531 pixels) and writes the DPI into the JPG. Keep the aspect ratio locked unless you want the picture stretched.
Image Resizer also has a file size limit option: tick it, type the KB, and it lowers only the quality, never the pixel size, until the file fits. That is useful when the form fixes the dimensions exactly.
4. Compress to the target
If the form does not fix the dimensions, Image Compressor is simpler: tap the target size and it decides both quality and, if needed, pixel size. Each result line shows the size reached in bytes, the quality used and the final pixel size, so you can see what it had to give up. If an image cannot reach the size, it tells you and shows the closest result.
5. For exam and government forms, use a preset
The Exam Photo & Signature Resizer combines all three steps for Indian recruitment forms. You pick the exam and upload type, frame the picture, and it produces the exact pixel size at the highest quality inside the permitted KB window. If a clean signature is still under the minimum at top quality, it can add hidden filler bytes to reach the floor, and says how many it added.
Mistakes that cost quality
- Compressing again and again. Each JPEG save loses a little more detail. Start from the original photo each time, not from the last compressed copy.
- Enlarging a small image. Making a photo bigger adds pixels but no detail, and the file grows. Resize down, not up.
- Saving a PNG for a photo. PNG keeps every pixel exactly, which is good for screenshots and logos but makes photos several times larger than JPG. Most forms want JPG anyway.
- Squeezing a large photo into 20 KB with quality alone. The result goes blocky. Reduce the pixel size first.
- Forgetting transparent areas. JPG has no transparency, so transparent parts of a PNG become white (or another fill colour) when saved as JPG.
Checking the result
Open the compressed photo at full size before uploading. Faces should be clear, without blocky patches around the eyes and hairline; text in a scanned certificate should be readable. Then check the size in bytes in your file manager. If it is right at the edge of the limit, go a few KB lower to allow for forms that count kilobytes differently.
Photos you open in these tools are processed in your browser and are not uploaded to DoItJag.
Sources
- Library of Congress, Sustainability of Digital Formats: JPEG Image Encoding Family (checked 23 November 2026)
- Library of Congress, Sustainability of Digital Formats: JFIF, JPEG File Interchange Format, Version 1.02 (checked 23 November 2026)
Rules and rates change. Check the current notice or official page before you rely on a figure here. This guide is general information, not legal, tax or financial advice. Spotted a mistake? See our editorial and corrections policy.