Home / Compress to size / 40 KB

Compress an image to 40 KB

40 KB is the quiet limit: small enough that nobody notices it in the instructions until they hit it, large enough that a cropped portrait comes through intact. What decides the result is how much background you leave in the frame.

Files never leave your browser Exact target, ±3% No watermark
Drop an image here, or click to choose JPG, PNG or WebP · up to 50MB · processed on your own device
Compressed result preview
—Before
—After
—Dimensions
—Distance to target
Download

Where the 40 KB limit comes from

Forty kilobytes shows up on forum and community profiles, older job boards, and any system whose avatar field was sized two decades ago. It also survives in government and school portals that ask for a photo 'between 20 KB and 40 KB' — a range, not a ceiling, which hints the receiving system displays the image at roughly 150 pixels on a roster page.

What 40 KB actually gets you

Forty kilobytes holds about 700×875 pixels at good quality — enough for a face to stay recognisable as an avatar or an ID thumbnail. If the frame contains a lot of background, the compressor spends much of the budget there; crop to head and shoulders and the same byte count looks noticeably better.

PixelsWhat it looks likeGood for
700×875clean at avatar and thumbnail sizeprofile photo, roster thumbnail
900×1125soft, still acceptableonly if the form demands a bigger frame
1200×1500blocking in background and haircrop first, or pick a larger target

Pixel figures are approximate and depend on how much detail is in the picture. A plain background compresses far better than a busy one at the same byte count.

Questions

The form says '20 KB to 40 KB' — can I just send 40?

Usually yes, but ranges exist because the system was tested at both ends, and a few portals add their own check that rejects a file sitting exactly on the top value. Aim for 38 KB and you are inside the window either way; the result screen reports the exact final size so you can see where you landed.

Will 40 KB survive as a profile picture on a retina screen?

It will look soft once displayed larger than roughly 200×250 CSS pixels, which is bigger than most avatar slots. If the same picture also appears on your profile page at 400 pixels wide, upload a 100 KB version there if that platform has its own limit — otherwise accept the softness, it is the platform's ceiling, not the tool's.

Why is the output sometimes a little over 40 KB?

The tool targets the number you give it and reports the gap, but it refuses to go past the point where the image is unusable. A cluttered background may not reach 40 KB without turning to mush; in that case the result comes back slightly over and the note explains it. Cropping away the part that eats the budget is the reliable fix.

Other sizes