Measured guide
WebP vs JPEG: file size at the same quality, measured

Short answer
Use WebP for images on your own website and keep JPEG where a platform or tool asks for it. At the same SSIM score, WebP was 24% to 35% smaller than JPEG on our test photo and 46% to 71% smaller on a chart with text, in line with the 25-34% Google publishes for photos. Convert from the original, not from a JPEG you already compressed: our converter's default 92% setting made a WebP 10.9% larger than the JPEG it came from.
Key takeaways
- Photo, same SSIM: WebP was 27.2% smaller at 0.95 and 34.8% smaller at 0.97. Google's published figure is 25-34% at equivalent SSIM.
- Chart with text, same SSIM: WebP was 45.5% smaller at 0.95 and 70.6% smaller at 0.99, because flat colors and sharp edges are where JPEG spends the most bytes.
- The quality numbers do not match between formats. At "75" in both encoders, the WebP photo was 30.7% smaller and still scored slightly higher.
- Re-encoding a JPEG costs quality twice. A WebP made from our 483 KB JPEG at quality 85 was 22% smaller but dropped from SSIM 0.9585 to 0.9487 against the original.
- MDN describes WebP support as broad in the latest major browsers, not historical; YouTube Help names JPG or PNG for custom thumbnails.
How much smaller is WebP than JPEG?
Comparing two formats at the same quality setting tells you nothing, because "quality 80" means something different in each encoder. So we encoded each test image at every quality from 10 to 100 in both formats, decoded every file with the reference decoder, and scored it against the original with SSIM, where 1.0 is identical. For each SSIM target the table shows the smallest real file of each format that reached it.
The photo is a 2000 x 1192 harbor scene from Wikimedia Commons (CC0): sky, water, buildings and boats. The second image is our own 1600 x 720 chart and table with small text, the kind of graphic a creator exports for a post.
| SSIM target | JPEG | WebP | WebP vs JPEG |
|---|---|---|---|
| 0.90 | 174.6 KB (q29) | 127.1 KB (q28) | 27.2% smaller |
| 0.93 | 266.2 KB (q56) | 184.9 KB (q51) | 30.5% smaller |
| 0.95 | 394.4 KB (q78) | 286.9 KB (q78) | 27.2% smaller |
| 0.97 | 717.2 KB (q93) | 467.5 KB (q89) | 34.8% smaller |
| 0.98 | 1,241.4 KB (q98) | 947.6 KB (q99) | 23.7% smaller |
Smallest file reaching each SSIM.
Our measurements, October 27, 2026: cjpeg from libjpeg-turbo 3.1.3 with -optimize, cwebp 1.6.0 with -m 6, SSIM on RGB with ffmpeg. Neither format reached 0.99 on the photo; the best scores were 0.9836 for JPEG at q100 and 0.9802 for WebP at q100, because both store color at half resolution.
Why graphics gain the most
Text, thin rules and flat color are hard for JPEG: its 8 x 8 blocks ring around every sharp edge, and it needs a high quality setting to hide that. WebP predicts each block from its neighbors and handles flat areas cheaply, so the gap is far wider than on a photo.
| SSIM target | JPEG | WebP | WebP vs JPEG |
|---|---|---|---|
| 0.95 | 30.0 KB (q16) | 16.3 KB (q10) | 45.5% smaller |
| 0.97 | 45.2 KB (q37) | 17.6 KB (q14) | 61.0% smaller |
| 0.98 | 57.9 KB (q61) | 19.3 KB (q20) | 66.7% smaller |
| 0.99 | 106.2 KB (q91) | 31.2 KB (q66) | 70.6% smaller |
Smallest file reaching each SSIM.
Same tools and method as the photo table. For a graphic like this one, lossless WebP is worth a look too: it kept every pixel at 35.8 KB, only a little more than the lossy WebP at 0.99 and a third of the JPEG. Our lossless guide has the numbers.
The crop below is three rows of the chart's table, enlarged twice, from the smallest JPEG and the smallest WebP that reached SSIM 0.98. At this score the two are hard to tell apart; the difference is the file size.

