For product photos in a Shopify store the recommended size is 2048 × 2048 pixels. The maximum allowed is 5000 × 5000 pixels or 25 megapixels, and the file must be smaller than 20 MB.
But one number is not the whole answer: aspect ratio, file weight and where exactly the image will be shown all matter. Below, all of it in order.
Which size fits which place?
| Where | Recommended size |
|---|---|
| Product photos | 2048 × 2048 px |
| Homepage and general visuals | from 1024 × 1024 px |
| Maximum for any image | 5000 × 5000 px or 25 MP |
| Maximum file size | under 20 MB |
2048 × 2048 pixels is enough for the image to stay sharp even when zoomed. Larger photos add nothing but slower uploads and heavier files to manage.
Which aspect ratio should you use?
The most important thing is to keep the same aspect ratio across all product photos - 1:1 for square or 4:5 for portrait. If ratios differ, product cards on collection pages look uneven, because the theme either crops them or leaves gaps.
Aspect ratio matters more than the exact pixel count. A store with consistent 1600 × 1600 images looks tidier than a store where some images are 2048 × 2048 and others 2048 × 1365.
A specific theme may have its own guidance on ratios, so it is worth checking the theme documentation before preparing the whole catalogue.
What are Shopify's image limits?
An image can be up to 5000 × 5000 pixels or 25 megapixels and must weigh less than 20 MB. Shopify accepts PNG, JPEG, WebP, HEIC, GIF, SVG, PSD, TIFF and BMP, including animated GIF and WebP.
In practice only three of those are worth using: JPEG for regular product photos, PNG when you need a transparent background, and WebP when you want a smaller file without losing quality.
How does Shopify optimise uploaded images?
Shopify compresses images, picks their size automatically based on the visitor's screen, and serves them through its CDN in modern formats such as WebP when the browser supports them. You do not need to convert anything yourself.
Specifically, this is what happens:
- Compression. File size is reduced without visible quality loss.
- Sizing. A phone gets a smaller version than a large screen, so the page loads faster.
- Format. A browser that supports WebP is served a WebP version, even if you uploaded a JPEG.
- CDN. All images are hosted on the Shopify CDN, so they load at a similar speed anywhere in the world.
That does not remove your responsibility, though. Put thirty images on one page or upload 18 MB files, and the page will still be slow.
What to do before uploading
- Standardise aspect ratios across the catalogue - this is the most important step.
- Resize to 2048 × 2048 or close to it. Uploading 6000 px originals serves no purpose.
- Check the weight. A good product photo usually fits into 200-500 KB.
- Name files meaningfully - black-leather-handbag.jpg, not IMG_4821.jpg. It helps search.
- Fill in alt text. It matters for both accessibility and image search.
Frequently asked questions
What is the maximum image size in a Shopify store?
5000 × 5000 pixels or 25 megapixels, and the file must be smaller than 20 MB. Larger images will not upload.
Do you need to convert images to WebP yourself?
No. Shopify serves a WebP version to browsers that support the format even if you uploaded a JPEG. You can upload WebP, but it gives no advantage.
What matters more - image size or aspect ratio?
Aspect ratio. Images with a consistent ratio look tidy on collection pages even at smaller sizes, while images with differing ratios get cropped by the theme.
Do large images slow down a Shopify store?
Yes, even though Shopify optimises them. The biggest factors are how many images sit on one page and the original file weight, so prepare them before uploading.
If you want someone to review your store's speed and image setup from the outside, that is what our store audit is for. Questions go through contact.