E-commerce12 min read

Shopify Product Image Size (2026): Dimensions, Ratio & File Size

Shopify’s product image specs, checked at the source: the 2048 px size, the 5000 px limit, what themes crop, and a file-size test on six real photos.

ML

Munib Ali Laghari

Founder

•

Quick answer

What size should Shopify product images be?

Shopify recommends 2048 × 2048 pixels for square product images. Uploads can be up to 5000 × 5000 px (25 megapixels) and must be under 20 MB, and zoom needs images larger than 800 × 800 px. Use one aspect ratio for every product so collection grids line up, and save photos as JPG or WebP.

Every guide to Shopify image sizes repeats the same three numbers: 2048 × 2048, 5000 × 5000, and 20 MB. They're right. What those guides don't tell you is which numbers are rules and which are suggestions, why 2048 is the size that works, or what your theme does to a photo that doesn't fit its grid.

So I went to Shopify's own help center and to the code of two of Shopify's free themes, Dawn and Horizon, and wrote down what they actually do. Then I ran a file-size test on six real product photos, because "PNG or JPG?" is the question sellers ask most and Shopify's own help pages answer it two different ways.

One disclosure: I'm the founder of EnhanceCraft, an AI image toolkit, and I mention our tools where they help. Everything in this guide works with any editor.

What Size Should Shopify Product Images Be?

Use 2048 × 2048 pixels for square product images. Shopify's product media help page says that size "usually displays best." Your images can be any size up to 5000 × 5000 px (25 megapixels) and must be smaller than 20 MB. For zoom to work, Shopify's image size guide says images must be larger than 800 × 800 px.

Here's which of those numbers you can't break and which are advice:

SpecNumberRule or advice?Where Shopify says it
Recommended size2048 × 2048 px (square)AdviceProduct media help page
Maximum size5000 × 5000 px or 25 MPRule: larger files won't uploadProduct media and theme image help pages
Maximum file sizeUnder 20 MBRuleProduct media and theme image help pages
ZoomLarger than 800 × 800 pxAdvice for zoom to workShopify's blog guide, not the help center
Aspect ratioKeep one ratio for all productsAdviceProduct media help page
File typesPNG, JPEG, TIFF, BMP, GIF, SVG, HEIC, WebPRuleProduct media help page

The 25-megapixel limit is the one that catches people out. 5000 × 5000 is exactly 25 MP, so a non-square photo hits the limit before either side reaches 5,000. A 6000 × 4000 camera photo is 24 MP and uploads fine. A 6500 × 4000 one is 26 MP and doesn't.

Why 2048 Pixels? What Shopify's Themes Actually Load

2048 px works because it's slightly wider than the biggest version Shopify's own Dawn theme requests for a normal product page. Shoppers rarely download your original file. Themes ask Shopify's image service for resized copies at set widths, and the image_url filter documentation states that "an image can never be resized to be larger than its original dimensions."

I read the image code of two of Shopify's own free themes to see what they ask for:

Where the image appearsDawn requests up toHorizon requests up to
Product card in a collection grid1,066 px, or your original file on very large screens—
Main image on the product page1,946 px3,840 px
Zoom and lightbox view4,096 px, or your original3,840 px

Sources: Dawn's product-thumbnail.liquid, product-media.liquid, and card-product.liquid, and Horizon's product-media.liquid, as of December 2026.

What this means for you:

  • ●A 2048 px upload covers the normal product page in Dawn, whose largest main-image width is 1,946 px.
  • ●Zoom is where bigger files show. Both themes request up to roughly 4,000 px for zoom, but they can only get as much as you uploaded. With a 2048 px file, a shopper on a large screen zooms into 2,048 px of detail and no more.
  • ●If zoom sells your product, upload larger. For jewelry, fabric, print, or anything where texture is the point, a 4000 × 4000 upload (16 MP) gives zoom real detail and stays inside the 25 MP limit.

Other themes may request different widths. If you want to check your own theme, open a product page, right-click the main image, and inspect its srcset: the largest "w" value is the widest copy your theme asks for.

Square, Portrait, or Landscape: Which Aspect Ratio Should You Use?