Why "quality 75" is not the same in both
Both encoders take a quality number from 0 to 100, and it is tempting to compare them at the same number. The scales are not the same, so the table puts the size and the SSIM side by side.
| Image and setting | JPEG | WebP |
|---|---|---|
| Photo, quality 75 | 363.5 KB, SSIM 0.9470 | 251.9 KB, SSIM 0.9480 |
| Photo, quality 85 | 483.1 KB, SSIM 0.9585 | 382.2 KB, SSIM 0.9651 |
| Chart, quality 75 | 69.8 KB, SSIM 0.9837 | 33.8 KB, SSIM 0.9906 |
| Chart, quality 85 | 86.8 KB, SSIM 0.9874 | 44.7 KB, SSIM 0.9928 |
Our measurements, same run. On these two images WebP at the same number was both smaller and slightly better, but that is a property of these encoders and these images, not a rule. To compare fairly, pick the quality by result: look at the image at its display size, or measure it.
Should you convert the JPEGs you already have?
Only if you keep the quality low enough to save space, and only when you have nothing better to start from. A JPEG has already thrown detail away, and a lossy WebP made from it throws away more. We used the quality 85 JPEG of the photo as the file you have:
| Result | Size | SSIM against the original photo |
|---|---|---|
| The JPEG you start with (quality 85) | 483.1 KB | 0.9585 |
| WebP from it, cwebp quality 85 | 378.9 KB, 21.6% smaller | 0.9487 |
| WebP from it, cwebp quality 75 | 253.3 KB, 47.6% smaller | 0.9384 |
| WebP from it, our converter at its default 92% | 535.7 KB, 10.9% larger | 0.9530 |
Our measurements; the last row is the live Koldflux JPG to WebP converter run in headless Chromium on the same JPEG. The 92% default made the file bigger and slightly worse at once, so the converter now also offers 85% and 75% and tells you when the result came out larger than your file.
The better route is to export WebP straight from the original, the PNG, RAW or editor file you made the JPEG from. A WebP made from the original at quality 85 was 382.2 KB at SSIM 0.9651: smaller than the quality 85 JPEG and closer to the original than the JPEG itself.
Where WebP works, and where JPEG is still the safe choice
On your own website, WebP is the better default for both photos and graphics. MDN describes WebP support as broad in the latest versions of the major browsers, though not historically deep, and notes that Safari support depends on the macOS version as well as the Safari version.
Outside the browser, check what the destination asks for. YouTube Help, for example, names JPG or PNG for custom thumbnails. Before you switch a file that leaves your site, check that the place it goes reads WebP; a JPEG avoids the question.
Limits and what we did not test
- Two images: one photo and one chart. A portrait, a night scene or a screenshot full of text can land elsewhere in the 24% to 71% range or outside it.
- One JPEG encoder and one WebP encoder, both with default chroma subsampling. mozjpeg, Photoshop, Squoosh or a CMS plugin will give different sizes at the same setting.
- SSIM is one measure of similarity. It does not weigh every artifact the way your eye does, so we also show the crop.
- We did not test AVIF, which compresses further still but has narrower support than WebP.
- We did not test decode speed or battery use on phones.
Do it in your browser
Free Koldflux tools, no account needed.
Questions people ask
Is WebP better than JPEG?
For file size on the web, yes in our test: 24% to 35% smaller on a photo and 46% to 71% smaller on a chart at the same SSIM. JPEG is still the safer choice when a platform or app asks for it, such as YouTube custom thumbnails.
How much smaller is WebP than JPEG?
Google publishes 25-34% at equivalent SSIM. We measured 23.7% to 34.8% on a photo across SSIM 0.90 to 0.98, and 45.5% to 70.6% on a chart with text across 0.95 to 0.99.
Does converting JPG to WebP reduce quality?
Yes, a little, because it is a second lossy encode. In our test a quality 85 WebP made from a quality 85 JPEG dropped from SSIM 0.9585 to 0.9487 against the original photo. Export WebP from the original when you can.
Why did my WebP come out bigger than the JPEG?
The quality setting was too high for a file that was already compressed. Our converter at 92% turned a 483.1 KB JPEG into a 535.7 KB WebP. Choose 85% or 75%, or keep the JPEG.
What WebP quality should I use?
On our photo, WebP at quality 78 reached SSIM 0.95 with 27.2% fewer bytes than the JPEG that reached it. Start between 75 and 85 for photos, look at the result at display size, and go lower for graphics: quality 20 already scored 0.98 on our chart.
Do all browsers support WebP?
MDN describes WebP support as broad in the latest versions of the major browsers, without deep historical support, and says Safari support depends on the macOS version too.
Related
More guides on this topic
Sources and how we checked
- WebP: An image format for the Web (Google for Developers) (checked 2026-10-27)
- WebP Compression Study (Google for Developers) (checked 2026-10-27)
- Image file type and format guide (MDN) (checked 2026-10-27)
- Add video thumbnails on YouTube (YouTube Help) (checked 2026-10-27)
- Harbour chapel, red boat, Nea Artaki, Evia Greece (Wikimedia Commons, CC0) (checked 2026-10-27)
- Our test log, October 27, 2026 (Koldflux, plain text) (checked 2026-10-27)
- Our measurement script (Koldflux, Python) (checked 2026-10-27)
- Our results for every quality setting (Koldflux, JSON) (checked 2026-10-27)
- Our test chart, graphic-ref.png (Koldflux) (checked 2026-10-27)
Sizes and SSIM are our measurements on October 27, 2026 on macOS: cjpeg (libjpeg-turbo 3.1.3) with -optimize and cwebp 1.6.0 with -m 6 at every quality from 10 to 100, each file decoded with djpeg or dwebp and scored with the ffmpeg SSIM filter on RGB against the reference. The photo is a CC0 Wikimedia Commons file scaled to 2000 px wide; the chart is our own HTML rendered by Chromium. Control: each reference scored 1.000000 against itself. The converter row comes from the live Koldflux JPG to WebP tool in headless Chromium. Google's and MDN's statements are quoted from the pages in the sources. WebP and YouTube are trademarks of Google LLC; Koldflux is not affiliated with or endorsed by Google.