JPEG Quality Settings Explained: 60, 80, 90 or 100?
By Ismail, Founder of Filoshi
What the JPEG quality number really controls, why 100 isn't lossless, and settings for web, print and archives, with a quick test to pick yours.
The JPEG quality number controls how coarsely the file rounds off picture detail. It is not a percentage of detail kept, and different programs map the same number to different results. For most photos, a setting of around 80 to 85 looks very close to the original at a much smaller file size. Quality 100 is still lossy.
What the number changes
JPEG is a lossy format from the Joint Photographic Experts Group; the committee describes it at jpeg.org. Two steps do most of the work, and web.dev explains both in its JPEG chapter.
- Quantization. The picture is split into small blocks and converted into frequencies. Fine, high-frequency detail is then rounded off more heavily than coarse detail, because the eye notices it less. The quality setting scales how strong that rounding is. Lower quality means coarser rounding.
- Chroma subsampling. JPEG separates brightness from color. Brightness is kept at full detail, while color is often stored at lower resolution and stretched back over the brightness layer. The difference is usually not visible in photos. It can show on thin red or blue lines against a contrasting background.
Most tools expose all of this as one integer from 0 to 100. web.dev points out that the scale is subjective: lower values make smaller, worse files, and different tools may interpret the same value differently. The result also depends on the picture. A smooth sky survives heavy compression, while fine foliage or text shows damage earlier.
Why 100 isn't lossless, and why it's so big
At quality 100 the rounding is as gentle as the encoder allows, but it still happens. The image is still converted between color models, still cut into blocks, still quantized, and often still has its color information subsampled. Pixels come back very close, not identical. If you need pixel-exact storage, use a lossless format such as PNG or TIFF. I explain the difference in Lossy vs lossless compression.
The file gets big because at 100 almost no detail is thrown away, and the encoder stores nearly all the fine information, including noise and grain that nobody can see. Going from 100 to 90 often cuts a file substantially for a change that is hard to spot. Quality is not linear: the first drops from 100 cost the least visible quality and save the most space.
Settings by use
These are common practice among photographers and web developers, not standards. Treat them as starting points.
| Use | Starting point | Notes |
|---|---|---|
| Web pages | 75 to 85 | web.dev suggests nudging compression a little lower than you think might be noticeable, especially when the image is displayed smaller than its real size. |
| Client delivery | 90 to 95 | Room for the client to crop and re-save once. |
| 95 and up | Check what the print service asks for. | |
| Archive | Keep a lossless master | Store the RAW, TIFF or PNG, and make JPEGs from it as needed. |
For web use, also consider a progressive JPEG. web.dev recommends it as a sensible default, since it shows a rough picture first and then sharpens as it loads.
Test it yourself in five minutes
You do not need to trust any number. Test your own photo:
- Pick a photo that has both smooth areas and fine detail, such as a sky and a tree.
- Export it three times, at 70, 80 and 90, with the same tool.
- Compare the file sizes in File Explorer.
- Open them side by side at 100 percent zoom (actual pixels). Look at edges, skies and dark areas.
- Pick the lowest setting where you cannot see a difference at the size people will actually view it.
That is your setting for this kind of photo. Do the test again for a screenshot or a graphic with text, because those break sooner, and PNG may be the better format for them (see PNG to JPG if you do convert).
Re-saving and generation loss
Opening a JPEG and closing it changes nothing. Saving it again as a JPEG is a fresh round of compression, and the errors from each round stack up. This is called generation loss. A single re-save at a high quality is barely visible, but repeating it many times, or editing and re-saving at a low setting, adds visible blocks and smudging. The safest habit is to edit from the original and export one JPEG at the end. More on this in Lossy vs lossless compression.
WebP and AVIF quality numbers aren't the same scale
A quality of 80 in WebP or AVIF does not equal 80 in JPEG. Each format and each encoder has its own scale, so you cannot move a number across and expect the same look. Run the test above again for each format. When you are choosing between formats, the best image format for websites is the place to start, and JPG to WebP is the conversion to try.
What Filoshi does
In the Filoshi Windows app, JPEG output defaults to quality 100 in ImageMagick, so files are large by default. It is not "web-optimized" by default. The file viewer has a Quality slider that lowers it, and you can apply it to a batch. Try it on PNG to JPG, BMP to JPG and similar conversions, then run the five-minute test above to pick your number. ImageMagick documents its -quality option in the command-line options on imagemagick.org, if you want to see how it treats the number for JPEG.
I have not put a table of file sizes here, because they depend entirely on the photo, and I do not want to invent a figure. Run your own test. Image metadata is kept unless you turn on "Remove location and camera data" in the viewer.
I make Filoshi, so weigh my take on it accordingly.
Frequently asked questions
Is JPEG quality 100 lossless?
No. Quality 100 uses the gentlest quantization the encoder offers, but the file is still compressed in a lossy way, with a color conversion and usually chroma subsampling. The result is very close to the original, not identical. For exact pixels, use PNG or TIFF.
What's the best JPEG quality for websites?
Around 75 to 85 is a common starting range, then test your own images. Photos with smooth areas tolerate lower values, and detailed or text-heavy images need higher ones. The right number is the lowest one that looks fine at the size visitors actually see.
Does opening and closing a JPEG reduce quality?
No. Opening and viewing a JPEG does not change the file. Quality is lost when you save it again as a JPEG, because that compresses the image a second time. Keep an original, edit from it, and export the final JPEG once.
Is quality 80 in one program the same as 80 in another?
No. The number is not standardized. Each program and encoder maps it to its own quantization tables, so 80 in one tool can give a different file size and look than 80 in another. Compare by eye and by file size, not by the number.
Old Home Videos: MTS, VOB, 3GP, AVI and What to Keep
Next →GIF vs MP4 vs WebP: Best Format for Short Animations
Ready to convert files privately?
1,841 tested conversions. No uploads. No accounts. Runs entirely on your machine.
Get Filoshi · $29