Shopify doesn't require an aspect ratio, but its help page says you need a consistent one so collection pages don't show images at different sizes. Square (1:1) is the safe default. Portrait (4:5) suits clothing and tall products, because it shows more of the item on a phone screen.

The ratio setting lives in your theme, not in Shopify itself:

  • ●Dawn's collection grid offers three image ratio options: adapt, portrait, and square. Adapt is the default, and it gives each card the shape of its own photo. Portrait is 4:5 in Dawn's code.
  • ●Horizon's product cards add a fourth option, landscape (16:9), with portrait again at 4:5.

What happens to a photo that doesn't match? Under adapt, every card takes its photo's shape, so mixed ratios produce a ragged grid with cards of different heights. Under square or portrait, Dawn's card styles use object-fit: cover, so a photo that doesn't match is cropped to fill the card, centered. A wide landscape product photo in a square grid loses its left and right edges.

So pick one ratio, set the theme to it, and shoot or crop every product to match, with the product centered and a little space around it. Shopify's admin has a basic media editor that crops to Square or the image's original ratio. For a batch, smart crop finds the product in each photo and crops around it to 1:1, 4:3, 3:2, and other ratios, filling with the photo's edge color instead of cutting the product off. It doesn't offer 4:5, so for portrait grids use the free image resizer, which crops to any ratio. Our smart crop guide shows how it frames different products.

Is JPG or PNG Better for Shopify?

For product photos, use JPG, or WebP if your editor exports it. Save PNG for logos, graphics, and cut-out products that need a transparent background.

Shopify's help center gives two answers here. The product media page says "the best file type for most product images is PNG, followed by JPEG." The theme images help page says to use JPEG for products, banners, and slideshows, and PNG for logos, icons, borders, and trims. I tested which advice holds up on real photos.

I took six product photos from our demo library: a clothing flat lay on a wood floor, a leather sofa on white, a clutch bag on a table, a black leather jacket, a camera on a pale backdrop, and an armchair in a room. I cropped each to a square and scaled it down (never up) to 2048 × 2048. Then I saved each one three ways, with Pillow 12.3 and the exact settings our own image converter uses: JPG at quality 85, WebP at quality 85, and PNG. To measure how close each lossy copy stayed to the original, I used SSIM, a 0-to-1 similarity score where 1 means identical.

Photo at 2048 × 2048JPGWebPPNGSimilarity (JPG / WebP)
Flat lay on wood floor908 KB823 KB6,610 KB0.949 / 0.957
Sofa on white202 KB92 KB1,399 KB0.994 / 0.988
Clutch on a table679 KB521 KB5,453 KB0.928 / 0.925
Black leather jacket736 KB595 KB4,500 KB0.948 / 0.945
Camera on a pale backdrop273 KB132 KB2,243 KB0.989 / 0.985
Armchair in a room621 KB461 KB5,305 KB0.949 / 0.942

What the numbers say:

  • ●PNG was 6 to 8.5 times bigger than JPG for every photo. PNG is lossless, so it keeps every pixel exactly, but on a photo that buys you nothing you can see at product-page size.
  • ●WebP was 9% to 54% smaller than JPG at nearly the same similarity score. The two scores were within 0.01 of each other on every photo.
  • ●Plain backgrounds are cheap; texture is expensive. The sofa on white was a fifth the size of the flat lay at the same dimensions. Wood grain, fabric, and busy rooms are what make files heavy.
  • ●Every file was far under 20 MB. Even the largest PNG was 6.6 MB, so the limit only matters for huge camera files or TIFFs.

One case where PNG makes sense is a cut-out product with a transparent background, because JPG can't store transparency. But WebP can. When I saved the same six products as transparent cut-outs, the PNG versions ran from 631 KB to 4.7 MB, and the WebP versions from 98 KB to 606 KB: 6 to 13 times smaller. Shopify accepts WebP, so a transparent WebP is usually the better upload. Our WebP guide explains the format, and our image format guide compares it with AVIF, JPG, and PNG.

How Big Should a Shopify Image File Be?

Keep product photos well under the 20 MB limit. Around 1 MB or less is plenty for a 2048 px photo. Shopify's blog suggests about 300 KB for product photos and 500 KB for most website images, and only two of my six test photos came in under 300 KB as JPGs.

