how-to · 8 min read
Compressing an image to 50, 100, 200 or 500 KB: what the bytes actually cost
A 12-megapixel photo does not fit a 100 KB upload limit. We tested the browser-only Compress Image to Size tool on one synthetic 4,032 × 3,024 JPEG of 1,972,169 bytes, targeting 50 KB, 100 KB, 200 KB and 500 KB, and recorded the exact output bytes, dimensions and processing time for each result.
The short version: the tool respects the byte ceiling, but most of the reduction comes from shrinking the pixel grid rather than from squeezing the same resolution harder. That trade-off is sensible for forms and messaging, and the wrong one for print or close inspection.
How the test was run
The source was one synthetic photograph generated for repeatable testing: 4,032 × 3,024 pixels (about 12.2 megapixels), saved as a baseline JPEG of 1,972,169 bytes. A synthetic image removes the variance of a real camera file, so a different photo at the same dimensions will land on different byte counts. Treat these numbers as a description of how the tool behaves, not a promise about your own file.
Each run used the Compress Image to Size workspace with its defaults apart from the target: JPG output, maximum width and maximum height left blank so the tool was free to choose any pixel dimensions, and one image per run. Tests ran on 31 October 2026 in the then-current Chrome on macOS. Output bytes were read from the downloaded file, dimensions from the result panel, and times are the browser's processing time for the whole compression, including the dimension search.
The measured results
The tool treats 1 KB as 1,024 bytes, so the real ceilings were 51,200, 102,400, 204,800 and 512,000 bytes. Every output stayed at or just under its ceiling: 50,871, 102,357, 202,472 and 510,672 bytes. Relative to the decimal label a reader sees (50,000, 100,000, 200,000 and 500,000 bytes), the results are 1.2–2.4 percent above the number, which is why the byte count is shown alongside the label.
Processing stayed under a second for the three smaller targets and rose to 1.40 seconds at 500 KB, where the encoder has to keep far more pixels while still fitting the byte budget. These timings describe this machine and this image; a phone or a much larger file will behave differently.
The search is bounded: the tool tests a sequence of quality levels at the current dimensions and changes the dimensions only when the byte budget cannot be met. That is why the three smaller targets take about the same time — each reaches a workable quality level once the canvas is small enough.
This report does not include a visual quality score. Quality is subjective and depends on the viewer, the display and the content; the numbers here are what can be measured objectively — bytes, pixels and processing time — and the judgement of whether a result looks good is left to your own eyes.
| Target | Output bytes | Output dimensions | Processing time |
|---|---|---|---|
| 50 KB | 50,871 | 673 × 505 px | 0.90 s |
| 100 KB | 102,357 | 1,150 × 863 px | 0.90 s |
| 200 KB | 202,472 | 1,813 × 1,359 px | 0.88 s |
| 500 KB | 510,672 | 3,629 × 2,722 px | 1.40 s |
Resolution is the main lever
The dimensions column is the real story. At 50 KB the tool returned 673 × 505 pixels, only about 17 percent of the original width and 2.8 percent of the original pixel area. The 100 KB result kept about 29 percent of the width, the 200 KB result about 45 percent, and the 500 KB result about 90 percent.
Converting the same measurements into bytes per output pixel shows what the encoder is doing: the 50 KB result spends about 0.15 bytes per pixel, while the 500 KB result spends about 0.05. A fixed byte budget can buy either more pixels at a lower per-pixel budget or fewer pixels at a higher one; at these targets the tool keeps the encoding usable and reduces the grid instead.
The effect runs both ways. Going from 200 KB to 500 KB multiplies the allowed bytes by 2.5 but the kept pixel area by four, which is why the 500 KB result is the only one close to the original grid; halving 100 KB to 50 KB removes more than half the pixels.
| Target | Linear size vs original | Pixel area vs original | Bytes per output pixel |
|---|---|---|---|
| 50 KB | 16.7% | 2.8% | 0.15 |
| 100 KB | 28.5% | 8.1% | 0.10 |
| 200 KB | 45.0% | 20.2% | 0.08 |
| 500 KB | 90.0% | 81.0% | 0.05 |
What a 50 KB result actually looks like
A 673 × 505 image is roughly the size of a chat thumbnail or a small avatar. On a 375-pixel-wide phone screen it can still look acceptable because the display is small; on a desktop at 100 percent it is visibly soft, and any small text inside the photo will be hard or impossible to read.
That is not a defect in the tool, it is the arithmetic of JPEG: a 50 KB budget cannot carry 12 megapixels at a usable quality. If the destination shows the image at 200–400 pixels wide, this is a generous result. If a person will zoom in, crop it, or pass it on for editing, it is the wrong target.
A practical check is to view the output at the size it will actually be shown. A 64-pixel avatar hides nearly every artefact of the 50 KB result, while the same file as a hero image on a store page is visibly too small; judge it in its final context.
The 500 KB result keeps most of the grid
At 500 KB the tool returned 3,629 × 2,722 pixels, still 90 percent of the original width and 81 percent of the pixel area. For an upload limit, that is a strong outcome: most of the detail survives and the file is still small enough for a form that caps at 500 KB.
It is not a substitute for the original. The file is still a re-encoded JPEG at about one quarter of the original 1.97 MB, fine detail will show compression artefacts, and colour or metadata may differ. Keep the original as the master and treat the 500 KB copy as the delivery version for that specific destination.
The 500 KB run is also the slowest of the four — 1.40 seconds against roughly 0.9 for the smaller targets — because every dimension step starts from a larger canvas and the encoder has more pixels to process. That extra half second is the visible price of keeping resolution instead of discarding it.
As a ratio, the 500 KB output is about a quarter of the 1,972,169-byte source while still holding 81 percent of the pixel area — which is why it suits a strict upload form reviewed on screen, but not an archive folder.
Choosing a target for the destination
Start from the largest limit the destination accepts rather than the smallest file you can tolerate. A form that allows 500 KB should get a 500 KB file, not 50 KB: the extra bytes are spent mostly on pixels you would otherwise lose, and the recipient sees a sharper image. Step down only when a rule, a page-weight budget or a thumbnail use case requires it.
If the destination also specifies pixel dimensions, set the maximum width or height in the workspace. The tool never enlarges an image, so a minimum width matters only when the subject needs detail; combining a minimum width with a very small target can make the target impossible, and the tool will say so instead of silently failing.
A byte target and a quality slider solve different problems. A slider answers how much detail you can afford to lose and leaves the file size to the content; a byte target answers what will fit and leaves the dimensions to the tool. For a hard limit, only the byte target guarantees acceptance.
- Use 50–100 KB for thumbnails, avatars, chat previews and email signatures.
- Use 200 KB for web pages and profile photos where a 400–800 px display is typical.
- Use 500 KB — or the destination's largest limit — for forms, portfolios and anything a person may zoom into.
- Choose WebP instead of JPG when the destination accepts it and you want a smaller file at the same target.
- When the size is flexible and quality is the goal, use the quality-based Image Compressor instead of a byte target.
A workflow that survives real files
Run the tool on your actual image instead of trusting a table. Content changes the result substantially: a smooth sky compresses far better than foliage, fabric or text, so two 12-megapixel photos can reach the same target with different dimensions and different visible quality. Compare the output with the original at 100 percent before sending it, especially for faces, text and any detail the recipient must read.
Keep four things in mind. JPEG output flattens transparent areas to white, so a logo with transparency should go to WebP instead. Re-encoding removes EXIF data such as camera details and GPS location. The byte target is a ceiling, not an exact size, and encoders can differ slightly between browser versions. And the whole process is local: the image is decoded, searched and encoded in the browser tab, with no upload, so it also works offline once the page has loaded.
With several files, test the largest and most detailed first: it is the one most likely to need a looser target, and its result tells you whether the limit is realistic for the batch.

