Which format should you actually use?
Photographs: WebP if the destination accepts it, JPG if it must be safe everywhere. Screenshots, logos, anything with sharp text or flat colour: PNG. Quality setting: start at 85 and look at the knee in your own table. Lower settings make flat areas like skies go blotchy sooner.
How the numbers are produced
Each image is decoded to raw pixels once, then encoded seventeen times: JPG and WebP at eight quality settings each, plus one lossless PNG. Nothing is resized, so the only variable is the encoder and its quality setting. The byte counts are the actual encoded sizes, read from the resulting files.
The encoders are the ones built into your own browser. That is worth saying plainly, because it means two people can get slightly different numbers from the same photo on different browsers, and both are correct for their own machine. The exception is Safari, which cannot save WebP from a web page: there the WebP column reads “not supported”, so run the benchmark in Chrome, Edge or Firefox to compare WebP. A server-side benchmark would hide that behind one library's behaviour.
The knee is defined by a stated rule rather than by eye. Each step from one quality setting to the next costs a certain number of extra bytes per quality point. Take the median of those costs, then find the first step that costs more than twice it: that is where the curve turns, and the setting below it is the last cheap one. The whole curve is in the table, so you can apply a different rule if you prefer.
Three things worth knowing before you look
- The top of the scale is nearly all waste. Going from 90 to 100 typically multiplies the file size while changing almost nothing you can see at normal viewing size. If a page feels slow, that setting is the first place to look.
- Resizing beats quality, and it is not close. Halving the width quarters the pixel count. No quality setting can match that. Try the same image in the resizer and compare.
- Content decides everything. A photo of a foggy beach compresses beautifully. A photo of gravel does not. Anyone quoting one percentage for "images" is averaging over pictures that are nothing like yours.
Once you know your number
If the goal is a size limit rather than a quality setting, the compressor will hunt for the highest quality that fits a byte budget you type in. If the goal is a page that loads faster, resize first with the resizer, then apply what you learned here. If you came from an iPhone, HEIC converts here too, and the same curve applies to the JPG that comes out.
One thing the table cannot tell you: whether the picture still looks right. Bytes are measurable and appearance is not, so check the result at the size people will actually see it, not zoomed in.