How much should you compress a photo? JPEG vs WebP, with real numbers
A photo from a modern phone weighs 3–8 MB. Send thirty of them by email and you hit the attachment limit; put them on a website and the page crawls on mobile data. The good news: most of those bytes are detail your eyes never see on a screen, so the right settings can remove over 90% of the size while the photo looks the same.
Compress images now, nothing uploaded
Why are phone photos so heavy?
Two reasons. First, pixel count: a 12-megapixel camera saves about 4032×3024 pixels, while a phone screen shows roughly 1080 across. Second, saved quality: cameras store JPEG at 90–95% in case you want to print or crop later.
That gives you two dials to turn: the size in pixels and the compression quality. The first one matters more.
Resizing does most of the work
Set the maximum long edge to 1600 px and the tool turns a 4032×3024 photo into 1600×1200. That alone removes 84.3% of the pixels. At 1080 px you get 1080×810, 92.8% fewer pixels. Because file size roughly follows pixel count, this is where the big savings come from, before quality is even touched.
Real measurements on a landscape photo
We took a 3543×2444 landscape photo weighing 5.79 MB and compressed it with the same kind of JPEG and WebP encoders browsers use:
| Long edge | JPEG 90% | JPEG 75% | JPEG 60% | WebP 75% |
|---|---|---|---|---|
| Original 3543 px | 1.57 MB | 959 KB | 738 KB | 574 KB |
| 1600 px | 458 KB | 269 KB | 205 KB | 198 KB |
| 1080 px | 229 KB | 133 KB | 100 KB | 103 KB |
- 1600 px at 75% is a great default. The photo drops from 5.79 MB to 269 KB, about 95% smaller, and still looks sharp on any phone or laptop.
- 75% is the sweet spot. Going from 90% to 75% nearly halves the file with no visible change. Dropping to 60% saves only about 20% more and starts to show blocky patches.
- WebP shines on big images. At full size WebP 75% is about 40% lighter than JPEG 75%; at 1080 px the two are almost equal.
Suggested settings by use
| Use | Long edge | Format and quality |
|---|---|---|
| Email, WhatsApp, Messenger | 1600 px | JPEG 75% |
| Website or blog | 1280–1600 px | WebP 75% |
| Online store product photo | 1080–2000 px | JPEG 80% |
| Archive or print | Keep original | Keep the original file |
Social networks and marketplaces re-compress what you upload anyway. Compressing first at a sensible level makes uploads faster and keeps you in control instead of letting the platform squeeze the photo twice.
Things to know before you compress
- Do not compress the same file again and again. Each JPEG save loses a little detail. Always start from the original.
- Transparent images such as logos should go to WebP. JPEG cannot store transparency and fills it with white.
- Screenshots with text can come out larger as JPEG than the original PNG. The tool warns you when that happens; just keep the original.
- Hidden data is removed. GPS coordinates and camera details disappear, which is a privacy bonus when you share photos.
Measurements were made with libjpeg and libwebp; browsers can differ by a few percent. 1 KB = 1024 bytes.