What Fits in 40 KB
| Image | Sharp | Readable |
|---|---|---|
| Portrait photo (3:4) | 296 × 395 px | 453 × 604 px |
| Landscape photo (3:2) | 419 × 279 px | 640 × 427 px |
| Square (1:1) | 342 × 342 px | 523 × 523 px |
| Signature (3:1) | 1012 × 337 px | 1568 × 523 px |
A rough guide for JPG/JPEG photos: busy photos need more room, plain backgrounds and signatures less. The tool keeps your dimensions where it can and lowers the quality first.
When 40 KB Is the Limit
Some application portals cap photos at 40 KB. The tool finds the highest quality that fits, so the photo is never compressed more than it needs to be.
If your form also gives pixel dimensions, use the Image Resizer to set them with the 40 KB limit. A smaller picture leaves more of the 40 KB for detail.
Common Sizes: 10 KB, 15 KB, 20 KB, 25 KB, 30 KB, 40 KB, 50 KB, 60 KB, 80 KB, 100 KB, 150 KB, 200 KB, 300 KB, 500 KB, 1 MB and 2 MB.
How It Works
- Choose or drop a photo.
- Pick a size such as 10 KB, 50 KB or 100 KB, or type your own limit.
- The tool finds the highest quality that fits. Download it.
Forms, authorities, platforms, marketplaces and others set their own rules, and they can change. Always check the current instructions before you upload or submit.
Frequently Asked Questions
My form says 20-40 KB. What do I do?
Under File Size, press Add a minimum and enter 20 and 40. The tool keeps the file inside that range.
Is 40 KB enough for a passport-size photo?
Yes. At 413 × 531 px (3.5 × 4.5 cm at 300 DPI) a photo usually fits in 40 KB at good quality.
How does the tool hit an exact KB limit?
It binary-searches the encoder’s quality setting: eight trial encodes between 2% and your chosen quality, keeping the highest quality that fits, with a 64-byte margin for header data. If even 2% is too big, it shrinks the dimensions by about the square root of target ÷ size and searches again. For a minimum size, it raises quality and finally pads the file with metadata bytes. 1 KB = 1,024 bytes.
Does it work on phones?
Yes. It works in the browser on any recent Android phone or iPhone, with nothing to install, and iPhone photos in HEIC format open directly.