Published

A megapixel is a count of pixels, not a score for the photograph

One megapixel is one million pixels. That is the entire definition, and the arithmetic behind a camera specification is just as short: multiply the width of the image in pixels by its height, then divide by a million. A camera that writes 4000 by 3000 pixel files is producing 12 million of them, so it is a 12 megapixel camera. A 24 megapixel camera gives you 6000 by 4000.

So the term is settled in one line, and nobody searching for it actually wants the line. What they want is the next question, which is whether a bigger number means a better photograph, and the answer to that is not a number at all. A megapixel count tells you how finely the picture was sampled. It tells you nothing about whether the lens was sharp, whether the light was any good, or whether the subject was in focus, and those decide far more of what you see.

This page covers what the count genuinely predicts, the two places the specification on the box is not the file you end up with, and the one question where the number really is the answer. Where that lands on printing, the guide to pixels per inch here carries the arithmetic.

What the count does predict

A megapixel count is a measure of sampling, so it predicts the things that depend on how many samples you have, and there are only three of them. Separating them is worth doing because only the first is what people usually mean by it, while the second is where most photographers get the real value.

What it does not predict is anything about the quality of each sample. Cloudinary makes the point in its own glossary entry: a 12 megapixel smartphone camera can outperform a higher-megapixel camera with weaker components, because lens quality, sensor size and image processing all sit between the scene and the file. Adorama, writing the buying guide version of this question, puts dynamic range and autofocus alongside resolution and concludes that megapixels probably are not the first specification you should be looking at.

  • How big it can go: more pixels, more inches before the grid shows.
  • How far you can crop: a crop throws pixels away, so the count is your budget for it.
  • How much room it takes: a 24 megapixel file holds twice the pixels of a 12 megapixel one.
  • Not predicted: sharpness, focus, exposure, colour, noise, or whether the lens could resolve that much detail in the first place.

The number on the box is often not the file you get

Phones advertise sensor counts that their camera app does not write to disk, and this is the single most common reason a specification and a file disagree. The technique is called pixel binning, and it is not a trick so much as a deliberate trade.

A binned sensor reads a 2 by 2 block of neighbouring pixels as though it were one pixel. Android Authority describes the process as combining data from four pixels into one, and states the consequence plainly: a binned shot from a 48 megapixel camera is actually 12 megapixels. Astronomy puts the geometry of it in one sentence, that binning into 2 by 2 groups reduces the image resolution by a factor of two and the total number of effective pixels by a factor of four, and gives the iPhone 14 Pro and its 48 megapixel sensor producing a 12 megapixel image as the example. Sensors above 108 megapixels sometimes bin nine into one instead.

The reason to do it is sensitivity. Astronomy frames the trade as losing resolution and gaining sensitivity, and notes that a binned 48 megapixel sensor does not outperform a true 12 megapixel sensor of the same size. So the high number on the box describes the hardware honestly and describes your photograph only in a mode you may never use. If you want to know what you have, read the pixel dimensions of a file you actually took rather than the specification you bought.

  • Four pixels read as one: a 48 megapixel sensor writes a 12 megapixel file.
  • Nine read as one on some sensors past 108 megapixels.
  • You lose resolution and gain sensitivity, which is why the binned mode is the default in low light.
  • The check that settles it: open a photo you took and look at its pixel dimensions.

More pixels on the same sensor, and the argument about it

The other half of the specification is physical. Sensors come in sizes, and a count of pixels says nothing about the area they are spread across. Two cameras can both be 24 megapixels with sensors that differ several times over in area, and they will not give you the same picture in poor light.

The received wisdom is that packing more pixels onto one sensor shrinks each one, so each gathers less light, so the picture gets noisier. The first part is arithmetic. The last part is contested, and the honest version is more useful than the slogan. DPReview, having worked through it, concludes that sensor size is much more important than pixel size, and that at the level of individual pixels the smaller ones do receive less light, but at the level of the whole image the effect is not by as much as you would think, if at all. In good light, where shot noise dominates, it finds there will be no difference if the two images are viewed at the same size. The gap opens in deep shadow and at high sensitivity, where it estimates at worst a 22 percent increase in the read noise contribution and almost always less.

The practical reading: sensor area is the lever that matters, megapixel count is close to free on the same sensor, and a larger sensor can beat a smaller one even when its individual pixels are not bigger. None of which is visible in the one number a specification sheet leads with.

The question where the count really is the answer

There is one question that a megapixel count answers completely, and it is the print. Printing is the only common thing you do with a photograph where a fixed number of pixels meets a fixed physical size, so the arithmetic closes.

Multiply the print size in inches by the density the printer works at. At the 300 pixels per inch convention Adobe cites, an 8 by 10 inch print wants 2400 by 3000 pixels, which is 7.2 million of them, so a little over 7 megapixels. That is the whole reason the number existed as a marketing line for twenty years, and it is also why it stopped being interesting: almost any current phone clears it several times over. Cloudinary puts the everyday floor at 12 to 16 megapixels for snapshots and sharing, and 20 or more for professional work and large prints.

