TL;DR
Shopify accepts product images up to 5,000 by 5,000 pixels (25 megapixels) and under 20 MB, and says 2,048 by 2,048 pixels usually displays best for square product images. There is no required aspect ratio, but you should use one consistent ratio across your main product images so collection pages line up. PNG is the format Shopify recommends for most product images, followed by JPEG. These figures come from Shopify's Help Center as of November 2026, and your theme may crop or resize images in its own way, so also check your theme's documentation.
| Setting | Shopify's guidance (November 2026) |
|---|---|
| Maximum dimensions | Up to 5,000 x 5,000 pixels, or 25 megapixels |
| Maximum file size | Under 20 MB |
| Recommended size (square) | 2,048 x 2,048 pixels |
| Aspect ratio | None required; use one consistent ratio for main images |
| Best format | PNG for most product images, then JPEG |
| Also accepted | TIFF, BMP, GIF, SVG, HEIC, WebP |
| Minimum for zoom | Not stated on the page |
What Shopify actually says
Shopify's Help Center page on product media is the source for everything in the table above. It says product and collection images "can be any size up to 5000 x 5000 px, or 25 megapixels" and must be under 20 MB, and that for square product images 2,048 x 2,048 pixels usually displays best. It adds that no specific aspect ratio is required, but that for featured or main images to display at the same size on collection pages, you should use one consistent height-to-width ratio across them.
You will see other numbers elsewhere. Older third-party guides give a smaller maximum, with one commonly quoted figure of 4,472 pixels square, and some name a minimum for zoom. We could not confirm those on Shopify's own page, which does not state a zoom minimum, so we have left them out. If a guide quotes figures that disagree with the Help Center, trust the Help Center.
Pixels are not the same as megapixels
The limit is expressed two ways, so it is worth knowing the arithmetic. Multiply width by height, then divide by a million:
| Image | Pixels | Megapixels | Within the limit? |
|---|---|---|---|
| 2,048 x 2,048 (square, recommended) | 4,194,304 | about 4.2 | Yes |
| 1,638 x 2,048 (4:5 portrait) | 3,354,624 | about 3.4 | Yes |
| 5,000 x 5,000 (maximum square) | 25,000,000 | 25 | Yes, exactly at the limit |
| 4,000 x 6,250 (tall portrait) | 25,000,000 | 25 | Yes, exactly at the limit |
| 6,000 x 4,000 (camera original) | 24,000,000 | 24 | Yes |
A modern camera original can fit inside the limit, but there is rarely a reason to upload one. A file that is far larger than the display size just takes longer to load.
Which size should you use?
For the main image, upload 2,048 by 2,048
This is the size Shopify names for square product images, it sits far below both limits. If your photos are not square, keep the same ratio for every main image rather than mixing squares and portraits. Shopify says a consistent ratio keeps collection pages tidy.
Choose your ratio once
Square (1:1) is the simplest. A 4:5 portrait suits clothing and shows more of the product on mobile. Whichever you pick, apply it to every product. Many themes also have a setting for how images are cropped in a collection grid, so test one product after changing it.
Do not guess at theme-specific sizes
Banners, collection images and homepage sections depend on the theme. Shopify's product media page does not give sizes for these, and we are not going to invent them. Look in your theme's documentation, or open the theme editor and read the help text next to the image setting. If a theme says "recommended 1,600 x 900", use that.
Which format?
Shopify's page says PNG is best for most product images, followed by JPEG. It also lists TIFF, BMP, GIF, SVG, HEIC and WebP as accepted, supports animated GIF and WebP, and says Shopify chooses the best format each customer's browser supports. In practice:
- Use PNG for your master files and for anything with a transparent background.
- Use JPEG where you need a smaller file and do not need transparency, such as a white-background photo for a marketplace.
- Keep the originals. You can always export smaller copies later, and you cannot add detail back to a small file.
The transparent background step
If you want to put a product on a coloured background or reuse it in ads, make a cut-out first. Shopify's media editor has a Colour background tool that can make a background transparent. Its help page says transparent images should be saved as a new PNG, and that the default output resolution is about 1 megapixel, with larger images scaled down. A 3,000 x 3,000 pixel photo is 9 megapixels, so it would come back at roughly 1,000 x 1,000 pixels: well below the 2,048 x 2,048 Shopify recommends. For main images, cut out elsewhere and upload the result at full size. Our guide to removing the background from product photos for free compares the options.
The free Product Photo Background Remover does the cut-out and the export in one step:
- Upload a JPEG, PNG or WebP photo up to 10 MB. The cut-out runs on Ergora's own server, not a paid AI service, and the photo is processed in memory and not stored.
- Choose a white (#FFFFFF) or transparent background. White downloads are JPEG files and transparent downloads are PNG files.
- Keep the photo's own shape, or place the product on a square canvas with 0 to 25% padding on each side.
- Pick an export size: Shopify (2,048 by 2,048 pixels), Amazon main image (2,000 by 2,000 pixels on pure white, with the product filling 85% of the frame) or Square (1,080 by 1,080 pixels).
- The before and after preview is free, needs no account and has no watermark. The full-size download asks for your email once, then every size unlocks.
- It warns you when a photo has to be enlarged to fill the size you picked, because enlarged photos look soft.
A batch workflow for a whole catalogue
Say you have 60 products, each shot on a different background.
- Shoot or collect the largest originals you have, and keep them untouched.
- Cut out each product and save a transparent PNG as a master.
- Place each master on a square 2,048 x 2,048 canvas with the product centred, leaving a margin.
- Export the white-background version as JPEG or PNG for the store.
- Upload to Shopify, then check one collection page on mobile and desktop to see how the theme crops them.
- Note the settings you used so new products match.
Do the first three products by hand, then check them on your live collection page before you process the other 57. A mistake in the ratio is far cheaper to fix on three products than on sixty.
Quick checks after uploading
| Check | How |
|---|---|
| Same ratio across a collection | View the collection grid, look for jumpy rows |
| Sharp when zoomed | Open the product page and use the zoom on mobile and desktop |
| Reasonable weight | Run a page speed test and watch for images flagged as oversized |
| Product centred and filling the frame | Compare the first and last product in the collection |
For more on what else to check on a store, see the 30-point Shopify store audit and SEO for ecommerce product pages.
Where Ergora helps
Resizing and cleaning up images one at a time is the dull part of running a store. The Image Studio in the Ecommerce pack does background removal, colour correction and shadow adding, makes clean cut-outs and lifestyle shots, and can bulk edit and enhance a whole catalogue, with images sized for Shopify, Meta and TikTok. Connect Shopify and it reads your products and images, and nothing changes in your store unless you approve it.
Verdict: For most stores the answer is simple: square 2,048 by 2,048 pixel images, one consistent ratio, PNG masters and well under the 20 MB limit. Check your theme's own guidance for banners and collection images, because Shopify's page does not give those. Use the free Product Photo Background Remover to prepare a few images, and an image studio when you have a catalogue to keep consistent.
Frequently asked questions
What size should Shopify product images be?
Shopify says 2,048 by 2,048 pixels usually displays best for square product images. Images can be up to 5,000 by 5,000 pixels (25 megapixels) and must be under 20 MB. Check your theme's documentation too.
What is the maximum image size on Shopify?
Up to 5,000 by 5,000 pixels, or 25 megapixels, and under 20 MB, according to Shopify's Help Center as of November 2026. Older guides quote lower figures, but Shopify's current page is the one to follow.
Does Shopify require square product images?
No. Shopify does not require a specific aspect ratio. It recommends using one consistent height-to-width ratio for your main images so they display at the same size on collection pages. Square is the simplest choice.
Which file format is best for Shopify product images?
Shopify says PNG is best for most product images, then JPEG. It also accepts TIFF, BMP, GIF, SVG, HEIC and WebP, and serves the best format each customer's browser supports.
See the Ecommerce pack, with 50% off your first month.