← Back to blog

By the ImageOpti team ·

Product Photo Sizes for Online Stores: Dimensions, File Size and Format

General guidance on product photo dimensions, aspect ratios, file sizes and formats for online shops, plus how to prepare images that load fast and zoom well.

For most online stores, product photos work well as square or near-square JPEG or WebP images between 1000 and 2000 pixels on the longest side, saved at around 100 to 300 KB for the main view. Use one consistent aspect ratio across the catalogue, shoot or crop with spare room around the product, and check your platform's current requirements before you upload.

Platform specifications change, and marketplaces update their rules regularly. Everything below is general guidance based on how images behave. Always confirm the current requirements in your platform's own help pages, because a marketplace listing that breaks a rule can be rejected or hidden.

Why product photo size matters

A product photo has two jobs that pull in opposite directions. Shoppers want to see detail, so they want large, sharp images and the ability to zoom. But large files slow the page, and slow pages lose visitors, particularly on mobile data. The aim is to deliver enough pixels for the detail people want, and no more.

Four decisions control this.

  1. Pixel dimensions, which set how much detail is available.
  2. Aspect ratio, which keeps the catalogue tidy.
  3. File format, which affects size and compatibility.
  4. Compression, which trades a little fidelity for a lot of speed.

Pixel dimensions

Think about the largest size the image will ever be shown at, including zoom.

  • On a product page, the main image often appears at around 500 to 900 CSS pixels wide on desktop.
  • Phones with high-density screens can use up to two or three times as many device pixels as CSS pixels.
  • Zoom features need extra resolution to show detail that is not visible at normal size.

A common approach is to keep a master image of around 2000 pixels on the long side, and to produce smaller versions for grids and thumbnails. Many platforms recommend minimums or maximums in this general range, such as at least 1000 pixels for zoom to work, but the exact numbers vary by platform, so check yours.

Arithmetic you can use

Suppose your product page shows the main image at 800 CSS pixels wide, and you want it sharp on a screen with twice the pixel density. You need 800 x 2 = 1600 pixels across. A 2000 pixel master therefore covers it with margin for a zoom feature.

For a grid thumbnail displayed at 300 CSS pixels, you need 300 x 2 = 600 pixels. Serving the 2000 pixel master there would send roughly (2000 x 2000) / (600 x 600), which is about 11 times more pixels than needed.

Aspect ratio

Pick one shape and stick with it. A catalogue where every image is square looks organised, and layouts do not jump around.

Aspect ratioShapeGood for
1:1SquareMost product grids, jewellery, small items, marketplaces that favour squares
4:5Slightly tallClothing and handbags, mobile-first stores
3:4TallFashion and apparel where the full outfit matters
4:3 or 3:2WideFurniture, larger items, lifestyle shots

Square is the most common default because many themes and marketplaces crop to square in listings. If your platform crops automatically, make sure the product sits near the centre so nothing important is cut off.

When you take photos, leave breathing room around the product. It is easy to crop in later; it is impossible to add background that was never photographed. The cropper offers square and fixed ratio shapes, and a custom drag option for ratios such as 4:5 that are not in the menu. See how to crop images for stories, thumbnails and profile pictures for composition tips that apply here too.

File size targets

These are typical working targets, not platform rules.

Image typeTypical dimensionsTypical file size
Main product image1200 to 2000 px100 to 300 KB
Additional gallery images1200 to 2000 px100 to 300 KB
Zoom or high-detail image2000 px or more300 to 600 KB
Grid or collection thumbnail400 to 800 px20 to 80 KB
Cart or icon thumbnail100 to 200 pxUnder 15 KB

Some marketplaces set an upper limit on file size or a minimum on pixel dimensions. Where a rule exists, follow it over any generic target.

A product page with six gallery images at 250 KB each loads about 1.5 MB of pictures before anything else. Cutting each to 150 KB saves 600 KB. Lazy loading the images beyond the first helps further.

