ExactSize

Compress image to 50KB: how many pixels actually fit

A 50 KB target is 51,200 bytes. On an ordinary photograph this compressor turns that into 776,880 pixels — 720 × 1,079. It returns almost exactly the same figure whether you upload a 24-megapixel file or a 1.5-megapixel one: 720 × 1,079 from the 24 MP original, 709 × 1,063 from the 1.5 MP one. Your source resolution barely moves the answer. What changes is how much of your picture gets thrown away to reach it — and once the source is already small enough, nothing is thrown away at all.

Three numbers worth knowing before you compress

  • Ceiling: about 0.78 megapixels per photograph. Seven starting sizes, one 50 KB target, outputs between 775,082 and 793,157 pixels — a 2.3% spread. At the 40% quality floor the encode costs roughly 0.065 bytes per output pixel, and 51,200 ÷ 0.065 ≈ 787,700.
  • No-shrink threshold: about 777,600 pixels. A 720 × 1080 source keeps every pixel and comes back at 41% quality. An 800 × 1200 source (960,000 pixels) is already over the line and is cut to 727 × 1,091. Anything smaller gets better: 640 × 960 at 49%, 500 × 750 at 73%.
  • The ceiling is content, not the number. The same 51,200 bytes holds 381,024 pixels of a text page but 6,140,484 pixels of a flat cutout — a 16× spread at one identical target.

All seven source sizes measured in one session, same photo, same browser, same target.

How to read these numbers: one photograph at seven starting resolutions, each compressed once at a 50 KB target. Because every row is the same picture, the differences between rows are the effect of the starting size alone — no second variable. Seven points, one image: they show where the ceiling sits and how sharply behaviour changes around it, not the spread you would see across seven different photographs. Every figure is what the compressor printed in its own verdict line. This page is the source-size axis at a fixed target; the target axis on a fixed 24 MP file is on the 4000×6000 ladder page.

Seven starting sizes, one 50 KB target

The photograph is a 4000 × 6000 landscape, reduced with Lanczos to each starting size below and saved at JPEG quality 92 before being fed in. So every row starts from a clean, normal-looking file — not from a re-compressed one. The "kept" column is the share of the source's pixels that survived.

Source Source px Source bytes Output at 50 KB Output px Output bytes Kept Quality
4000 × 6000 24,000,000 3,492,678 720 × 1,079 776,880 50,575 3.2% 40%
2000 × 3000 6,000,000 1,495,938 720 × 1,080 777,600 51,067 13.0% 40%
1000 × 1500 1,500,000 417,234 709 × 1,063 753,667 50,922 50.2% 40%
800 × 1200 960,000 267,513 727 × 1,091 793,157 51,115 82.6% 40%
720 × 1080 777,600 216,929 719 × 1,078 775,082 50,654 99.7% 41%
640 × 960 614,400 171,095 640 × 960 614,400 50,955 100% 49%
500 × 750 375,000 104,988 500 × 750 375,000 50,699 100% 73%

Same photograph at seven starting resolutions, 50 KB (51,200 bytes) target, JPG output. Measured 19 October 2026, Chrome 155.0.8059.80, Windows 11.

Read the third column from the bottom: 776,880, 777,600, 753,667, 793,157. Four different starting sizes — 24 megapixels, 6, 1.5 and 0.96 — and the output lands within about 5% of the same figure. The compressor is not preserving anything about your file. It is filling a 51,200-byte budget with as many pixels of this picture as that budget will buy, and the budget buys about 0.78 megapixels of this picture.

The 720 × 1080 row is worth a second look, because it is where the two regimes meet. The verdict said "original dimensions kept" and the dimensions came back 719 × 1,078 — one pixel off each side, lost to rounding in the scale step. That row is 777,600 source pixels delivered as 775,082, and the quality has already climbed from 40% to 41%. It is the last row before the tool stops discarding pixels and starts spending its spare bytes on quality instead.

Why the number barely moves

