Shopify product image size: the actual requirements

The caps, the recommended size, and the aspect-ratio decision that matters more than either — every number sourced from Shopify's own documentation, current as of August 2026.

Key takeaways

  • As of August 2026, Shopify product images must be under 20 MB and no larger than 5000 × 5000 pixels (25 megapixels).
  • Shopify recommends 2048 × 2048 pixels for square product images — big enough for zoom and a full srcset, since the CDN resizes down but never upscales.
  • No aspect ratio is enforced; using one consistent ratio across every featured image matters more than whether it is square or 3:4.
  • Upload dimensions barely affect page speed because Shopify's CDN serves shoppers resized variants — sharpness and consistent framing are what you cannot fix after upload.

The short answers

As of August 2026, from Shopify's own documentation:

  • Maximum upload: product images must be smaller than 20 MB and no larger than 5000 × 5000 pixels — 25 megapixels.
  • Recommended size: 2048 × 2048 pixels for square product images. That is the number in Shopify's help docs, and it is the right default.
  • Best aspect ratio: nothing is enforced. Shopify's docs only quote a size for square (2048 × 2048), and — more important than which ratio you choose — the same ratio on every featured image in the store.

Every number on this page in one place:

SpecNumberWhere it comes from
Maximum file sizeUnder 20 MBShopify help docs
Maximum resolution5000 × 5000 px (25 megapixels)Shopify help docs
Recommended size2048 × 2048 pxShopify help docs
Zoom floorMore than 800 × 800 pxShopify blog — theme-dependent, treat as a minimum
Thumbnails150–300 px, squareShopify blog
Practical file weightAround 300 KBShopify blog
Largest CDN variant5760 px wideShopify developer docs

If you stop reading here: upload square images at 2048 pixels a side, keep the ratio identical across the catalog, and let Shopify's CDN do the rest. The sections below are why those numbers are right and where the edge cases sit.

The hard limits

Shopify enforces two ceilings on a product image: the file must be under 20 MB, and the image can be at most 5000 × 5000 pixels, or 25 megapixels. Supported formats are PNG, JPEG, WebP, HEIC, GIF and SVG, plus working formats like PSD, TIFF and BMP. Animated GIF and animated WebP upload fine too.

A modern phone photo clears all of this without thought — a 12-megapixel HEIC is half the resolution cap and a small fraction of the file-size cap. The limits are not where merchants go wrong. The gap between the maximum and the recommended size is.

What size to actually upload, and why

Upload at 2048 pixels on the long edge or larger. Three mechanisms make that the right floor:

  • Zoom needs pixels. Shopify's published guidance puts the floor for image zoom above 800 × 800 pixels — and zoom behavior varies by theme, so treat that as a minimum rather than a promise. At 2048 pixels, a shopper zooming into a seam or a weave sees actual detail instead of blur.
  • Themes build a srcset from your original. Shopify themes generate a set of differently sized copies of each image, so a phone downloads a small one and a retina desktop a large one. That set can only reach as high as your original — the CDN resizes down on demand but never upscales. Upload at 1200 pixels and every screen, forever, gets at most 1200 pixels.
  • Headroom is free. The CDN can serve variants up to 5760 pixels wide, so anything between 2048 and the 5000-pixel cap is headroom for future crops, feeds and denser screens — at no cost to the storefront.

The page-speed trade-off is smaller than most merchants assume, because the file you upload is a master, not the file shoppers download. The theme requests resized variants from the CDN, and images lower on the page lazy-load automatically. Shopify's blog still recommends keeping images to around 300 KB in practice — which a cleanly compressed 2048-pixel JPEG hits on its own. The honest summary: dimensions should be generous, file weight should be modest, and the two are not in conflict.

One aspect ratio across the whole catalog

A collection page is a grid, and a grid is only as tidy as its least consistent image. A catalog that mixes square studio shots, 4:3 phone photos and the odd portrait crop turns the grid ragged — every image individually fine, the page collectively amateur. Shopify's own guidance says the same thing: use one consistent ratio across all featured images so collection pages look uniform.

