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

FormatBest forWatch out for
JPEGProduct photos and marketplace uploadsNo transparency; quality falls with every re-save
PNGLogos, graphics, sharp text and transparent cut-outsVery large when used for photographs
WebPImages served on your own websiteNot accepted by every marketplace uploader
AVIFModern delivery where your platform converts for youSlower 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 typeSuggested qualityTarget size
Simple product on white80100 to 250 KB
Lifestyle scene80 to 85250 to 500 KB
Textured fabric, fur or knitwear85350 to 700 KB
Jewellery or fine detail85 to 90300 to 700 KB
Infographic with text85 to 90, or PNG200 to 600 KB
Thumbnail or swatch (under 500 px)75 to 80Under 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:

A ten-minute test to find your sweet spot

  1. Pick three typical images: a simple product, a textured product and your most detailed one.
  2. Resize each to your final dimensions before compressing.
  3. Export each one at quality 90, 85, 80, 75 and 70.
  4. Note the file size of each version in a simple table.
  5. Compare them at 100% on a monitor, then again on your phone, where most buyers will see them.
  6. Find the lowest setting at which you cannot spot a difference from the 90 version.
  7. Go one step higher as a safety margin, because marketplaces often recompress your upload.
  8. Save that setting as your export preset and use it for the whole catalogue.

Mistakes that waste quality

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

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.