This compressor has two levers: JPEG quality, and the pixel dimensions. Its policy is to hold the dimensions and let quality fall, but only to a floor of 40% — below that, a smaller sharp image looks better than a full-size mushy one, so it starts reducing dimensions instead. At a 50 KB target on a photograph, the floor is reached long before the target is met, which is why almost every row above reads 40%.

At that floor this photograph costs about 0.065 bytes per output pixel. Divide the budget by the cost and you get the ceiling: 51,200 ÷ 0.065 ≈ 787,700 pixels, and the measured outputs bracket that figure. Nothing about the source file enters the calculation. A 24 MP original and a 1.5 MP original both get told the same thing: 787,700 pixels is what this budget buys, so 3.2% of the first and 50% of the second survive.

One caution about ratios. The source files above cost 0.146 bytes per pixel (3,492,678 ÷ 24,000,000) at the top and 0.280 at the bottom, while the outputs cost 0.065. Dividing 0.146 by 0.065 to get "2.2× compression" would be meaningless: the first number is measured on the original pixels, the second on the output pixels, and they are different pixel sets. The only honest ratio here is bytes to bytes — 3,492,678 in, 50,575 out, 98.5% removed.

Where shrinking stops, and quality starts climbing

The three smallest rows are the useful ones, because they are the only rows where the tool had bytes left over after keeping every pixel. At 640 × 960 it delivered the full 614,400 pixels at 49% quality. At 500 × 750 it delivered all 375,000 pixels at 73%. The budget did not change; only the amount of picture it had to cover did.

That gives you a practical rule. Below roughly 0.78 megapixels, 50 KB is generous — you keep every pixel and the encoder still has room to spend on quality, so a 500 × 750 image comes out clean. Above it, 50 KB is a hard cap, and the only question is which pixels you lose. Pre-shrinking a large file to just above the ceiling buys you nothing: a 1000 × 1500 start landed at 709 × 1,063, and a 4000 × 6000 start landed at 720 × 1,079. Same destination, one extra step.

This is the mirror image of what happens at the top of the range. On the ladder page the same 24 MP file was pushed from 20 KB to 2,400 KB: up to about 1,200 KB the quality stayed pinned at 40% and extra bytes bought pixels; from 1,600 KB upward the dimensions fit and extra bytes bought quality (55%, 61%, 76%). Same law, opposite end. At 50 KB you are on the pixel-buying side of it for any normal photograph, and on the quality-buying side only for files already under about 0.78 MP.

The same 51,200 bytes in four other kinds of picture

The 0.78 MP figure is a photograph figure, not a 50 KB figure. Run the same target against content that compresses differently and the ceiling moves by an order of magnitude — which is why "50 KB is enough" is never a complete statement on its own.

Content Source Output at 50 KB Output px Output bytes Bytes / px Quality
Page of text, 26 px Arial 4000×6000 · 1,297,068 504 × 756 381,024 50,094 0.1315 40%
Photograph (row 1 above) 4000×6000 · 3,492,678 720 × 1,079 776,880 50,575 0.0651 40%
Smooth vertical gradient 2400×1600 · 2,537,877 2400 × 1600 3,840,000 49,492 0.0129 67%
Flat-colour graphic 4000×4000 · 84,394 2011 × 2011 4,044,121 51,193 0.0127 48%
Transparent cutout, flat fills 3600×3600 · 62,081 2478 × 2478 6,140,484 51,183 0.0083 41%

Five files, one 50 KB target, JPG output. The gradient kept its full dimensions at 67% quality and still came in under target at 49,492 bytes.

Two things fall out of that table. The first is the 16× spread: 381,024 pixels for text against 6,140,484 for a cutout, at one identical byte budget. The second is the direction — detail is what costs bytes, so the more detail a picture carries per pixel, the fewer pixels 50 KB buys. Text is the worst case in this set because every glyph edge is detail. Flat fills are the best because there is almost nothing to encode.

For text specifically, 50 KB is not a useful target: 504 × 756 is roughly a quarter of a page at screen size, and body text at that resolution is a grey field rather than words. A 50 KB scan is a thumbnail, not a document. If a form demands 50 KB for a document image, expect to crop rather than to compress.

WebP at the same 50 KB

