Language: EN
Start free

Megapixel

A megapixel is one million pixels. An image’s megapixel count is its width multiplied by its height, and some marketplaces cap it.

Also called megapixels · MP · pixel count

With Herofab Image size checker

A pair of cream leather pumps on white
Source photo: Plain product photo. Made with Herofab · Packshot studio

Megapixels measure the total number of pixels, not the shape. A long, narrow banner and a square can have the same count. Cameras are sold by this number, and a current phone records far more pixels than a product page ever displays.

A few marketplaces limit uploads by megapixels in addition to, or instead of, a maximum width and height. A photo straight from a phone can exceed such a limit, and so can a heavily upscaled image. The remedy is to export at smaller dimensions; the marketplace would scale the picture down anyway.

More megapixels do not mean a better product image. Sharp focus, even light and a product that fills the frame matter more, and beyond the size at which zoom works the extra pixels only add weight to the file.

How a megapixel count is worked out

The count is the width in pixels times the height in pixels, divided by a million. A photo a few thousand pixels wide and a little less high therefore holds several million pixels, and the figure a camera advertises is that product, rounded. Because the count multiplies two sides, it grows fast: twice the width and twice the height give four times the pixels.

It also shrinks more gently than it sounds. Halving the megapixel count shortens each side by only about three tenths, so a photo reduced to fit a megapixel cap usually keeps far more of its size than the halved figure suggests. A long panorama can stay under such a cap while one side exceeds a maximum length, and a square can do the opposite.

What the number on a phone or camera tells you

The figure describes the grid of the sensor, not the quality of the picture. A small phone sensor divided into very many pixels gives each one little light, so many phones with high counts combine neighbouring pixels into one and save a smaller image by default. The full count appears only in a special mode, often with more noise in poor light.

Lens, focus, light and processing decide how much of that grid holds real detail. A camera with fewer megapixels and a good lens can show the weave of a fabric more clearly than a phone with a far higher count used in a dim room, and both give a product page more pixels than it displays.

How cropping and digital zoom spend megapixels

Every crop removes pixels. A crop to half the width and half the height leaves a quarter of the original count, which is why a product photographed small in the middle of the frame can fall below a marketplace minimum once it is cropped to fill the frame.

Digital zoom on a phone is the same crop made before the photo is saved, often followed by an enlargement back to the full count. The file then reports many megapixels that hold the detail of few. Moving the phone closer, or using a real telephoto lens where the phone has one, keeps the detail that digital zoom only imitates.

Megapixels and related image terms

Image dimensions
Image dimensions give the width and the height separately; the megapixel count multiplies them into one figure. Two images with the same count can have very different shapes, and a rule on the length of a side is a rule about dimensions.
DPI
DPI is a print density stored in the file, and it does not change the pixel count. The megapixels decide how large a print can be at a given density; the dpi field only states which density was chosen.
Image upscaling
Image upscaling raises the megapixel count by adding pixels that software reconstructs. Doubling both sides multiplies the count by four, which can take a file over a megapixel cap that the original met.
Image file size
Image file size is the weight of the saved file. It rises with the megapixel count, but compression and format move it far more, so a file over a size limit is usually fixed by compression before any pixels are removed.

A megapixel checklist before upload

  • The count was worked out from the exported file's own width and height, not taken from the camera's specification.
  • Where the sales channel caps megapixels, the export stays below the cap with both sides still above the minimum.
  • After cropping, enough pixels remain for the size from which the sales channel offers zoom.
  • Close-ups were taken by moving the phone nearer to the product, not with digital zoom.
  • Upscaled images were checked against the megapixel cap and the file size limit again after upscaling.
Questions

Megapixel, answered.

How many megapixels does a product photo need?

Far fewer than a current phone records. What a listing needs is a width and height that meet the marketplace's minimum and allow zoom, and the megapixel count simply follows from those two figures. A camera with a higher count gives more room to crop, not a better image on the product page.

Are megapixels and megabytes the same thing?

No. Megapixels count the pixels in an image; megabytes measure how much storage the saved file takes. Two images with the same megapixel count can differ widely in megabytes, depending on the format and on how strongly the file is compressed. A marketplace may limit either one or both, so a file can pass one limit and fail the other.

What does MP mean on a phone camera?

MP stands for megapixels, the number of light-sensitive points on the sensor in millions. It sets the largest image the camera can save. It does not describe the lens, the size of the sensor or how the phone processes the picture, and those decide more of what a product photo looks like than the count does.

How do I find the megapixels of a photo I already have?

Open the file's details to read its width and height in pixels, multiply the two and divide by a million. Some phones and photo apps show the megapixel figure directly in the information view. Herofab's free Image size checker reads the dimensions in the browser and flags a file with too many megapixels for each marketplace whose rules set such a limit.

Can I reduce megapixels without losing quality?

For a product page, yes, within limits. Scaling a large photo down to the size a marketplace recommends removes pixels the page would never show, and the result often looks crisper on screen, not softer. The loss becomes visible only when the image falls below the size needed for zoom, or when a fine pattern turns into a wavy moiré after a careless reduction.

In marketplace rules

What marketplaces say about it.

Updated 25 September 2026

Google Shopping
No file larger than 16 MB, no image larger than 64 megapixels Official page
Shopify
Up to 5,000 × 5,000 pixels, or 25 megapixels Official page
Allegro
At least 500 pixels on the longer side; uploads up to 26 megapixels; images are shown at up to 2,560 × 2,560 pixels, and larger ones are scaled down proportionally Official page
Related
Free tools
Get started

Your next collection, shot this week.

20 credits at sign-up, no card required. Images made with free credits carry a watermark. Herofab also removes the watermark from those images once credits are purchased.