Every product photo is a trade-off. Make the file too large and your pages crawl on a mobile connection. Compress it too hard and the fabric texture turns to mush, edges grow halos and buyers lose confidence in what they are looking at. The good news is that the sweet spot is easy to find once you stop treating file size and quality as one setting.
Three decisions control almost all of the outcome: pixel dimensions, file format and compression level. This guide shows you how to set each one, what to aim for by image type, and how to test your own photos in about ten minutes.
Why file size still matters
Google rates Largest Contentful Paint (LCP), the time taken for the biggest visible element to appear, as good at 2.5 seconds or less and poor above 4 seconds. On most web pages that largest element is an image, and on a product page it is usually your main photo.
Speed also has a commercial link. In the Milliseconds Make Millions study by Deloitte and 55, commissioned by Google and covering 37 brand sites, a 0.1 second improvement in mobile speed metrics was associated with an 8.4% rise in retail conversions. It is an observational result, so treat it as a sign of direction rather than a promise for your store.
There is one important caveat. Google's analysis of real-world LCP data found that image download time is rarely the biggest bottleneck. Slow servers and late-starting image requests often cost more. Compressing images is necessary, but if your main photo is lazy-loaded or buried behind heavy scripts, a smaller file alone will not fix the page.
The simple maths still makes the case. A gallery of eight 2 MB photos is 16 MB, which takes roughly 13 seconds to transfer on a steady 10 Mbps connection. The same gallery at 250 KB per image is 2 MB and takes under two seconds.
The three levers that control file size
1. Pixel dimensions: the biggest saving
File size follows total pixels, and total pixels grow with the square of the dimensions. Doubling an image from 1000 x 1000 to 2000 x 2000 gives you four times as many pixels to store. A 12 megapixel phone photo at 4032 x 3024 holds about three times the data of a 2000 x 2000 export, and most of that extra detail is never seen.
For most listings, 2000 x 2000 pixels is the practical ceiling. It is large enough for zoom on Amazon, which asks for more than 1000 pixels on the longest side, and it matches the 2048 x 2048 size widely recommended for square Shopify product photos. Go larger only if buyers genuinely need to inspect fine detail, as they do with jewellery, watches or printed text.
2. File format: match it to the content
| Format | Best for | Watch out for |
|---|---|---|
| JPEG | Product photos and marketplace uploads | No transparency; quality falls with every re-save |
| PNG | Logos, graphics, sharp text and transparent cut-outs | Very large when used for photographs |
| WebP | Images served on your own website | Not accepted by every marketplace uploader |
| AVIF | Modern delivery where your platform converts for you | Slower to encode; patchy upload support |
Google's WebP compression study found WebP files 25% to 34% smaller than JPEG at equivalent measured quality. That is a useful gain on a self-hosted store, but JPEG remains the safest upload format for marketplaces. Amazon, for example, accepts JPEG, TIFF, PNG and non-animated GIF, and states a preference for JPEG. Shopify converts and serves modern formats automatically to supported browsers, so you can upload a clean JPEG and let the platform handle delivery.
3. Compression level: where the sweet spot lives
Quality numbers are not a percentage of the original, and they are not identical between apps. A setting of 80 in one tool may not match 80 in another. What is consistent is the shape of the curve: dropping from 100 to 85 usually removes a large share of the file with almost no visible change, while dropping from 70 to 50 saves less and damages far more.
For most product photos, start at a quality of 80 to 85. Google's WebP study used JPEG quality 75 as its general reference level, which is a sensible lower limit for simple images. Below that, inspect the result carefully.
Practical file size targets by image type
These are working targets rather than platform rules. They assume a 2000 x 2000 pixel JPEG unless noted, and busy images will naturally land towards the top of each range.
| Image type | Suggested quality | Target size |
|---|---|---|
| Simple product on white | 80 | 100 to 250 KB |
| Lifestyle scene | 80 to 85 | 250 to 500 KB |
| Textured fabric, fur or knitwear | 85 | 350 to 700 KB |
| Jewellery or fine detail | 85 to 90 | 300 to 700 KB |
| Infographic with text | 85 to 90, or PNG | 200 to 600 KB |
| Thumbnail or swatch (under 500 px) | 75 to 80 | Under 50 KB |
Upload limits are a separate matter and are far higher than these targets. Shopify accepts product images under 20 MB and up to 20 megapixels, while Amazon caps the longest side at 10,000 pixels. Shopee and Lazada limits are lower and are published inconsistently by third parties, with 2 MB the figure most often quoted for Shopee, so check the current Seller Centre page. Staying under 1 MB keeps you clear of every limit covered here.
What over-compression looks like
Before you approve a setting, view the image at 100% and look for these warning signs:
- Blocking: visible 8 x 8 pixel squares in smooth areas such as shadows and gradients.
- Ringing: faint halos around sharp edges and text, especially against a white background.
- Banding: smooth gradients breaking into visible stripes.
- Colour bleed: saturated reds and blues smearing past their edges.
- Lost texture: leather grain, knit patterns or brushed metal turning flat and waxy.
- Dirty white: speckled noise around the product on what should be a clean white background.
A ten-minute test to find your sweet spot
- Pick three typical images: a simple product, a textured product and your most detailed one.
- Resize each to your final dimensions before compressing.
- Export each one at quality 90, 85, 80, 75 and 70.
- Note the file size of each version in a simple table.
- Compare them at 100% on a monitor, then again on your phone, where most buyers will see them.
- Find the lowest setting at which you cannot spot a difference from the 90 version.
- Go one step higher as a safety margin, because marketplaces often recompress your upload.
- Save that setting as your export preset and use it for the whole catalogue.
Mistakes that waste quality
- Compressing the same JPEG repeatedly. Every save loses data. Keep a master file and always export from it.
- Uploading straight from the camera. You pay for pixels nobody sees and hand the compression decision to the platform.
- Upscaling small images to hit a size rule. This raises the file size without adding real detail.
- Saving photographs as PNG. The file can be several times larger with no visible benefit.
- Using one setting for everything. A white-background shot and a chunky knit jumper need different treatment.
- Exporting in the wrong colour profile. Use sRGB so colours stay predictable across browsers and phones.
If you sell across several channels, resizing is usually the slowest part of this process. PixelPrep batch resizes product images to the dimensions each marketplace expects, so you can work from one set of masters instead of preparing every channel by hand.
Your file size checklist
- Keep an untouched master of every photo.
- Resize first, normally to 2000 x 2000 pixels or the channel's required size.
- Use JPEG for photos, PNG for graphics and transparency, and WebP or AVIF for delivery on your own site.
- Start at quality 80 to 85 and raise it for texture and fine detail.
- Aim for under 500 KB on most images and under 1 MB on all of them.
- Export in sRGB.
- Check at 100% and on a real phone before uploading.
- Do not lazy-load the main product image on your own store.
The sweet spot is not one magic number. It is the smallest file that still looks right for that particular product, and once you have tested it a few times, it becomes a preset you never have to think about again.