How JPEG Compression Shrinks Photos Without Making Them Look Bad
Published 2026-09-14
Lossy compression means deliberately losing data
JPEG is what's called a "lossy" compression format, meaning it doesn't just pack the same information more efficiently — it actually discards some of the original image data permanently, on the assumption that human eyes won't notice what's missing. The clever part isn't the compression itself, but the decision about exactly which data to throw away.
The human-eye trick: chroma subsampling
Human vision is measurably more sensitive to changes in brightness than to changes in color detail — a well-established property of how our eyes and visual cortex process information. JPEG exploits this directly through a technique called chroma subsampling, storing color information at a lower resolution than brightness information, since we're much less likely to consciously notice reduced color precision than reduced brightness detail. This single trick accounts for a meaningful chunk of JPEG's size reduction with minimal perceived quality loss.
Where the "quality slider" actually applies
Beyond chroma subsampling, JPEG divides an image into small blocks and applies a mathematical transform (the discrete cosine transform) that separates each block into frequency components, then rounds off the less visually important high-frequency detail more aggressively at lower quality settings. This is exactly why turning the quality slider down doesn't uniformly blur an image — it specifically degrades fine texture and detail first, while broad shapes and colors survive much longer, which is why moderate compression is often nearly invisible while heavy compression produces the blocky, smudgy "JPEG artifacts" everyone recognizes.
Why 70-85% quality is usually the sweet spot
For most photographic images, quality settings in the 70-85% range typically produce a file dramatically smaller than the uncompressed original while remaining visually indistinguishable from it on a typical screen, which is why it's such a commonly recommended default rather than always maxing out quality or squeezing every last kilobyte out.
Why WebP often does even better
Newer formats like WebP use more advanced, modern compression techniques than JPEG's decades-old approach, typically achieving noticeably smaller file sizes at equivalent visual quality — part of why it's worth comparing formats rather than assuming JPEG is always the right choice.
Try it on your own photo
Our Image Compressor lets you compress to JPEG or WebP at any quality level and see the exact before/after file size difference, entirely in your browser.