Why WebP Is Smaller (and When to Use It)

If WebP is smaller than JPEG and PNG while looking just as good, why isn't every image on the web already WebP? The size advantage is real and comes from newer compression techniques, but the format also has a few practical edges worth knowing before you switch everything over.
Smarter prediction and bigger blocks
WebP's lossy mode borrows from video compression (the VP8 codec). Instead of JPEG's fixed 8×8 blocks, it predicts each block from its neighbours and only stores the difference — so flat and gradually changing areas cost almost nothing. It also uses a more efficient final entropy-coding step. Together these mean WebP can reach the same visual quality as JPEG while storing 25–35% fewer bytes, and the gap is often larger on simple, graphic-heavy images.
The prediction step is where most of the saving comes from. VP8 divides the frame into macroblocks and offers a handful of intra-prediction modes — copy the pixels from above, copy them from the left, average both, or extend a diagonal — then records only how wrong the guess was. On a wall, a sky or a gradient the guess is nearly right and the residual is almost empty. The final stage is a boolean arithmetic coder, which can spend a fraction of a bit per symbol where JPEG's Huffman codes must spend a whole one.
Lossless and transparency too
WebP is not just a JPEG replacement. Its lossless mode typically produces files around 25% smaller than PNG, and unlike JPEG it supports an alpha channel, so you get transparency with far better compression than PNG offers. That makes WebP a single format that can stand in for both JPEG and PNG across an entire site, simplifying your asset pipeline while cutting total page weight.
Lossless WebP is a different engine again. It applies reversible transforms before coding: subtract-green, which decorrelates the three channels; a palette transform for images with few distinct colours; and spatial predictors chosen per block rather than per row as in PNG. Its backward references can also point anywhere earlier in the image rather than only a short distance back, so a repeated icon or a tiled pattern costs almost nothing the second time it appears.
Where the saving is biggest — and smallest
The 25–35% figure is an average, and the spread around it matters more than the average does. Flat illustrations, interface mock-ups, logos on solid backgrounds and screenshots often come out 40–60% below an equivalent JPEG, because prediction handles large uniform areas extremely well. Dense, noisy photographs — foliage, gravel, film grain, high-ISO night shots — are the hard case, and there WebP may be only 10–15% ahead.
The quality setting shifts the balance too. The advantage is widest in the 50–75 band, where WebP stays clean while JPEG is already breaking into blocks, and it narrows above about 90, where a well-tuned JPEG encoder can match or even beat it. If you export at quality 95 you may see little benefit from switching; at quality 70 the difference is hard to miss.
Switching without breaking anything
Serve WebP the safe way rather than by renaming files. Either list it as a source inside a picture element with a JPEG or PNG fallback, or let the server negotiate using the Accept header the browser sends, which announces image/webp when the format is supported. Both routes guarantee that a client which cannot read WebP never receives one.
Two practical details are easy to miss. Converting an existing JPEG to WebP re-encodes data that has already lost detail, so the result carries both formats' artifacts — go back to the original whenever you still have it. And test the rest of your tooling: some content systems, ad platforms, print workflows and older desktop applications still reject WebP outright, and one failed upload costs more time than the kilobytes saved.
When you might still avoid it
Support is now excellent — every current browser reads WebP — but a few situations still call for caution. Some older desktop software, email clients and legacy systems do not display WebP, so images meant to be downloaded and opened elsewhere may be safer as JPEG or PNG. And at very high quality settings the size advantage over a well-optimised JPEG narrows. For the web itself, though, WebP is usually the smallest sensible default, with a JPEG fallback only if your audience includes very old software.
The takeaway
WebP is smaller because it predicts blocks and codes them more efficiently, and it covers both photos and transparent graphics. Use it as your web default, keeping JPEG/PNG only for compatibility. Convert any image to WebP in PixelPress to see the saving.
Compress PNG, JPEG and WebP right in your browser.
More guides

PNG vs JPEG vs WebP: Which Format to Use
Each format is good at a different job. Learn what PNG, JPEG and WebP are built for, and a simple rule for picking the right one every time.

How Image Compression Works: Lossy vs Lossless
What actually happens when a file shrinks? A plain-language look at redundancy, the human eye, and why some compression is reversible and some is not.

How to Compress Images Without Losing Quality
You can cut most of an image's file size while keeping it visually perfect. Here is the practical workflow and the settings that matter.