Compress JPEG to 40 KB
40 KB is enough for a sharp profile photo or a small logo. This page saves JPEG and finds the best quality under 40 KB. Everything runs in your browser — nothing is uploaded. Need different dimensions instead? Resize or convert.
Why compress to 40 KB?
A 40 KB target is usually set for passport-style photos on exam, job and visa application portals. A JPG photo of around 490×370 pixels fits, with fine for small display quality.
About 490×370 px fits
At medium quality a detailed JPG photo of roughly 490×370 pixels lands under 40 KB; at high quality about 340×260.
Typical use
40 KB limits are common for passport-style photos on exam, job and visa application portals.
90× smaller than a phone photo
A 12 MP phone photo is around 3–4 MB, so it must shrink about 90×. The tool lowers quality first and resizes only if needed.
Quality to expect
At 40 KB, quality is fine for small display. Good for thumbnails, profile photos and forms.
Scans and documents
A scanned A4 page of about 600×850 pixels usually fits, because text pages compress far better than photos.
Exact limit, checked
40 KB is measured as 40,960 bytes (1 KB = 1,024 bytes), the way most upload forms count it, so the file is never just over.
40 KB at a glance
| Limit in bytes | 40,960 bytes |
|---|---|
| Photo at high quality | about 340×260 px |
| Photo at medium quality | about 490×370 px |
| Photo at low quality | about 670×500 px |
| Scanned A4 document | about 600×850 px |
| Reduction from a 12 MP phone photo | about 90× |
| Output format | JPG |
| Typical use | Passport-style photos on exam, job and visa application portals |
Compress an image to 40 KB in 3 steps
- Add your image — JPG, PNG, WebP or a phone photo.
- The target is already set to 40 KB. Leave “Remove EXIF metadata” ticked to save extra bytes.
- Click Compress and download a JPG under 40 KB.
New to image compression? Read the full compression guide.
Profile photos and logos at 40 KB
Profile photos are shown small — often 100–200 pixels. At about 470 pixels wide a photo fits in 40 KB and looks sharp even on high-DPI screens.
Email signature logos should be tiny, because they load with every email. A 40 KB cap is generous; most logos at their display size come in under 15 KB.
Faces first. If the result looks soft, crop closer to the face — fewer background pixels leaves more of the budget for what matters.
Nearby: 35 KB, 45 KB. Keep PNG format instead: under 50 KB.
Other file-size targets
Nearby limits — each one opens the compressor already set to it:
Compress by format
Guides and presets for each format:
Compress under a file size
Keeps your image’s format — pick the limit you need:
JPEG under a file size
Frequently asked questions
What is a good size for an email signature logo?
Small — usually under 15 KB at the width it is displayed. 40 KB is a safe ceiling.
How many pixels fit in 40 KB?
For a detailed JPG photo, about 490×370 at medium quality or 670×500 at low quality. Simple graphics and scans can be much larger.
What quality will a 40 KB photo have?
Fine for small display. Good for thumbnails, profile photos and forms. The tool keeps the dimensions where it can and lowers compression quality first, so faces and text stay readable.
Is 40 KB the same as 40,000 bytes?
Not quite. Most forms count 1 KB as 1,024 bytes, so 40 KB is 40,960 bytes. The tool uses the same count, so a file it marks as under 40 KB is accepted.
Should I use JPG or WebP for 40 KB?
JPG is accepted everywhere and is the safe choice for forms. WebP holds about 30% more detail at the same size, ideal for websites that support it.
Why is my file still over 40 KB?
Very large or detailed images may not reach 40 KB by quality alone. Resize it first (for example to 490 pixels wide) with the resizer, then compress again.
Are my images uploaded anywhere?
No. They are read and compressed by your own browser and never leave your device. You can disconnect from the internet once the page has loaded and it will still work.