How is it calculated?
The image is opened in the browser, optionally narrowed, and saved again in the chosen format. With JPG and WEBP, lower quality means smaller files. PNG is lossless and makes large files for photos.
Example
A 4 MB iPhone HEIC photo → 1920 px JPG, about 400 KB.
Frequently asked questions
Is the location data in the photo kept?
No. Location and camera data (EXIF) are removed from the re-saved image, which is safer for sharing.