Format

  • JPEG is the safest choice for photographs. Every platform accepts it.
  • WebP usually produces smaller files at similar quality and is supported by all current major browsers. Many store platforms convert images to WebP automatically. Check whether yours does before converting yourself.
  • PNG is best for graphics with sharp edges or when you need transparency, but it is large for photos. If you want a cut-out product on a transparent background, WebP can keep transparency at a smaller size than PNG. Note that many marketplaces want a plain white background and do not want transparency.
  • AVIF can be smaller still, but marketplaces and upload forms may not accept it. See AVIF vs WebP vs JPEG.

For uploads to third-party marketplaces, JPEG is the format least likely to be rejected.

Backgrounds and consistency

Consistency matters more than perfection.

  • White or neutral backgrounds look clean and are required or preferred by many marketplaces. Check their image rules.
  • Same lighting and angle across products makes a catalogue feel cohesive.
  • Same product size in frame. If one item fills the picture and another is tiny, the grid looks uneven.
  • Lifestyle shots (the product in use) can sit alongside plain shots as additional gallery images, but check whether a marketplace requires the main image to be plain.

A workflow that works

  1. Shoot at the highest sensible resolution. Phone cameras are often sufficient for product photos in good light, and the files will be far bigger than you need.
  2. Crop to your chosen aspect ratio in the cropper. Remember the cropper saves PNG, so you will convert and compress afterwards.
  3. Resize to your target, for example 2000 pixels on the longest side, in the resizer.
  4. Convert to JPEG or WebP if the file is a PNG photo, using the converter.
  5. Optimize using the optimizer. Start at the default quality and use the before and after comparison, zooming into stitching, labels, engraving and edges where detail matters.
  6. Name the files meaningfully, such as "blue-ceramic-mug-front.jpg".
  7. Keep your masters. Store the original uncompressed images somewhere safe so you can make new sizes later.

The optimizer handles batches and offers a ZIP download, which is handy when you have a whole product line to process. For wider background on the order of operations, read how to reduce image file size without losing quality.

Common mistakes

  • Uploading phone originals straight to the shop. A 4 MB main image will slow the page, even if the platform shrinks it. Some platforms do not.
  • Over-compressing detail. Fabric texture, jewellery sparkle and fine print on labels are the first things to suffer. Compare at 100 percent zoom.
  • Mixed aspect ratios. A grid of different shapes looks messy, and automatic cropping may cut off products.
  • Stretching images. Always keep the aspect ratio locked when resizing.
  • Enlarging small images. If a supplier sends a 400 pixel photo, enlarging it will look soft. Ask for a bigger one.
  • Missing alt text. Describe the product for screen reader users and search engines. It also appears if the image fails to load.
  • Ignoring colour accuracy. Compression does not usually shift colour noticeably, but lighting, white balance and screen differences do. Customers who receive a product that looks different from the photo are more likely to return it.

Speed and search

Fast product pages help shoppers, and Google's page experience signals reward them to some degree. The page-level details, such as setting width and height so the layout does not jump, are covered in image optimization for Core Web Vitals. No image setting guarantees better search rankings, but good file names, alt text and quick loading make a store pleasant to use and easier to understand.

Check platform specifications

Marketplaces and store builders each have their own rules for minimum size, maximum size, background colour, file type and number of images. Those rules change. Before a big upload, read the current guidance on your platform's seller or help pages, and use these figures as the starting point rather than the final word.

FAQ

What is the best size for product photos?

A master of about 2000 pixels on the long side works well for most shops, with smaller versions generated for grids and thumbnails. Check your platform for specific minimums.

Should product photos be square?

Square is a safe default and works well in most grids. Use another ratio if your products suit it, but keep it consistent.

How large should a product image file be?

For the main image, roughly 100 to 300 KB is a typical target. Heavier images are only worth it if the extra detail is visible and needed.

Do I need professional photography?

Not always. Good light, a clean background and a steady camera go a long way, and the processing steps above can polish the result.

Does my platform resize images automatically?

Many do, but not all, and the results vary. Upload sensibly sized files rather than relying on it.

Related guides

For related sizing advice, see the social media image guide. To size a whole catalogue, use the bulk image resizer.