That target matters less on Shopify than on a site you build yourself, for two reasons Shopify documents:

  • ●Shopify doesn't compress your upload. The theme images help page says images "aren't compressed when you upload them," to keep their quality.
  • ●Shoppers mostly download resized copies. As the table above shows, themes request specific widths, and the image_url documentation says Shopify "automatically detects which image formats are supported by the client (e.g. WebP, AVIF, etc.)" and picks one for quality and file size.

So the size of your original mostly affects upload time and how much zoom has to work with. Export JPGs at quality 80 to 85, and don't push them down to 300 KB at the cost of visible blur. If a batch is still heavy, the free image compressor shrinks them without changing their dimensions. Our image optimization guide covers page speed beyond product photos.

Other Shopify Image Sizes: Header, Banner, Collection, and Logo

Shopify doesn't set one size for banners or headers, because your theme section decides the shape of the image area, not your photo. The theme images help page says sections such as slideshows, image banners, and full-width sections show images in an area "whose shape is set by the section." Shopify's blog guide gives these starting sizes:

ImageSize in Shopify's guideShape
Hero image1280 × 720 px (desktop)16:9
Website banner1200 × 400 px (desktop)3:1
Background image2560 × 1440 px (desktop)16:9
Rectangle logo400 × 100 px4:1
Square logo100 × 100 px1:1
Favicon48 × 48 px1:1
Collection imageUp to 5000 × 5000 px, like product imagesMatch your product grid

For headers and banners, three settings matter more than the exact pixels:

  1. 1.The section's height setting. Many of Shopify's free themes have an "Adapt to first image" option, which sizes the banner to your photo instead of cropping it.
  2. 2.A focal point. In Dawn 7.0.0 and later, you can set the point Shopify keeps in view when it crops a banner on different screens.
  3. 3.Mobile. A wide 3:1 banner becomes a narrow strip on a phone, so keep any important subject in the center third.

What to Do When a Product Photo Is Too Small or the Wrong Shape

Check the pixel size first. On a computer, open the file's properties or info panel; on a phone, swipe up on the photo. Your target is 2048 px on each side. A modern phone photo is usually large enough. Supplier photos and old catalog shots often aren't: many arrive at 800 to 1,200 px.

Then work through the fixes in this order:

  1. 1.Ask for the original. Suppliers often send a web-sized copy and have a larger file.
  2. 2.Crop to your grid's ratio. Do it before enlarging, so you don't spend pixels on space you'll cut.
  3. 3.Enlarge with AI upscaling if you're short. Ordinary resizing stretches the pixels it has. An AI upscaler rebuilds edges and texture as it enlarges, so an 800 px supplier photo can reach 3,200 px with more detail than plain resizing. Check logos and small print afterwards, because tiny text is where any upscaler is most likely to guess. Our guide to increasing image resolution shows what upscaling recovers and what it can't.
  4. 4.Shrink anything over the limit. If a file is over 5000 px or 25 MP, resize it to 2048 px (or 4000 px for zoom) before uploading. The free image resizer does this without credits or a watermark.

EnhanceCraft's product photo editor has a Shopify / WooCommerce preset that runs the whole job in one pass. It crops the product to a centered square with a small margin, sizes it to Shopify's recommended 2,048 px, cleans up noise, removes the background, and saves a transparent WebP, for 4 credits a photo. Before you use it, know its limits, which I checked in our code:

  • ●It sizes every result to 2,048 px. A smaller crop is AI-upscaled up to 4x, only as far as 2,048 px, and a bigger one is scaled down, so the output stays inside Shopify's limits. A very small photo still comes out below 2,048 px: a 400 px crop tops out at 1,600 px.
  • ●It takes photos up to 25 MP on the free plan, enough for a 24 MP phone photo. Bigger files are scaled down in your browser before upload. Paid plans take up to 64 MP and 8,192 px on the long side.
  • ●Free downloads are capped at 1,200 px on the long edge and carry a small watermark. That clears Shopify's 800 px zoom threshold but not 2048 px. Full-resolution downloads need a paid plan or a pay-as-you-go credit pack.