Which ratio is a smaller decision than it seems. Shopify's docs quote their example size for square images — 2048 × 2048 — without mandating the ratio. The common advice that apparel stores should shoot 3:4 portrait is a convention, not a Shopify requirement, and both work in practice: portrait shows more garment per grid cell, square recrops most flexibly into feeds and ads. If you go portrait, 1536 × 2048 keeps the long edge at the recommended size.

Practical rule: pick one ratio, write it into your listing process, and crop to it before upload. Which ratio you picked matters far less than applying it everywhere — and it is much cheaper to enforce at upload than to retrofit across a live catalog.

Format and compression

Shopify's help docs call PNG the best file type for most product images. JPEG makes far smaller files for photographic content, and WebP smaller again — Shopify's blog recommends it for performance. The stakes are lower than the format debate suggests, though: Shopify detects which formats each visitor's browser supports and serves images accordingly, so the format you upload is a master, not what every shopper receives.

What does survive the pipeline is compression damage. A JPEG exported at aggressive compression carries its artifacts into every resized copy the CDN makes from it. Export at high quality — the file-weight problem is handled downstream, the artifact problem is not.

Three mistakes that show up on live stores

  1. Upscaling a small original before upload. Enlarging an 800-pixel photo to 2048 in an editor adds pixels, not information — you get a big, soft image that fails exactly where size matters, at zoom. Shopify's CDN refuses to upscale for the same reason. If the original is small but sharp, publish it at its real size; if it is small and blurry, nothing downstream recovers detail that was never captured — reshoot it.
  2. Mixed aspect ratios. The most visible mistake and the cheapest to prevent. One ratio, every featured image, no exception for the one product that looks better wide.
  3. Phone photos straight from the camera roll. They clear every limit — that is the trap. What they bring is the camera's 4:3 ratio in mixed orientations, uncontrolled framing, and whatever background the stockroom had that day. The megabytes were never the problem; the inconsistency is, and no image setting fixes it.

Where PhotosynthAI fits

If your sizes are right but the photos themselves are the weak point, that is the problem PhotosynthAI works on. It turns photos already attached to your Shopify products into studio versions — ghost mannequin, flatlay, or plain white — at up to 4K resolution, comfortably above the 2048-pixel recommendation and inside Shopify's caps. Results publish straight back to the product's media with filenames derived from the product and SKU, alongside the original or replacing it. It cannot rescue a blurry or tiny source photo, and a generated image needs a check against the real product before it goes live — here is an honest account of where that holds up and where it fails.

Common questions

Does Shopify compress or resize uploaded product images?

Yes, on delivery. Themes request resized copies from Shopify's CDN, which serves each visitor an appropriately sized variant and detects which image formats their browser supports. It never enlarges an image beyond its uploaded dimensions, which is why the original needs to be at least 2048 pixels — the file you upload is kept as the master.

Should Shopify product photos be square or 3:4 portrait?

Shopify's docs quote a size for square images — 2048 × 2048 — but don't mandate square; the 3:4 advice for apparel is a styling convention. Both work — portrait shows more garment per grid cell, square recrops most flexibly for ads and feeds. Pick one and apply it to every featured image; if you choose portrait, 1536 × 2048 keeps the long edge at the recommended size.

Why doesn't zoom work on my Shopify product images?

The usual cause is an image that is too small — Shopify's guidance puts the floor above 800 × 800 pixels, and zoom behavior also depends on your theme. Upload at 2048 pixels or more and zoom has real detail to show. If you enlarged a small original in an editor before uploading, zoom will function but show blur, because upscaling adds pixels rather than detail.

Is a 10 MB phone photo too big for Shopify?

No — the cap is 20 MB, so it uploads fine, and shoppers receive resized variants from the CDN rather than the full file. The real problems with straight-from-camera photos are the 4:3 ratio, mixed orientations and uncontrolled framing, which make a collection grid look inconsistent. Crop to your catalog's standard ratio before uploading.

What file format should I use for Shopify product images?

Shopify's docs call PNG the best type for most product images, while JPEG and WebP produce smaller files for photographic shots. The choice matters less than it used to, because Shopify detects what each browser supports and serves images accordingly. Whatever the format, export at high quality — compression artifacts survive the pipeline even though file weight is handled for you.

Get your images to spec, in bulk.

Studio versions of your existing product photos at up to 4K, published back with clean filenames.

Add to Shopify — free trial