For a square product photo, Shopify's own recommendation is 2048 × 2048 px. Every image you upload has to stay under 20 MB, and the safe pixel ceiling is 20 megapixels. Past those three numbers, most of what decides how an image looks on your store is set by your theme: the aspect ratio of each section, whether it crops, and where it keeps the focus.
This guide collects what Shopify's Help Center says about each kind of image, shows where its pages disagree, and lists what to check in your own theme where Shopify gives no single number.
Shopify image sizes at a glance
| Image | Size to use | What Shopify says |
|---|---|---|
| Product images (square) | 2048 × 2048 px | "For square product images, a size of 2048 x 2048 px usually displays best." |
| Collection images | Same limits as product images | Product and collection images share one set of limits. The shape shown depends on your theme's collection layout. |
| Any image upload | Under 20 MB and 20 megapixels | Uploads can't exceed 20 MB. The pixel limit is given as 20 MP on one Help Center page and 5000 × 5000 px (25 MP) on another. |
| Slideshows, image banners, full-width sections | Your theme's section shape | The section sets the shape of the image area and crops anything that doesn't match it. No single size fits every theme. |
| Logo | Check your theme's logo setting | The Help Center gives no fixed logo size. PNG is recommended for logos, icons, borders and trims. |
| Favicon | 32 × 32 px (or 16 × 16 px) | Larger favicons are reduced to 32 × 32 px on upload. Favicons need the Basic plan or higher. |
| Product video | Up to 4096 × 2160 px | Up to 10 minutes and 1 GB, as .mp4, .mov or .webm. |
Sources for every row are listed at the end of this guide. Shopify revises these pages, so check the linked page before you rebuild a catalog around a number.
Product image size: 2048 × 2048 px, under 20 MB
Shopify's product media page recommends 2048 × 2048 px for square product images and requires each file to be smaller than 20 MB. That size is large enough for zoom on the product page and leaves room for every smaller version Shopify generates from it: when you add an image, Shopify automatically creates the sizes your theme uses in different places, so you upload one master and never resize for the collection grid yourself.
On the pixel ceiling, Shopify's pages disagree. The product media page allows up to 5000 × 5000 px or 25 megapixels. The Uploading images page says uploads can't exceed 20 megapixels, while recommending uploads up to 5000 × 5000 px in the same article. Plan for the stricter one: at 20 MP, the largest square is 4472 × 4472 px. To check a file, multiply width by height and divide by 1,000,000. Shopify's own example is a 4900 × 6930 px image, which is 33.9 MP and too large.
Bigger isn't better past 2048 px for most catalogs. It mostly adds upload weight. Go larger only where shoppers need to zoom into texture, stitching or fine print, and keep the file under 20 MB.
Aspect ratio matters more than pixel size
Collection pages put product images side by side, and Shopify notes that images with different shapes display at different sizes there. To make a grid line up, give every featured (main) product image the same aspect ratio: all 1:1, or all the same portrait ratio. Two images can have different pixel sizes and the same ratio; divide width by height to compare them.
Square is the simplest choice and matches Shopify's 2048 × 2048 px recommendation. Some stores, apparel especially, use a portrait ratio instead to show more of a garment. Whichever ratio you choose, check that your theme's product grid is set to the same shape, or set it to adapt to the image, so it doesn't crop your photos.
To fix images already uploaded, use the media editor in the Shopify admin: Crop and transform has Square, Original and Freeform modes. Some themes also request a consistent size from Shopify's CDN for images saved in different shapes. Check your theme's settings before you rely on that.
Slideshow and banner image sizes
Slideshows, image banners and full-width sections don't size themselves to your image. The section sets the shape of the image area and crops the image to fit it. Two things follow from that, both from Shopify's guidance:
- Wide images are cropped on the left and right on tall screens, such as phones and tablets held upright.
- Tall images are cropped on the top and bottom on wide screens, such as laptops and desktop monitors.
So the right banner size is the shape of the section on your theme, at a width that stays sharp full-screen. To keep the important part in view:
- Look for a height setting on the section. In many of Shopify's free themes, Height has an Adapt to first image option that sizes the section to your image instead of cropping it. In a slideshow it matches the first slide, so make every slide the same ratio.
- Set a focal point on the image. It stays in frame wherever the theme crops. Focal points work in Dawn 7.0.0 and higher, the Horizon family and other recent free themes; for a third-party theme, check its documentation.
- Crop the source close to the section's shape before upload: a landscape image for a wide section.
- Keep text out of the image. Text baked into a banner gets cropped or moved on different screens. Add headings and buttons in the theme editor instead.
Which settings exist, whether focal points are supported and which dimensions work best all depend on your theme and its version. Shopify points to the theme's own documentation for the exact numbers.
Logo, favicon and social sharing image
Logo: Shopify's Help Center doesn't give a fixed logo size, because the theme decides how large the logo displays. Your theme's header settings usually set its width; upload a PNG at least twice that width so it stays sharp on high-density screens.
Favicon: Shopify's favicon guide puts the ideal size at 16 × 16 px or 32 × 32 px, and reduces anything larger to 32 × 32 px on upload. You add it in the theme editor under Theme settings, then Logo or Favicon depending on the theme. Favicons are available on the Basic plan or higher, not on Starter.
Social sharing image: product pages, collection pages and blog posts share their featured image. Other pages, such as the home page, fall back to the image set in Online Store > Preferences, then to your theme's logo. Shopify's social image page gives no dimensions, so check the preview tools of the platforms you share to (Facebook, LinkedIn, X) for their current sizes.
File formats, compression and color
Shopify accepts JPEG, progressive JPEG, PNG, GIF, HEIC and WebP. TIFF and BMP are accepted but converted to JPEG or PNG on upload. SVG is supported with limits: it can't be resized or cropped without requesting a raster format.
- Use JPEG or PNG for product photos. Shopify's pages differ here too: the product media page names PNG as the best type for most product images, followed by JPEG, while the Uploading images page recommends JPEG for product photos, banners and slideshows. JPEG keeps files smaller; PNG keeps transparency.
- Use PNG for logos, icons and cutouts that need a transparent background.
- Don't compress before uploading. Shopify stores the original as you upload it, then compresses it and picks the format when serving, sending WebP or AVIF to browsers that support them and turning GIFs into animated WebP.
- Export in sRGB. Shopify strips embedded color profiles when it displays an image, and a browser treats an image without a profile as sRGB. A file exported in another profile can shift color once it's live.
If a brand color looks wrong on the live product page and right in your editor, the color profile is the first thing to check. For AI-generated images, color drift usually starts earlier, in generation; see Brand Color Accuracy in AI-Generated Product Images.
Sizing AI-generated product images for Shopify
Image models output at their own sizes and ratios, and those change between versions. Check the output size of the tool you use before you plan a catalog around it. If it outputs smaller than your target, decide per image whether an upscale keeps labels, logos and fine texture accurate, or whether the shot needs regenerating.
- Pick one ratio for every featured image before generating anything, and generate at that ratio rather than cropping afterwards. Cropping a finished shot is where products end up off-center or clipped.
- Lock what the product looks like across SKUs so a grid of generated images reads as one catalog: see AI Product Shot Consistency Across SKUs.
- Keep one master per SKU at full resolution and build every other channel's size from it. Shopify's limits aren't Amazon's: see White-Background Hero Shots for Amazon and Shopify Listings and Product Image Resizing and Cropping for Multi-Channel DTC. Selling on Etsy too? Its sizes and crops differ again: see Etsy Image Sizes for Listing Photos, Banners and Logos.
- When the catalog is large, generate the sizes on upload rather than by hand: see Automating Shopify Product Page Asset Production.
Checklist before you upload
- Featured product images all share one aspect ratio; square images are 2048 × 2048 px.
- Every file is under 20 MB and 20 megapixels (width × height ÷ 1,000,000).
- Photos are JPEG or PNG; logos and transparent cutouts are PNG.
- Files are exported in sRGB.
- Banner and slideshow images match the section's shape, carry no baked-in text, and have a focal point set where the theme supports it.
- Each image has alt text that describes the product, around 125 characters or fewer, as Shopify's media editor suggests.
- After upload, view the product page, a collection page and the home page on a phone and on a desktop.
Sources
Read next
- White-Background Hero Shots for Amazon and Shopify Listings
Amazon's white-background rule is an engineering constraint, not a creative choice.
- Product Image Resizing and Cropping for Multi-Channel DTC
Plain resizing breaks across channels; here's how to fix it.
- AI Product Shot Consistency Across SKUs
Generative models forget your product between shots, so consistency needs infrastructure.
- Brand Color Accuracy in AI-Generated Product Images
Image models chase plausible color, so brands need machine-readable specs.
- Automating Shopify Product Page Asset Production
Versioned brand rules catch off-brand AI assets before launch.