The guide to pixels per inch here runs this in both directions, including what happens when you divide instead of multiply and the file turns out short. That is the more common case with old photographs, because a scan of a small print or a picture saved out of a messaging app is usually nowhere near the count a modern camera gives you.

  • 4 by 6 inches at 300 pixels per inch: 1200 by 1800 pixels, about 2 megapixels.
  • 8 by 10 inches at 300 pixels per inch: 2400 by 3000 pixels, about 7 megapixels.
  • 11 by 14 inches at 300 pixels per inch: 3300 by 4200 pixels, about 14 megapixels.

Where the count stops being the constraint

For repairing a photograph rather than printing it, the megapixel count of whatever took the original matters less than people expect, and there is a concrete reason why in this app. The Clara web app prepares a picked photo before anything else happens to it: a photo longer than 2048 pixels on its long side is reduced to that, and a smaller one is left as it is. A 4 by 3 frame at that size is a little over 3 megapixels.

Which means that past roughly 3 megapixels of input, a higher count in the original is not what decides the result. A 48 megapixel photograph and a 12 megapixel photograph of the same subject arrive at the same size. What separates them by then is what was in the picture: whether the face was in focus, whether the print was faded or stained, how much real detail survived the scan. The sensor specification stopped being the variable several steps earlier.

This is the part worth taking from the whole question. A megapixel count is a budget for size and cropping, and once a picture is inside the budget, spending more of it buys nothing you can see. If your photograph is short of the budget instead, that is the case where more pixels genuinely help, and adding them is a different job from measuring them. Clara enlarges a photograph and rebuilds detail in it, faces included, so a scan too small for the print you wanted can carry it. Your first enhance is free, which is the sensible way to see what your own file does, and saving or sharing the result takes Pro.

What to do with the number

Stop reading it off the box and read it off a file. Open a photograph you took, look at its pixel dimensions, multiply them and divide by a million, and you have the count that actually applies to your pictures rather than to the hardware in the marketing.

Then use it for the two things it is good for. Check it against the print you want, which is multiplication and takes a second. Check whether it leaves you room to crop, which is the same sum run on the part of the frame you would keep. For everything else about how a photograph looks, the count is the wrong instrument, and the guide to improving photo quality here sorts the faults that are actually worth chasing.

And if the sum comes out short, that is the one case where the answer is more pixels. Clara enlarges a photograph and rebuilds detail, faces included, on the iPhone app or in the browser at clara.yiribaai.com/app. Results vary with the original, your first enhance is free, and saving or sharing takes Pro.

More guides

Questions

What is a megapixel?

One million pixels. To work out a camera or a file, multiply the pixel width by the pixel height and divide by a million: a 4000 by 3000 pixel image is 12 million pixels, so 12 megapixels. It is a count of how finely the picture was sampled, and it says nothing about the lens, the focus or the light.

Do more megapixels mean better photo quality?

No, not on their own. A higher count lets you print larger and crop further, and that is what it buys. Cloudinary notes that a 12 megapixel phone can outperform a higher-megapixel camera with weaker components, because lens quality, sensor size and processing sit in between. Adorama reaches the same conclusion from the buying side and says megapixels probably are not the first specification to look at.

Why does my 48MP phone save 12MP photos?

Because of pixel binning. The camera reads a 2 by 2 block of four pixels as one, which Android Authority describes as combining data from four pixels into one, so a binned shot from a 48 megapixel camera is actually 12 megapixels. Astronomy notes the trade: you lose resolution and gain sensitivity, which is why it is the default in low light. The specification describes the sensor, not the file you get.

How many megapixels do I need to print a photo?

Multiply the print size in inches by the density the lab prints at. At the 300 pixels per inch convention Adobe cites, an 8 by 10 inch print wants 2400 by 3000 pixels, about 7 megapixels, and an 11 by 14 wants about 14. Cloudinary puts 12 to 16 megapixels as enough for everyday snapshots and 20 or more for large prints. The pixels per inch guide here runs the sum in both directions.

Is a bigger sensor better than more megapixels?

Sensor area is the more important of the two. DPReview concludes that sensor size is much more important than pixel size, and that while smaller pixels do receive less light individually, at the whole-image level the effect is not by as much as you would think, if at all. In good light it finds no difference when two images are viewed at the same size, with the gap opening only in deep shadow and at high sensitivity.

Does a high megapixel original give a better enhanced result?

Only up to a point. The Clara web app reduces a photo longer than 2048 pixels on its long side to that before anything else, which is a little over 3 megapixels on a 4 by 3 frame, so past that the count in the original is not the variable. What matters by then is what survived in the picture: focus, fading, staining and how good the scan was.

Sources

Restore a photo with Clara