Skip to content
Image Compressor

JPEG quality settings explained

JPEG quality settings look like a percentage of the picture you keep, but that is not what they are. Understanding what the number really controls helps you pick a setting that makes files much smaller without any difference you can see. The same ideas apply to the quality slider for WebP and AVIF.

What the quality number controls

A JPEG encoder splits the image into small blocks of 8 × 8 pixels and describes each block as a mix of patterns, from smooth gradients to fine stripes. It then rounds those values off. Coarse patterns are kept carefully, while the finest ones, which the eye barely notices, are rounded heavily or dropped entirely. That rounding is where the file size is saved.

The quality setting decides how aggressive the rounding is. At 95 almost everything is kept; at 50 much of the fine detail is gone; at 10 the blocks become visible. It is not a percentage of detail retained, and 100 does not mean lossless: even at 100 a JPEG is slightly different from the original.

Why 75 to 85 usually looks identical

Most of what is removed in the upper part of the scale is detail the eye cannot resolve at normal viewing size. Phone photos are also full of sensor noise, which is fine detail that nobody wants anyway. That is why a photo saved at 80 and one saved at 95 usually look the same on screen.

File size does not fall evenly as quality goes down. Going from 95 to 85 often cuts a photo’s size dramatically, sometimes by half, with no visible change. Going from 75 to 50 saves less in proportion and starts to show. For most photos, 75 to 85 is the range where you get almost all the savings with none of the visible damage.

The numbers are not comparable between tools

Quality 75 in one program is not the same as quality 75 in another. Photoshop uses a 0 to 12 scale, some apps use low, medium and high, and different encoders turn the same number into different rounding. Modern encoders such as MozJPEG, which this site uses, also squeeze extra bytes out with progressive encoding and optimized coding, so they produce smaller files at the same setting than basic encoders.

Numbers do not carry over between formats either. WebP at 75 and AVIF at 75 are tuned differently from JPEG at 75, and AVIF in particular can often go lower before problems appear. Judge the result with your eyes, not the number.

Artifacts to look for

When quality is too low, the damage shows up in predictable places. Zoom to 100% and look at the busiest and the smoothest parts of the image.

  • Blocking: a faint grid of 8 × 8 squares, most visible in skies, walls and skin.
  • Ringing, also called mosquito noise: shimmering speckles around sharp edges and text.
  • Banding: smooth gradients, like a sunset, break into visible steps.
  • Colour bleeding: strong colours, especially reds, smear beyond their edges.
  • Smearing: in WebP and AVIF, fine texture such as grass, hair or fabric turns smooth and waxy instead of blocky.

If none of these are visible at normal viewing size, the setting is good enough, even if you can spot them when zooming in to 400%.

Chroma subsampling in plain words

Your eye is much more sensitive to brightness than to colour. JPEG takes advantage of this by storing the brightness of every pixel but, very often, the colour of only one pixel in each group of four. This is called chroma subsampling, written as 4:2:0. The full version, which keeps colour for every pixel, is 4:4:4.

On photos, subsampling is practically invisible and saves a good chunk of space. On screenshots, small coloured text and thin red or blue lines, it causes fuzzy, discoloured edges. Many encoders turn subsampling off automatically at very high quality settings. For images with fine coloured text, the better fix is to use PNG instead of JPEG.

How to choose a setting

There is no single correct number, but a quick routine finds a good one for any batch.

  1. Start at 75, a common default that suits most photos.
  2. Compress one representative image and compare it with the original. The compressor on this site has a Compare slider for exactly this.
  3. Look at the smooth areas and the edges at normal size, then at 100% zoom.
  4. If you see artifacts you care about, raise the quality by 5 and try again. If it looks perfect, try 70 to save more.
  5. Use the setting you found for the rest of the batch.
  • Photos for websites: 70 to 80.
  • Photos for email and messaging: around 75.
  • Photos for printing: 85 to 95, or keep the original.
  • Small thumbnails: 60 to 70, since flaws are hard to see at small sizes.
  • Screenshots and text: use PNG rather than JPEG.

Avoid compressing the same image twice

Every lossy save adds a new layer of rounding on top of the old one, a problem called generation loss. Opening a JPEG, editing it and saving it again a few times can degrade it noticeably even at high settings. Always go back to the original when you need a new version.

Saving an already compressed JPEG at a higher quality does not restore anything; it just makes the file bigger. A good tool will warn you or keep the original in that case. The compressor on this site keeps the original file when compressing it again would not make it smaller.

Frequently asked questions

What is the best JPEG quality setting?

For most photos viewed on screens, 75 to 85. Go higher for printing or archiving, lower for thumbnails, and always check the result rather than trusting the number.

Is quality 100 lossless?

No. JPEG at 100 still rounds values and converts colours, so it is very close to the original but not identical. It also produces very large files. Use PNG if you need exact pixels.

Why is my file bigger after compressing it?

The original was probably saved at a lower quality than you chose, or it was already well optimized. Choose a lower quality, or keep the original.

Does the quality setting change the image dimensions?

No. Quality changes how the pixels are stored, not how many there are. To make an image smaller in pixels, resize it as a separate step.

More guides