WebP Quality Settings Explained: What Number Should You Actually Use?
Author
Muhammad Awais
Published
May 26, 2026
Reading Time
9 min read
Views
7.5k

Everyone Picks 80% - But Is That Actually Right for Your Images?
The default answer you'll find in almost every image optimization article is "use 80% quality for WebP." I used to say the same thing. Then I started actually testing it across different image types and realized 80% is simultaneously too aggressive for some images and too conservative for others.
A product photo at 80% quality looks identical to the original at normal viewing size that's the right call. A code screenshot at 80% has slightly blurry monospace characters that become distracting if you zoom in. A logo with transparency at 80% can show color fringing around edges. A large hero photograph at 80% might still be 400KB when 70% would bring it to 180KB with no visible difference.
The "use 80%" advice isn't wrong it's just imprecise. The right quality setting depends on what's in the image, how it's displayed, and what the viewer's tolerance for compression artifacts is. This guide gives you the actual numbers for each image type based on real testing, not theoretical optimization.
What you'll learn: Why the quality number isn't a simple linear scale
Exact quality recommendations for 7 common web image types
How to find the minimum quality threshold for any specific image
The one scenario where higher quality actually produces larger files than the original
How quality settings interact with lossless mode
What the Quality Number Actually Controls
WebP's quality slider controls how aggressively the encoder discards image data. This isn't a linear scale where 80% quality means "keep 80% of the image data." The relationship between quality setting and perceptual quality is more like a curve the difference between 90% and 100% is often barely visible, while the difference between 40% and 50% is dramatic.
The encoder analyzes the image in 8×8 or 16×16 pixel blocks and decides how much detail to preserve in each block based on the quality setting. At high quality settings (85+), it preserves nearly everything. As you lower the setting, it starts aggressively simplifying areas of subtle color variation smooth gradients, out-of-focus backgrounds, shadow regions while trying to preserve high-contrast edges where compression artifacts are most visible.
The practical implication: images with lots of flat colors, simple shapes, and clear edges (UI screenshots, illustrations, logos) tend to hold up well at lower quality settings because the encoder can simplify the boring parts without touching the important parts. Images with complex photographic detail, fine texture, and subtle color gradients (product photos, food photography, portraits) show artifacts earlier because there's no "boring" area to simplify everything is detail.
According to Google's WebP comparative study, WebP achieves equivalent perceptual quality to JPEG at roughly 25-34% smaller file sizes across a broad sample of web images. But that average hides significant variance for some image types the advantage is 50%+, for others it's closer to 10%.
Quality Settings by Image Type - Real Testing Results
I ran 140 images across 7 categories through conversion at every quality level from 60 to 95, then compared file sizes and checked for visible artifacts at 1x and 2x zoom. Here's what the data showed:
Product Photography (e-commerce, lifestyle shots)
Recommended: 78-82%
This is where the standard "80%" advice is most accurate. Product photos have complex photographic detail but also large areas of background (white, gray, or gradient) that compress very efficiently. At 78-82%, file sizes typically come out 60-72% smaller than the source JPEG with no visible quality difference at typical display sizes (400-800px wide). At 75%, a small percentage of images start showing very subtle banding in smooth gradient areas still acceptable for most use cases but worth checking if your products have pristine white backgrounds with subtle shadows.
UI Screenshots and App Screenshots
Recommended: 87-92%
Screenshots contain crisp text, sharp UI element borders, and precise pixel-level detail that the WebP encoder doesn't handle as gracefully at lower quality settings. At 80%, you'll notice subtle blurring around 12-14px font sizes in screenshots often not visible at 1x display but distracting when users zoom in or view on high-DPI screens. At 87%, screenshots look effectively identical to the original. File sizes are still 40-55% smaller than PNG equivalents at this setting, which is a significant win.
Code Screenshots and Terminal Output
Recommended: 90-95%
Code screenshots are the most demanding use case because readers actively scrutinize every character. Monospace fonts at small sizes (typically 13-15px in code screenshots) show blurring artifacts earlier than proportional fonts. At 85%, some character rendering looks slightly soft. At 90-95%, code screenshots look sharp even when zoomed to 200%. The file size savings are more modest at this range (30-45% vs PNG), but the quality is non-negotiable for tutorial and documentation content.
Logos and Brand Assets
Recommended: Lossless (100%) or SVG
Honestly, logos shouldn't be WebP at all in most cases. If the logo originated as a vector (from Illustrator, Figma, or any SVG source), use SVG it's infinitely scalable, often smaller than any raster format, and renders perfectly on every screen density. Our SVG to JSX/TSX Converter makes it easy to use SVGs inline in React components without any file size overhead.
If you genuinely need a raster logo for email signatures, PowerPoint templates, or systems that don't support SVG use lossless WebP (quality 100%). Logos have very specific, precise colors that can shift visibly even at mild lossy compression, and any color fringing around text or sharp edges is immediately obvious.
Hero Images and Landing Page Banners
Recommended: 72-78%
Large display images hero sections, full-width banners, background images are viewed at a distance rather than examined closely. The brain processes large images more holistically and is less sensitive to fine detail than when examining a small product photo. This means you can push the quality lower than you'd expect. At 75%, a 1920×1080 hero image is often indistinguishable from the 80% version, but the file size difference can be 80-120KB meaningful when you're trying to hit LCP targets. Check the result at full browser width on a high-DPI display before committing.
Illustrations and Flat Design Graphics
Recommended: 80-85%
Flat design with limited color palettes and clean geometric shapes compresses very efficiently. The large areas of solid or near-solid color that characterize flat design give the encoder obvious opportunities to simplify. At 80%, flat design illustrations typically come out 65-78% smaller than PNG with zero visible difference. Gradients within illustrations need slightly more care strong multi-stop gradients can show subtle banding at 75% and below.
Infographics and Data Visualizations
Recommended: 85-90%
Infographics combine text, data labels, icons, and graphical elements a mix that benefits from the higher quality setting used for screenshots. The text and labels are the critical elements; the chart bars and background can tolerate compression but the readability of 10px labels cannot. At 85-90%, infographics export cleanly with no readable text degradation.
How to Find the Minimum Quality Threshold for Any Image
Rather than memorizing quality settings per image type, you can use a simple binary search approach to find the right setting for any specific image. This takes about two minutes and gives you a precise answer for images that matter hero images, key product shots, content that gets a lot of traffic.
Start at 75%: Convert your image at 75% quality. If it looks fine at 1x and 2x zoom, you have room to go lower. If you see artifacts already, go higher.
Test the midpoint: If 75% looked fine, try 65%. If 75% showed artifacts, try 85%. Keep halving the gap.
Find the threshold: You're looking for the lowest quality setting where the image looks acceptable. Usually you can find this within 3-4 iterations.
Add a 3-5% buffer: Set your final quality 3-5 percentage points above the threshold. This gives you headroom for different devices, screen calibrations, and future re-encoding.
The before/after split viewer in our Image to WebP Converter makes this comparison fast convert at a quality setting, drag the slider in the comparison view, and you'll immediately see any artifacts against the original. You can convert the same image multiple times at different settings to compare outputs.
The Quality 100% Trap - When More Is Actually Worse
This trips up a lot of developers: setting WebP quality to 100% doesn't give you "the best possible output." At maximum lossy quality, the encoder is so constrained in what it can discard that it sometimes produces files larger than the source JPEG. I've seen 450KB JPEGs convert to 520KB WebP at 100% quality a negative result.
Quality 100 in lossy mode is not the same as lossless mode. Lossy at 100% still uses the lossy algorithm but with maximum bit allocation it's inefficient and produces unnecessarily large files. If you need pixel-perfect output with no quality loss, use lossless mode explicitly rather than maxing out the lossy slider.
Lossless WebP is consistently 20-30% smaller than equivalent PNG with truly zero quality difference every pixel preserved exactly. Use lossless for logos, screenshots that will be re-edited, or any image where exact color reproduction is critical. Use lossy (at the appropriate quality for your image type) for everything else.
Quality Settings in Context: The Full Optimization Picture
Quality setting is one variable in image optimization but it's not the only one that matters. Two images at the same quality setting can have very different file sizes based on their dimensions. A 2400×1600 image at 80% quality will be much larger than an 800×533 version of the same image at 80% quality. Always resize to your actual display dimensions before converting.
The compound effect of right-sizing plus right-quality is significant. A 2400px wide product photo that displays at 800px, converted at 80% quality without resizing, might be 380KB. The same image resized to 800px first, then converted at 80%, comes out around 65KB. Same visual result, 82% smaller file. This is why our converter includes a proportional resize feature so you can handle both steps in one pass.
For a complete picture of how image optimization fits into your broader Core Web Vitals strategy, our guide on fixing Core Web Vitals and page speed covers the full stack from image format to font loading to JavaScript execution.
And if you're working specifically with PNG source files which have their own quality considerations because of the lossless source our PNG to WebP guide covers the transparency and quality edge cases that generic quality guides miss.
Quick Reference: WebP Quality Settings at a Glance
Product photography: 78-82% - best size/quality balance for photographic content
UI and app screenshots: 87-92% - protects text and border sharpness
Code screenshots: 90-95% - monospace font legibility is non-negotiable
Hero images and banners: 72-78% - viewed at distance, tolerates more compression
Flat design illustrations: 80-85% - large flat areas compress efficiently
Infographics: 85-90% - text labels need protection
Logos: Lossless (100%) or use SVG - precise colors, no tolerance for fringing
Avoid: Lossy at 100% - larger files than necessary, not the same as lossless
Frequently Asked Questions
What is the best WebP quality setting for websites?
For most web images product photos, blog illustrations, lifestyle photography 80% is a reliable default that balances file size and quality well. However, the right setting varies by image type: UI screenshots need 87-92% to preserve text sharpness, hero images can go as low as 72-75%, and code screenshots need 90-95%. Using a single setting for all images means you're either compromising quality where it matters or leaving file size savings on the table where it doesn't.
What is the difference between lossy and lossless WebP?
Lossy WebP discards image data that the human visual system is least sensitive to, producing much smaller files at the cost of some quality the quality slider controls how aggressively this happens. Lossless WebP preserves every pixel exactly as in the original, producing files 20-30% smaller than equivalent PNG with zero quality trade-off. Use lossy for photographs and complex graphics, lossless for logos, screenshots you'll re-edit, and anything where exact color reproduction matters.
Does WebP quality 80% look the same as the original?
For most photographs and product images viewed at normal screen sizes, yes the difference at 80% is imperceptible to the human eye. The compression algorithm specifically targets image data humans are least sensitive to. At 2x zoom on high-DPI displays, very subtle differences may be visible in smooth gradient areas on some images. For images with fine text, UI elements, or logos, 80% can produce noticeable softening use 87%+ for those.
Why is my WebP file larger than the original JPEG?
This most commonly happens when using quality 100% in lossy mode. At maximum lossy quality, the encoder is so constrained that it can't find efficient encodings, sometimes producing files larger than the source. If you need lossless output, switch to lossless mode explicitly rather than maxing out the lossy slider. For standard lossy conversion, keeping quality between 75-90% consistently produces files smaller than the original JPEG at equivalent visual quality.
Should I use the same quality setting for all images on my website?
A single quality setting is convenient but not optimal. A smarter approach is to use quality profiles by image role: a "content" profile at 80% for blog images and product photos, a "UI" profile at 88% for screenshots and interface graphics, and lossless for logos and brand assets. Most image optimization workflows whether a build pipeline, a WordPress plugin, or a pre-upload converter can apply different settings to different image categories once you've defined the profiles.
How do I test if my WebP quality setting is good enough?
Open the converted WebP in a browser tab alongside the original. Zoom to 200% and look at the areas of finest detail text, sharp edges, fine texture. If you can't distinguish the WebP from the original at 200% zoom, your quality setting is sufficient. The before/after split viewer in our Image to WebP Converter makes this comparison fast you can check multiple quality settings on the same image within seconds without leaving the tool.
Continue Reading
View All HubLevel Up Your Workflow
Free professional tools mentioned in this article
Advanced SEO Meta Tag & Open Graph Generator
Generate highly optimized meta tags, Twitter Cards, and Open Graph data for Google and Facebook with real-time visual previews.
Tailwind Bento Grid Builder
Interactive visual builder for Tailwind CSS bento grid layouts. Create complex grids, resize boxes visually, and instantly export production-ready HTML code.
JSON to TypeScript Converter
Convert any JSON object into clean TypeScript interfaces instantly. Supports nested objects, arrays, and optional fields free, no signup, runs entirely in your browser.
Stripe & PayPal Fee Calculator
Calculate the exact Stripe and PayPal transaction fees for US and UK markets. A free developer tool to estimate SaaS payouts, merchant costs, and revenues.




