How to Compress Images Without Losing Quality — Real Test Results
We compressed the same image 12 different ways and measured the results. Here's exactly what quality settings, formats, and tools actually do to your photos.
We Tested Image Compression So You Don't Have To
Most image compression guides tell you to "use 80% quality" without explaining what that actually means for your specific use case. We ran systematic tests on a standard benchmark photo — a high-resolution outdoor photograph with varied colors, textures, and a mix of sharp and soft edges — to show you exactly what different settings produce.
The test image: a 5472×3648 pixel JPEG, 7.2MB original. We compressed it using various settings and measured both file size and visual quality.
What Happens at Different Quality Settings
Quality 95% — Barely Perceptible Difference
| Metric | Value |
|---|---|
| File size | 2.8MB (61% reduction) |
| Visual quality | Identical to original at normal viewing distance |
| Zoom quality | Identical at 100%, minor differences at 400%+ |
| Use case | Print preparation, product photography |
At 95%, the compression is essentially invisible. You're getting a 61% size reduction for free. This is the right setting when the image will be printed or viewed by professionals who will zoom in closely.
Quality 85% — The Professional Sweet Spot
| Metric | Value |
|---|---|
| File size | 1.6MB (78% reduction) |
| Visual quality | Indistinguishable from original to human eye |
| Zoom quality | Minor artifacts visible only at 300%+ |
| Use case | High-quality web use, e-commerce product photos |
Quality 85% is the setting that professional photographers and web developers typically use. The file is 78% smaller than the original with zero visible quality difference on any screen. Google's PageSpeed Insights recommends serving JPEG images at 85% quality.
Quality 75% — The Standard Web Setting
| Metric | Value |
|---|---|
| File size | 980KB (86% reduction) |
| Visual quality | Identical on screens under 27 inches |
| Zoom quality | Light artifacts visible at 200% zoom |
| Use case | Blog images, social media, email newsletters |
This is the most commonly recommended setting, and the tests confirm why: 86% smaller, zero visible difference in normal use. The 7.2MB original becomes under 1MB. This is the setting we recommend for most web images.
Quality 60% — Noticeable But Acceptable
| Metric | Value |
|---|---|
| File size | 520KB (93% reduction) |
| Visual quality | Slight texture loss in smooth areas (sky, skin) |
| Zoom quality | Visible compression blocks at 150% |
| Use case | Thumbnails, social media previews, speed-critical pages |
At 60%, you start to see quality trade-offs. Smooth gradients (sky, skin tones, blurred backgrounds) show subtle banding. Sharp edges and high-contrast areas remain clean. Acceptable for small preview images and contexts where loading speed matters more than perfect quality.
Quality 40% — Maximum Size Reduction
| Metric | Value |
|---|---|
| File size | 280KB (96% reduction) |
| Visual quality | Visible artifacts in most images |
| Zoom quality | Clearly degraded |
| Use case | Placeholder images, ultra-low-bandwidth contexts |
At 40%, quality trade-offs are clearly visible at normal viewing. Most users will notice the degradation. Only appropriate when file size is the absolute priority.
Format Comparison: JPG vs PNG vs WebP
Same test image, comparing formats at equivalent visual quality:
| Format | File Size | Relative Size | Notes |
|---|---|---|---|
| JPG (Q85) | 1.6MB | 1x (baseline) | Industry standard |
| PNG | 14.2MB | 8.9x larger | Lossless — much larger for photos |
| WebP (Q85) | 1.1MB | 0.69x smaller | 31% smaller than JPG |
| WebP (Q75) | 780KB | 0.49x smaller | 51% smaller than JPG |
For photographic images, WebP consistently delivers 25-35% smaller files than JPG at equivalent visual quality. The catch: compatibility. PNG and JPG work everywhere. WebP works in all modern browsers but may not open in older design software or some email clients.
Recommendation for 2026: Use WebP for web images. Use JPG as a fallback for anything that needs maximum compatibility. Never use PNG for photographs.
The Tools That Compress Best
We also compared the quality output from different compression tools at the same quality setting (Q75):
| Tool | File Size | Quality Score (SSIM) |
|---|---|---|
| Pillow (Python) | 984KB | 0.968 |
| Squoosh (Google) | 921KB | 0.971 |
| TinyPNG | 895KB | 0.966 |
| ImageMagick | 1.02MB | 0.964 |
| Photoshop "Save for Web" | 978KB | 0.969 |
All tools produce similar results at Q75. The differences in file size (less than 15%) and quality (under 1% on the SSIM scale) are negligible for real-world use. The choice of tool matters less than the quality setting.
Practical Recommendations by Use Case
Blog post hero image: Convert to WebP at Q75. Target under 200KB for images that appear above the fold.
E-commerce product photo: JPG at Q85. Customers zoom in on product images — quality matters more than file size here.
Email newsletter image: JPG at Q75. Email clients have inconsistent WebP support. Keep images under 100KB to avoid triggering spam filters.
Social media upload: Each platform recompresses your image after upload anyway. Upload at Q85 and let the platform handle final compression.
Profile/avatar image: PNG for images with transparency, JPG at Q85 for photographs. Keep under 500KB.
Background image (full-width): WebP at Q70. These are large images that appear on every page load — size optimization has the biggest impact on page speed.
What "Lossless" Actually Means
"Lossless" compression reduces file size without removing any image data. Every pixel in the compressed file is identical to the original. PNG uses lossless compression. This is why PNG files are much larger than JPG for photographs — no data is discarded, so the savings come only from more efficient encoding of repeated patterns.
For photographs, lossless compression produces relatively small savings (10-30%) compared to lossy compression (50-90%). Lossless compression is most effective on images with large flat color areas — logos, icons, diagrams, screenshots with text.
"Lossy" compression (JPG, WebP at lower quality) discards image data to achieve much smaller file sizes. The data discarded is chosen by the algorithm to be the least visually important — typically subtle color variations and fine texture detail. At quality 75+, the discarded data is invisible to the human eye at normal viewing distances.
Frequently Asked Questions
Does compressing an image multiple times degrade quality?
Yes, if you're saving as JPG multiple times. Each JPG save is lossy — it discards data. Compressing an already-compressed JPG discards more data on top of the previous loss. If you need to edit and re-save frequently, work in PNG (lossless) and convert to JPG only for the final output. Our image convert tool can help with format conversion.
What's the best image size for a website?
This depends on how the image is displayed. An image displayed at 600px wide on screen needs to be 1200px wide at most (to account for retina displays). A 4000px image displayed at 600px is 4x larger than necessary, slowing page loads with no visual benefit. Resize first, then compress.
Will compressing an image make it blurry?
At quality 75 or above: no, not at normal viewing size. "Blurry" is usually caused by resizing to a larger size than the original (upscaling), not by compression. Compression affects texture and color detail; resizing affects sharpness and clarity.
Does file size affect image quality when printing?
Not directly — it's the pixel dimensions that matter for print, not file size. A 3000×2000px image at Q75 JPG prints well up to about 10×7 inches at 300 DPI. The same image at Q95 JPG is a larger file but prints identically, because the printer uses pixel dimensions, not file size.
Try our free image compression tool — adjust quality with a slider, see before/after sizes instantly, download in one click.