Why file size and quality trade off
Lossy formats like JPG and WebP store an approximation of the image — lower settings approximate more aggressively, removing detail you mostly cannot see before they remove detail you can.
There is a sweet spot where a photo gets meaningfully smaller without looking any different on screen. This page shows where that point usually sits and how to find it for your own image.
Lossy formats like JPG and WebP store an approximation of the image — lower settings approximate more aggressively, removing detail you mostly cannot see before they remove detail you can.
Start around quality 85-90, compare the preview to the original at 100% zoom, and step down a little at a time until you can just start to notice a difference — then step back up one notch.
JPG compression is lossy and controlled by a quality slider, trading some detail for much smaller files. PNG compression is lossless — size shrinks only by re-organizing data, with every pixel staying exactly the same.