The right width for each placement
| Placement | Width | Why |
|---|---|---|
| Banner, home image | 1920 px | covers a common computer screen |
| Product page | 1200 px | sharp on mobile and on high-density screens |
| Category thumbnail | 600 px | displayed at about 300 px |
Uploading a 4000 px image for a 1200 px slot makes the page load about ten times too many pixels. That's where the biggest savings are, even before the format.
A real example
The living room photo above is a 7.4 MB PNG. Run through here as WebP, at a banner's width, it becomes light enough for a home page, with the same look on screen.
WebP or AVIF?
| Criterion | WebP | AVIF |
|---|---|---|
| file size compared with JPG | 25 to 34% smaller according to Google | often smaller still |
| transparency | yes | yes |
| browsers (caniuse, November 2026) | about 97% | about 97% |
| conversion speed | fast | noticeably slower |
| Google Merchant Center | accepted | not accepted |
| WordPress | since version 5.8 | since version 6.5, if the server supports it |
WebP is the safe choice for the whole site. AVIF is worth it on large banners.
Why it matters
Google measures LCP, the time it takes to display the largest element on the page. It's often an image, and the threshold considered good is 2.5 seconds. For this main image, also avoid lazy loading (loading="lazy").
Depending on your platform
- Shopify already serves WebP or AVIF: mostly upload images at the right size. See Shopify images
- WordPress and WooCommerce: upload WebP files directly to the media library
- custom site: the
<picture>tag, with a JPG fallback for very old browsers
Frequently asked questions
Does WebP improve SEO?
Indirectly: pages display faster, which Google takes into account with Core Web Vitals.
Which quality should I choose?
90, the default, isn't noticeable. For a site with a lot of images, 80 to 85 is still fine: check with “Compare”.
Does AVIF work on iPhone?
Yes, since iOS 16.4.

