Guides

JPG vs WebP vs AVIF: File Sizes Measured on 24 Photos

Everyone says WebP and AVIF are smaller than JPG. How much smaller, at what quality setting, and at what cost? We saved the same 24 test photos 23 different ways and measured every file.

By Diego Callegari · Tested 27 October 2026 · 6 min read

Quick answer

At the same measured quality, WebP files were 28–34% smaller than JPG and AVIF files 35–44% smaller. At an everyday setting (JPG quality 80) that is 75 KB for JPG, about 50 KB for WebP and about 42 KB for AVIF per photo. Lossless PNG was 643 KB. The catch: WebP and AVIF took roughly 50–120 times longer to save, and AVIF still does not open everywhere.

How we tested

Average size per photo

SettingJPGWebPAVIF
Quality 5043.5 KB · 32.2 dB34.6 KB · 33.2 dB28.9 KB · 33.4 dB
Quality 6049.8 KB · 32.9 dB39.5 KB · 34.0 dB42.6 KB · 35.4 dB
Quality 7059.5 KB · 33.9 dB44.8 KB · 34.7 dB59.7 KB · 37.5 dB
Quality 8075.4 KB · 35.4 dB58.4 KB · 36.4 dB80.2 KB · 39.2 dB
Quality 90112.6 KB · 38.0 dB96.5 KB · 39.6 dB118.7 KB · 41.3 dB
Quality 95162.8 KB · 40.6 dB140.6 KB · 41.8 dB—
PNG (lossless)643.3 KB

Note that the same number means something different per format: AVIF at quality 70 is about as large as JPG at 70, but much closer to the original. That is why the fair comparison is at equal quality, below.

At the same quality

Quality level (as JPG)JPGWebPAVIF
Everyday — JPG 80 (35.4 dB)75.4 KB≈ 50 KB (−34%)≈ 42 KB (−44%)
High — JPG 90 (38.0 dB)112.6 KB≈ 76 KB (−32%)≈ 67 KB (−41%)
Very high — JPG 95 (40.6 dB)162.8 KB≈ 117 KB (−28%)≈ 106 KB (−35%)
Average of 24 photos at equal measured quality (35.4 dB PSNR); WebP and AVIF interpolated.

The newer formats win most at the settings people actually use. At very high quality their advantage shrinks.

Three things that surprised us

Which format should you use?

Compress Image → Make photos smaller in your browser, with the before and after size shown.

Limits of this test

Frequently asked questions

How much smaller is WebP than JPG?

In our test on 24 photos, 28–34% smaller at the same measured quality — most at everyday settings, least at very high quality.

Is AVIF better than WebP?

For size, yes: 35–44% smaller than JPG against 28–34% for WebP. It was also the slowest to save, and not every program opens it yet.

What JPG quality should I use?

80–85 for most photos. Going from 85 to 95 nearly doubled the size in our test (89 KB to 163 KB on average) for a gain that is hard to see.