🖼️Image

Image Compression: What Quality Setting Should You Use?

JPEG quality 80 is not the same as quality 80 everywhere. Here's how image compression actually works and how to choose the right settings.

5 min readFebruary 19, 2026By FreeToolKit TeamFree to read

Image files are typically the largest assets on web pages and apps. A page that takes 4 seconds to load on mobile is often suffering from un-optimized images. But aggressive compression reduces quality. The right answer is in between, and it's more specific than 'just compress it.'

How JPEG Compression Works

JPEG compression divides images into 8×8 pixel blocks and applies a mathematical transform that separates perceptible detail from imperceptible detail. Higher compression settings discard more of the imperceptible detail. At low quality settings, the blocks become visible as 'artifacting' — grid-like patterns particularly visible in smooth gradients and sharp edges.

The Quality Scale Isn't Linear

JPEG quality 100 preserves almost all data. Quality 90 removes mostly imperceptible data — images look essentially identical but are 50% smaller. Quality 80 removes more — for most photos, the difference is still barely visible. Quality 60 starts showing artifacts on close inspection. Quality 40 shows obvious degradation. The steepest quality-per-byte drop-off happens between 90% and 80%, which is why 75–85% is the practical web sweet spot.

Compress Images Online

WebP: The Better Modern Choice

WebP at quality 80 typically looks as good as JPEG at quality 90 but at a smaller file size. For web images, convert to WebP. The converter in Next.js's Image component does this automatically. For manually optimized images, Squoosh.app (free, browser-based) converts to WebP and shows a side-by-side comparison at different quality settings.

For Different Use Cases

  • Hero/banner images: 85% JPEG or WebP, progressive encoding
  • Product photos in e-commerce: 85-90% (buyers inspect closely)
  • Blog inline images: 75-80%, compressed to display dimensions
  • Thumbnails/previews: 70-75%, small resolution
  • Background images: 65-75%, most detail not visible at scale

Visual comparison

Squoosh.app shows your original and compressed image side-by-side in real-time as you adjust settings. This calibrates intuition better than any rule of thumb — what 80% quality actually looks like for your specific image type.

Frequently Asked Questions

What JPEG quality setting should I use for web images?+
For most web use, 75–85% quality hits the sweet spot of good visual quality and reasonable file size. The difference between 80% and 100% is barely perceptible on screen but the file size difference is dramatic — a 500KB image at 100% might be 150KB at 80% with no visible quality loss for most content. For photos where detail matters (portfolio images, product photos), use 85%. For decorative background images, 70–75% is usually fine.
Is WebP better than JPEG for photos?+
Yes, WebP typically achieves 25–34% smaller file sizes than JPEG at equivalent visual quality. Browser support is now universal (Chrome, Firefox, Safari, Edge all support WebP). The main limitation is that some older tools and applications don't handle WebP — it's not useful for images downloaded and shared outside the web context. For web-displayed photos, serve WebP with JPEG fallback using the HTML <picture> element for maximum compatibility.
When should I use PNG vs JPEG vs WebP?+
JPEG: photographs and complex images with many colors, where some quality loss is acceptable. PNG: images with transparency, screenshots, logos, graphics with flat colors or text where lossless quality is needed. WebP: replaces both JPEG and PNG for web use with better compression; supports both lossy (like JPEG) and lossless (like PNG) modes. SVG: icons, logos, and illustrations that need to scale to any size — vector format, not pixel-based.
What is 'progressive JPEG' and should I use it?+
Progressive JPEGs load by showing a blurry version of the entire image first, then progressively adding detail as more data loads. Baseline JPEGs load top-to-bottom. Progressive is generally better for perceived performance — users see the image content immediately even before it fully loads. Modern browsers handle progressive JPEGs well. Many image optimization tools (ImageOptim, Squoosh) enable progressive encoding by default.

🔧 Free Tools Used in This Guide

FT

FreeToolKit Team

FreeToolKit Team

We build free browser-based tools and write practical guides that skip the fluff.

Tags:

imagecompressionqualityweb