The right Shopify product image size is 2048 x 2048 pixels. That is the sweet spot for 2026: large enough for crisp zoom on retina screens, small enough to keep page loads fast after compression. Upload smaller and your product zoom looks blurry; upload much larger and you pay for load time without visible gain. Below is the full spec table, what each number means, and a worked example of the file size math.
Shopify image size specs (2026)
| Specification | Value |
|---|---|
| Recommended working size | 2048 x 2048 px (square, 1:1) |
| Zoom minimum | 800 x 800 px |
| Maximum upload | 20 megapixels / 20 MB per file |
| Best format for photos | JPEG or WebP |
| Best format for logos/transparency | PNG |
| Color space | sRGB |
| File size target (compressed) | 100 to 300 KB per product image |
| Consistency rule | One aspect ratio across the whole catalog |
Why 2048 x 2048 is the right master size
Shopify's zoom feature activates at 800 x 800 pixels, but that is the floor, not the target. Most theme image containers display between 600 and 1200 pixels wide, and retina screens render at roughly double resolution, so a 1024-pixel image looks soft where it matters. A 2048-pixel master stays sharp at 2x density, and when a shopper zooms, the detail is actually there.
Anything past 2048 rarely adds visible detail on a product page. It mostly adds load time. If a photographer hands you 4000 x 4000 pixel originals, that is completely normal. Just resize before uploading rather than shipping the raw file straight to your store.
What happens after you upload
Uploading the right master size matters because of how Shopify serves images. Shopify stores your original on its CDN and generates resized variants (roughly 100, 200, 400, 600, 800, 1024, and 2048 pixels). The browser picks the right size for the device, so mobile shoppers get a light 600-pixel version while desktop and zoom use the full 2048. You upload one file, and Shopify serves the right slice. That is why uploading too small hurts everywhere: there is no source data to scale up from.
Does Shopify compress images?
Yes. Shopify automatically compresses and converts images on its CDN, including converting uploads to WebP for delivery. But this is a safety net, not a strategy. Pre-optimizing your files still wins: you control the balance between quality and size, and you avoid any chance of Shopify's automatic conversion degrading a hero image. Compress first, upload the final file, and let the CDN handle the responsive variants.
File size math: a worked example
Take a typical product photo shot at 2048 x 2048 and exported as a JPEG at 80% quality. Uncompressed, the raw bitmap is about 12.6 MB (2048 x 2048 x 3 bytes). JPEG compression at 80% quality shrinks that to roughly 300 to 450 KB. Running it through a good optimizer at the same visual quality brings it down to 150 to 250 KB, comfortably under the 200 KB target.
Do the same with a 4000 x 4000 original at 90% quality and you land around 1 to 2 MB per image. With 6 gallery images on a product page, that is 6 to 12 MB of downloads before the page finishes loading, versus 1 to 1.5 MB for the optimized 2048 masters. The images look identical on screen; the difference is seconds of load time and the conversions those seconds cost.
The number-one Shopify image mistake
Mixed aspect ratios. One square, one portrait, one 4:3, and your collection pages look broken. The rule that actually affects conversion is consistency: pick one aspect ratio for the entire catalog so collection grids line up. Square (1:1) is the most common choice because it works in product grids, collection pages, and social media. If your products are tall, like dresses, use 2:3 or 3:4 instead. The key is that every product uses the same one.
Quick answers to common questions
What is the best image format for Shopify? JPEG or WebP for photos and lifestyle shots; PNG for logos, icons, or anything needing transparency. Shopify converts uploads to WebP on delivery automatically.
Can I use PNG for product photos? You can, but a PNG photo is typically 2 to 4 times larger than the same image as a JPEG. Use PNG only when you need transparency.
How many product images per product? Most stores use 4 to 8: a clean main shot, one or two angles, a lifestyle or scale shot, and detail close-ups. Each extra image multiplies the load time, so make each one earn its place.
Resize and optimize before you upload
Your workflow should be: export at 2048 x 2048, convert to sRGB if it is not already, compress to under 200 KB, then upload. Our free Shopify image optimizer does the resize and compression right in your browser, no signup and no uploads to a server. Drop in your product photos, set the output to 2048 x 2048, and get files that are zoom-ready and fast out of the box.
Shopify's platform limits and CDN behavior change over time. Confirm the current maximum file size (20 MB / 20 megapixels) and zoom threshold in Shopify's help center if your uploads are rejected or zoom does not activate.