Same photograph, same 51,200-byte budget, WebP instead of JPG: 846 × 1,269 at 50,588 bytes, quality 41%. That is 1,073,574 pixels against JPG's 776,880 — 38% more picture for the same bytes, or 0.047 bytes per pixel against 0.065. If the 50 KB ceiling is the problem you are trying to solve, switching the output format buys more than any amount of pre-processing does, and it takes one click. The cost is compatibility: some upload forms still accept only JPG or PNG.

What to do with your file

  • Check the pixel count first. Width × height. At or under about 780,000 and 50 KB will keep everything — 777,600 measured, delivered at 41% quality, and smaller files only get better. Between there and 960,000 it is a coin toss depending on the picture; 960,000 was cut to 793,157.
  • Do not pre-shrink a large photo. It costs you a step and changes the output by about 3%. Feed the original in and let the tool find the ceiling.
  • Crop instead of downscaling, if the frame matters. A 4000 × 6000 file at 50 KB keeps 3.2% of its pixels. Crop to the subject at, say, 1200 × 1800 and those same 51,200 bytes now cover the part you actually wanted, at roughly a third of that crop's pixels rather than 3% of the whole frame.
  • Switch format before you switch tools. WebP gave 38% more pixels at the same target on this photograph. Only fall back to JPG if the destination rejects WebP.
  • Do not send a document to a 50 KB target. 504 × 756 of text is unreadable. If the limit is fixed, split the page or crop it.

Questions this page gets

How many pixels fit in 50 KB?

About 776,880 for a photograph — 720 × 1,079. Seven starting sizes produced outputs between 775,082 and 793,157 pixels, a 2.3% spread, all at the 40% quality floor. The arithmetic behind it: 51,200 bytes ÷ 0.065 bytes per output pixel ≈ 787,700 pixels.

Does uploading a smaller original give a better 50 KB result?

Not until the original is already under about 0.78 MP. 4000 × 6000 came back at 720 × 1,079; 1000 × 1500 came back at 709 × 1,063. Below the ceiling the behaviour flips and the spare bytes go into quality: 640 × 960 came back at 49%, 500 × 750 at 73%.

Why did my 800 × 1200 image get resized to 727 × 1091?

800 × 1200 is 960,000 pixels, above the ceiling. The full size at 40% quality did not fit in 51,200 bytes, so the tool stepped the dimensions to 91% and returned 727 × 1,091 (793,157 pixels) at 51,115 bytes. A 720 × 1080 source of the same photo — 777,600 pixels — kept its dimensions and came back at 41%.

Is 50 KB enough for a scanned document or a screenshot?

Rarely for a scan: 4000 × 6000 of text fell to 504 × 756, which is 381,024 pixels and unreadable as body text. Flat artwork is the opposite — a 4000 × 4000 graphic kept 2011 × 2011 at 48%, and a 3600 × 3600 cutout kept 2478 × 2478 at 41%.

JPG or WebP at 50 KB — which holds more pixels?

WebP, by 38% on this photograph: 846 × 1,269 (1,073,574 pixels) against 720 × 1,079 (776,880), both at the same 51,200-byte target. Per pixel, 0.047 bytes against 0.065.

All figures measured on 19 October 2026 with Chrome 155.0.8059.80 on Windows 11, using this site's compressor and one landscape photograph from Wikimedia Commons (Bachalpsee_reflection.jpg) reduced to seven starting sizes from 4000 × 6000 down to 500 × 750, each saved at JPEG quality 92 first. The other four files are a 4000 × 6000 page of 26 px Arial text rendered to PNG (1,297,068 bytes), a 2400 × 1600 vertical gradient (2,537,877 bytes), a 4000 × 4000 flat-colour graphic (84,394 bytes) and a 3600 × 3600 transparent cutout (62,081 bytes). One image per content type — sample points, not a distribution; a different photograph will sit either side of 0.065 bytes per pixel. What 20 KB holds instead is measured on the 20 KB pixel budget page, whether a PNG can reach a tight target at all is on the PNG at 100 KB page, and the ten-target ladder for a single 24 MP file is on the ladder page.