Where a 50 KB limit applies
For the Combined Higher Secondary Level Examination 2022, the SSC asked for a scanned color passport-size photograph in JPEG between 20 and 50 KB, about 3.5 cm wide and 4.5 cm high, no more than three months old, without cap and spectacles, with the face clearly visible from the front. Source: Staff Selection Commission (Karnataka Kerala Region): notice on photographs and signatures for the Combined Higher Secondary Level Examination 2022, F. No. 04/19/2022-Exam, December 7, 2022.
- Passport-style photos for online applications
- Profile pictures on portals with a hard limit
- Logos for email signatures and small web graphics
If a form asks for a print size in centimeters, like 3.5 × 4.5 cm, it is really asking for a shape: 7 to 9, slightly taller than wide. Crop to that shape first, then compress. At 300 dots per inch, 3.5 × 4.5 cm is 413 × 531 pixels, and that size fits into 50 KB with room to spare.
Resize or crop before you compress, not after. Changing the picture after compression means decoding and encoding the JPG a second time, and every lossy encode drops some detail.
How much picture fits in 50 KB
In bits, 50 KB is 400,000. Wallace's guide rates 0.75 bits per pixel as excellent, 0.5 as good to very good and 0.25 as moderate to good, so 50 KB covers about 0.53, 0.8 or 1.6 megapixels at those levels.
| Shape | Excellent0.75 bits per pixel | Good0.5 bits per pixel | Moderate0.25 bits per pixel |
|---|---|---|---|
| Square, 1:1 | 730 × 730 | 890 × 890 | 1,260 × 1,260 |
| Landscape, 4:3 | 840 × 630 | 1,030 × 770 | 1,460 × 1,100 |
| Landscape, 3:2 | 890 × 590 | 1,100 × 730 | 1,550 × 1,030 |
| Wide, 16:9 | 970 × 550 | 1,190 × 670 | 1,690 × 950 |
A 12-megapixel photo (4,032 × 3,024) would get only 0.03 bits per pixel at full size, below the lowest band Wallace rates. For 0.5 bits per pixel it has to shrink to about 1,030 × 770, 26% of its width and 7% of its pixels.
| Image size | Bits per pixel | Expected quality |
|---|---|---|
| 413 × 5313.5 × 4.5 cm at 300 dpi | 1.82 | Hard to tell from the original |
| 600 × 600Square, 600 px | 1.11 | Excellent |
| 827 × 1,0633.5 × 4.5 cm at 600 dpi | 0.46 | Moderate to good |
| 1,080 × 1,080Square, 1080 px | 0.34 | Moderate to good |
| 1,280 × 720HD, 16:9 | 0.43 | Moderate to good |
Quality bands from section 4.5 of Gregory Wallace's paper on the JPEG standard, which rates color images of moderate detail from 0.25 bits per pixel up. The pixel sizes are rounded to tens. The tool measures the real file size, so the result always lands under 50 KB.
50 KB in bytes
Here 50 KB means 50,000 bytes. A system that counts in 1,024-byte units shows the same limit as 48.83 KB (0.048 MB); a file under 50,000 bytes is under both.
Getting an image under 50 KB
Drop one or more images above. The target is already set to 50 KB. For each image the tool tries JPG qualities from 92 down to 50 at the full pixel size, and only scales the picture down, at quality 75, when even quality 50 is too large. Change the target or switch to WebP and every image is redone.
Need a different limit? One size down is 20 KB, one size up 100 KB. The Compress Image to Target Size tool takes any number. To shrink by quality instead of a fixed size, use the image compressor; for exact pixel dimensions, the image resizer; and to crop to a shape a form asks for, the image cropper.
Sources
- Staff Selection Commission (Karnataka Kerala Region): notice on photographs and signatures for the Combined Higher Secondary Level Examination 2022, F. No. 04/19/2022-Exam, December 7, 2022
- Gregory K. Wallace: The JPEG Still Picture Compression Standard, section 4.5 (copy hosted by the National University of Singapore)
Frequently asked questions
How many pixels can a 50 KB photo have?
50 KB holds about 0.8 megapixels at good JPEG quality, for example 1,030 × 770 pixels in 4:3 or 890 × 890 as a square. A 12-megapixel photo has 12,192,768 pixels, 15 times as many, so the tool scales it down once quality 50 at full size is still too large. These figures follow Wallace's guide for color photos of moderate detail; quality varies with the content of the picture.
Will a 50 KB photo be accepted on an exam or visa form?
File size is only one rule. The SSC notice quoted above also asked for about 3.5 × 4.5 cm, a photo no more than three months old and no cap or spectacles. Check the full list of the office you apply to; this tool takes care of the file size part.
Should I pick JPG or WebP for 50 KB?
JPG, unless the form says WebP is fine. The SSC and NTA notices quoted on these pages both ask for JPEG, and a form that does not list WebP may refuse it.
Are my images uploaded to compress them to 50 KB?
No. Your browser decodes each image, tries different quality settings and sizes, and writes the result on your own device. Nothing is sent to a server.