If your photos are already big enough and you only need one fix, the single tools are cheaper. Use smart crop to fix the shape, the image upscaler to fix the size (2x or 4x), or the Shopify background removal page to swap the background.

Shopify Image Checklist

Before you upload, check that:

  1. 1.Every product image uses the same aspect ratio, and your theme's image ratio setting matches it.
  2. 2.Square images are about 2048 × 2048 px, or around 4000 px if zoom detail matters.
  3. 3.Nothing is over 5000 × 5000 px or 25 megapixels, and every file is under 20 MB.
  4. 4.Each image is larger than 800 × 800 px, so zoom works.
  5. 5.Photos are JPG or WebP at quality 80 to 85. Logos and transparent cut-outs are PNG or WebP.
  6. 6.The product is centered, with a margin, so a cropped card doesn't cut it off.
  7. 7.Banners keep the subject in the center, with a focal point set if your theme supports it.

Selling on Etsy too? Etsy wants a different file: no WebP and no transparency. Our Etsy listing photo size guide has its specs, and our Shopify and Etsy playbook shows how to export one shoot for both. For Amazon, see our guide to Amazon product image requirements.

Frequently Asked Questions

What size should Shopify product images be? Use 2048 × 2048 pixels for square product images, which Shopify says usually displays best. Images can be up to 5000 × 5000 px (25 megapixels) and must be under 20 MB. Make them larger than 800 × 800 px so zoom works, and keep the same aspect ratio across all your products.

What is the maximum image size on Shopify? 5000 × 5000 pixels or 25 megapixels, and under 20 MB per file. Non-square images hit the 25-megapixel limit before either side reaches 5,000 px, so a 6000 × 4000 photo (24 MP) uploads but a 6500 × 4000 one (26 MP) doesn't.

Is JPG or PNG better for Shopify? JPG, or WebP, for product photos. In our test of six product photos at 2048 × 2048, PNG files were 6 to 8.5 times larger than JPG with no visible gain, and WebP was 9% to 54% smaller than JPG at nearly the same quality. Use PNG for logos and graphics, and WebP or PNG for transparent cut-outs.

What is the recommended size for a Shopify header image? Shopify doesn't set one, because the theme section decides the banner's shape. Shopify's image size guide uses 1280 × 720 px for a 16:9 hero image and 1200 × 400 px for a 3:1 banner on desktop. Set a focal point if your theme supports it, and keep the subject in the center for mobile.

Does Shopify compress or resize images? Shopify doesn't compress your upload, so the original keeps its quality. When a shopper visits, the theme requests resized copies, and Shopify serves a format the browser supports, such as WebP or AVIF. It never enlarges an image beyond the size you uploaded.

Should Shopify product images be square? Square is the safest choice, and it's the shape Shopify's 2048 × 2048 recommendation refers to. Portrait (4:5) also works well, especially for clothing. What matters most is using one ratio for every product and setting your theme's image ratio to match, so the grid doesn't crop or misalign your photos.

Get Your Product Photos Shopify-Ready

Shopify's rules are simple: under 5000 px and 25 megapixels, under 20 MB. The rest is choosing well: 2048 px for the product page, or around 4000 px when zoom matters, one aspect ratio across the store, and JPG or WebP instead of PNG for photos.

If your supplier photos are too small or need a clean background, try the free product photo editor, with 25 credits to start, then 10 every month, no card required. Our e-commerce workflow covers the rest of a product listing.

Tags:E-commerceProduct PhotographyListing PhotosFile Format GuideImage Optimization

Found this helpful?

Share it with your network

Ready to try it yourself?

25 free credits to start, then 10 every month. No credit card. Most images are ready in about 7 to 15 seconds.

Try Product Photo Editor free
ML

Munib Ali Laghari

Founder · EnhanceCraft

Munib Ali Laghari is the founder of EnhanceCraft, an AI image toolkit. He writes about AI upscaling, photo restoration, and background removal. Connect on LinkedIn

Recent Posts

Stay Updated

Get the latest guides and tutorials delivered to your inbox.

We respect your privacy. Unsubscribe at any time.