1. Why Exam Portals Have Strict KB Size Requirements
Every competitive examination portal in India — from UPSC to IBPS to state PSC systems — maintains central servers that store millions of candidate photographs and signatures. These servers have storage budgets, database record size limits, and network bandwidth constraints. A portal that receives 1 million applications and each applicant uploads a 5 MB photo would require 5 TB of storage just for photos. By limiting photo uploads to 50 KB, the same 1 million applications require only 50 GB of photo storage — a 100x reduction that significantly impacts server costs and performance.
The lower KB limit (for example, the "minimum 20 KB" rule on SSC portals) exists to ensure that submitted photos have sufficient image data. A 5 KB photo has been so aggressively compressed that facial features become pixelated and unrecognizable, making identity verification impossible. The floor limit prevents applicants from submitting low-quality, unusable images while the ceiling limit controls storage costs and upload performance.
Understanding these dual constraints is important because you must achieve a specific target range, not just any size reduction. A photo that is 18 KB will be rejected as too small on an SSC portal with a 20 KB minimum, just as surely as a 60 KB photo will be rejected as too large on a 50 KB maximum portal.
2. The Challenge: Why a Quality Slider Does Not Give Predictable KB
Many image editing tools offer a "quality" slider when saving JPG files, with values from 1% to 100%. The problem is that the same quality setting produces dramatically different file sizes for different source images. A simple, flat background with a centered face might produce a 30 KB file at 75% quality, while a busy background with many textures might produce a 120 KB file at the same 75% quality setting, because JPG compression is more efficient on simple images.
This unpredictability makes the quality slider useless for targeting a specific KB range. You would need to try multiple quality values, check the output file size each time, and repeat until you land in the acceptable range — a tedious manual process. Iterative compression automation solves this problem by doing the trial-and-error process programmatically until the target KB range is achieved.
3. How Iterative Compression Works
Iterative compression uses a binary search algorithm applied to the JPEG quality parameter. The process works as follows:
- Start with a quality value in the middle range (for example, 75%)
- Compress the image at that quality and measure the output file size in bytes
- If the output is too large, reduce quality (try 60%); if too small, increase quality (try 87%)
- Repeat with narrowing quality ranges until the output file size falls within the target KB range
- Return the output image at the quality that achieves the target
This process runs in milliseconds on modern devices and reliably hits any KB target without manual intervention. The Compress Image by Size tool implements this algorithm — you simply enter your minimum and maximum KB values and the tool handles everything automatically.
4. Size Requirements Across Major Indian Exams
| Exam / Portal | Photo Size Limit | Photo Dimensions | Signature Size Limit | Signature Dimensions | Format |
|---|---|---|---|---|---|
| UPSC CSE / IFS | 20–300 KB | Passport size (35×45 mm) | 10–40 KB | 7×2 cm approximately | JPG |
| SSC CGL / CHSL | 20–50 KB | 200×250 px (3.5×4.5 cm) | 10–20 KB | 140×60 px | JPG |
| IBPS PO / Clerk / SO | 20–50 KB | 200×230 px | 10–20 KB | 140×60 px | JPG |
| RRB NTPC / Group D | 20–100 KB | 132×170 px | 10–40 KB | 140×60 px (approx) | JPG |
| NDA / CDS / CAPF | 10–100 KB | Passport size | 10–100 KB | Handwritten on white | JPG |
| NEET UG / PG | 10–200 KB | 200×250 px | 10–100 KB | 200×80 px | JPG |
| SBI PO / Clerk | 20–50 KB | 200×230 px | 10–20 KB | 140×60 px | JPG |
| State PSC (general) | 10–100 KB | Varies by state | 10–50 KB | Varies by state | JPG |
5. Step-by-Step: Compress Your Photo to Target KB
Using the Compress Image by Size tool, achieving your target KB range takes about 30 seconds:
- First, ensure correct pixel dimensions: Before compressing, resize your photo to the exact pixel dimensions required by your portal using the Resize Image Pixels tool. For IBPS, this is 200×230 px; for SSC, it is 200×250 px. Compressing before resizing can produce a photo that is within the KB range but at the wrong dimensions.
- Open the Compress Image by Size tool: Navigate to Compress Image Size. No login required.
- Upload your photo: Select the passport-size JPG photo from your device.
- Enter your KB target range: Set the minimum KB (for example, 20 KB) and maximum KB (for example, 50 KB) as specified in the exam notification.
- Compress: Click Compress. The tool runs the iterative algorithm and produces an output photo within your specified range.
- Download and verify: Download the output image. Right-click it and check the file properties to confirm the file size is within your target range.
- Upload to the exam portal: The photo is now within the required KB range and at the correct pixel dimensions — ready for upload.
6. What to Do When the Photo is Already Too Small
Occasionally, applicants face the opposite problem: their source photo is already below the portal's minimum KB requirement. This happens when the photo was previously compressed or saved at very low quality from WhatsApp or a social media download. You cannot increase the file size of an already-compressed photo without re-encoding it at higher quality or enlarging its pixel dimensions — and neither approach can restore detail that was lost in the original compression.
The solution is to obtain a fresh, high-quality source photo. Take a new photo in good lighting using your phone's camera at its default (full) resolution settings. Transfer it directly from your phone's storage rather than downloading from WhatsApp. A fresh, uncompressed photo from a smartphone camera will typically be several hundred kilobytes, well above any minimum KB requirement, and can then be compressed down to the target range.
7. Signature Compression: Same Process, Smaller Targets
Signature uploads follow the same process as photo uploads but with even tighter constraints. Most exam portals require signatures in the 10–20 KB range, which is quite small. Here is how to prepare a signature correctly:
- Sign your name on plain white paper in blue or black ink using a consistent, medium-weight pen. Avoid very thin ball-point pens — they produce signatures that are hard to read when compressed.
- Photograph the signature in bright, even light. The paper should appear pure white and the ink should appear pure black or dark blue with no grey halftones.
- Crop the photo tightly to the signature area, removing all surrounding white space, as this reduces the file size significantly.
- Use the Resize Image Pixels tool to resize to the required dimensions (commonly 140×60 px for IBPS and SSC).
- Use the Compress Image by Size tool to compress to the 10–20 KB target range.
8. Tips for Taking a Better Source Photo
The quality of your source photograph directly determines how well compression can work. A good source photo compresses more efficiently while retaining better facial clarity at low KB values:
- Use a plain, light-coloured background: Solid white or cream backgrounds have less image complexity than patterned walls, allowing JPG compression to achieve smaller files while keeping your face clear.
- Ensure even, soft lighting: Harsh direct sunlight creates strong shadows on the face. Diffused natural light from a window produces even illumination that photographs and compresses better.
- Shoot at close range: Fill the frame with your face and head. A photo where the subject is small in a large frame wastes resolution on background detail that then needs to be cropped.
- Avoid wearing glasses: Many government portals explicitly prohibit glasses in passport-size photos. Remove glasses to avoid rejection.
- Do not use filters or beauty mode: Smartphone camera beauty filters apply their own heavy processing that can introduce compression artifacts and alter skin tone in ways that may cause biometric matching failures.
9. Frequently Asked Questions
The portal accepted my photo at 45 KB but rejected my signature at 18 KB. Why?
Each upload field on an exam portal may have different validation rules. Signature fields commonly have stricter constraints because signatures are used for ongoing verification at examination centres. Check the specific requirements stated separately for "photo" and "signature" in the official notification. They are often different.
Can I compress a PNG photo to KB targets the same way as JPG?
PNG compression works differently — it is lossless and does not respond to quality adjustments the same way as JPG. For KB-targeted compression of photographs, always convert to JPG first using the Image Convert tool, then apply the iterative compression. PNG files at small KB targets will have noticeably more quality loss than JPG at equivalent sizes because PNG was not designed for photo compression.
What happens if I upload a photo that is 51 KB to a portal with a 50 KB maximum?
The portal's file size validator will reject your upload immediately, usually showing an error message like "File size exceeds the maximum limit." The rejection happens before any human reviews the photo. You must re-compress the photo to bring it within the 50 KB limit and try uploading again. Even 1 KB over the limit causes rejection.
My photo looks blurry after compression to 20 KB. Is there a way to improve it?
At very low KB targets (below 20 KB for a standard passport photo), some quality loss is unavoidable. To minimize blurriness: ensure your source photo is at the correct pixel dimensions before compressing, use a plain background (less complexity to compress), and ensure the source photo itself is sharp and in focus. A blurry source photo will always produce a blurrier compressed output.
Can I reuse the same compressed photo for multiple exam applications?
Technically yes, but it is better practice to prepare a fresh photo for each application cycle. Exam notifications sometimes update their photo specifications between cycles. Also, a photo that was taken 2–3 years ago may not match your current appearance sufficiently for identity verification at examination centres. Prepare a fresh photo for each new application season.
Hit Your Exact KB Target — Instantly
Set your minimum and maximum KB, upload your photo, and get a perfectly sized output. No guesswork, no repeated attempts. 100% browser-based and private.