Shopify Product Image Size: The Limits and What to Upload
By Mantas Vaitkūnas, Founder, NorlifLinkedIn 6 min read
Shopify accepts product images up to 5000 × 5000 px or 25 megapixels, in files smaller than 20 MB. For a square image it says 2048 × 2048 px usually displays best. Those numbers come from Shopify's help page on product media, and the table has the rest.
| What | Shopify's number |
|---|---|
| Recommended size, square image | 2048 × 2048 px |
| Largest image | 5000 × 5000 px or 25 megapixels |
| Largest file | Smaller than 20 MB |
| Best file types | PNG, then JPEG |
| Also accepted | TIFF, BMP, GIF, SVG, HEIC, WebP |
| Aspect ratio | The same for every main image |
| Media per product | 250 images, videos and 3D models |
| Smallest image | Not stated |
What size should Shopify product images be?
2048 × 2048 px for a square image. Shopify's wording is that this size "usually displays best". It is a recommendation and nothing stops you uploading smaller or larger.
Shopify gives no number for portrait or landscape images. My suggestion is to keep the long edge near 2048 px, so a portrait image has the same detail as a square one when a shopper zooms in.
You don't need to upload bigger than that to look sharp, and you don't need to upload smaller to load fast. Shopify sends each shopper a version sized for their screen.
The maximum: 5000 × 5000 px, 25 megapixels, 20 MB
A megapixel is a million pixels, so multiply width by height. 5000 × 5000 is exactly 25 megapixels. A photo straight from a recent camera or phone can be over the limit, and it has to be scaled down before Shopify takes it.
The error message can mislead you. Shopify's page on theme images notes that an image with too many megapixels gets the "20 MB or smaller" error even when the file is under 20 MB. If a small file is refused, check its pixel dimensions.
You will still find 4472 × 4472 px and 20 megapixels quoted as the limit. That was the product limit until about 2024. Shopify's theme images page still lists 20 megapixels for other image uploads, and the product media page says 5000 × 5000 px or 25 megapixels.
Is there a minimum image size?
Shopify's help pages don't state one. Two other numbers set a floor in practice.
Zoom. Shopify's blog says images must be more than 800 × 800 px for zoom to work. The help center doesn't repeat that figure, so treat it as a rule of thumb. In Dawn, zoom is a setting on the product page.
Google Shopping. Google Merchant Center's image rules ask for at least 500 × 500 pixels and recommend around 1500 × 1500 or more. No image may be larger than 64 megapixels or 16 MB. Google's page says the 500 × 500 minimum applies to all products from January 31, 2027. Google also rejects images with promotional overlays such as prices, calls to action, watermarks or added logos, and images with a border.
If you sell through Google, 500 px is the hard minimum and 1500 px is the target. A 2048 px image clears both.
Which aspect ratio should you use?
Shopify doesn't recommend square, portrait or landscape. It says to use one consistent aspect ratio for all your featured, or main, images. The main image is the one on collection pages, so mixed shapes show up there first.
What happens to mixed shapes depends on a theme setting. In Dawn, the product grid has an Image ratio setting with three choices: Adapt to image, Portrait and Square. Adapt to image is the default, and with it each card follows its own image, so the row comes out uneven. Portrait and Square make every card the same shape and crop whatever doesn't fit. In Horizon, the product card's Aspect ratio setting has Auto, Portrait, Square and Landscape, and Horizon's collection template ships set to Auto.
So pick the shape first, set the theme to it, and make the images match. Square suits most catalogs. Portrait gives clothing more room.
PNG, JPEG or WebP?
Shopify's product media page says the best file type for most product images is PNG, followed by JPEG. It also accepts TIFF, BMP, GIF, SVG, HEIC and WebP. Shopify isn't consistent here: its theme images page says to use JPEG for product images and PNG for graphics and icons. Either works for a photo.
The upload format matters less than it used to. When a shopper's browser supports WebP or AVIF, Shopify delivers the image in that format, whatever you uploaded. Since Shopify picks the delivery format itself, you don't need to convert files to WebP first.
One detail is easy to miss: Shopify removes colour profiles when it displays images. Export in sRGB so the colours shoppers see are the ones you approved.
Does Shopify resize or compress images?
Not when you upload. The same theme images page says images aren't compressed when you add them to the admin, and that they might be compressed when they are served. It also says you don't need to compress images yourself before uploading.
On the storefront, Shopify's themes offer each image in several widths and the browser picks the one that fits. They also load images further down the page only as the shopper scrolls to them. A phone showing two product cards per row downloads a file a few hundred pixels wide, not your 2048 px original.
Shopify's blog still suggests product photos of around 300 KB. The help center says you don't need to compress before uploading, and I'd follow the help center. What still slows a page down is the number of images on it and themes or apps that load full-size files.
Collection, banner and other images
Collection images have the same limits as product images: 5000 × 5000 px or 25 megapixels, and smaller than 20 MB. One difference: collection images can't be WebP.
For banners, slideshows and logos, Shopify's theme images page gives no pixel sizes. It says the right dimensions depend on your theme and its version, so the theme's own documentation is the place to look. The same Shopify blog post offers general starting points: 1280 × 720 px for a hero image, 1200 × 400 px for a banner and 1200 × 800 px for a blog image.
Fixing sizes and shapes across a catalog
The image editor in the Shopify admin can crop and resize an image. That is fine for a handful of products. Supplier catalogs are the hard case: hundreds of photos in different shapes, some square, some tall, some with white bars at the sides.
I make Norlif AI Image Generator, a Shopify app that handles this in bulk. It crops or pads existing photos into one shape (square, portrait, landscape and others) and compresses them, at 1 credit per image, for one product or the whole catalog. Reshaped images can wait for your approval before they replace anything, and the originals are backed up.
It can also generate new product images from the ones you have. Be clear about what that does to size: generated images come back around 1,000 to 1,250 px on the long edge. That is above Google's minimum and below Shopify's 2048 px recommendation, so regenerate for a consistent look, not for more resolution. The guide to generating product photos with consistent backgrounds covers when it is worth doing.
Frequently asked questions
What is the best image size for Shopify products?
Shopify says 2048 x 2048 px usually displays best for square product images. It gives no number for portrait or landscape images, so keep the long edge near 2048 px and use the same shape for every main image.
What is the maximum image size on Shopify?
Product and collection images can be up to 5000 x 5000 px or 25 megapixels, and the file has to be smaller than 20 MB. A product can hold up to 250 images, videos and 3D models.
Does Shopify compress product images?
Not when you upload them. Shopify may compress the copy it serves to shoppers. It also serves WebP or AVIF to browsers that support them, whatever format you uploaded.
Should I upload PNG or JPEG to Shopify?
Shopify's product media page calls PNG the best file type for most product images, followed by JPEG. It also accepts TIFF, BMP, GIF, SVG, HEIC and WebP. Because Shopify converts images for each browser when it serves them, the format you upload matters less than the size and shape.
What image size does Google Shopping need?
Google Merchant Center asks for at least 500 x 500 pixels and recommends around 1500 x 1500 or more. An image can't be larger than 64 megapixels or 16 MB. Google says the 500 x 500 minimum applies to all products from January 31, 2027.
Is 1000 x 1000 px enough for Shopify product images?
It uploads and displays, and it is above Google's 500 x 500 minimum. It is half the width Shopify recommends for a square image, so it looks softer on large screens and when shoppers zoom in.
Size is one part of a product photo. Read next: what the research says about product images and conversion, and the character limits for Shopify titles and meta descriptions.