How many megapixels do you need?

HTC says 4 megapixels, Nokia says 41MP and even Apple wasn't worried about boosting the megapixel figure of its new iPhone 5S : who’s right?

Megapixels.

How did such a simple concept become so wrapped up in hyperbole, controversy and confusion? Compact camera manufacturers act like everyone needs more of them. Photography pundits generally wish there were less. Smartphone manufacturers are completely unable to agree where they stand on the issue. The current generation of premium smartphones includes a 4MP model from HTC, 8MP from both Apple and Google, 13MP from Samsung and LG, 20.7MP Sony and 41MP from Nokia. Surely they can’t all be right?

So how many megapixels do you really need?

It’s a simple question without a simple answer, but let’s start by breaking it down into two parts. If we take the assumption that more detail is generally welcome, at what point is there no practical benefit to the user? Then there’s the issue of technical limitations. How many megapixels can a smartphone deliver before the drawbacks outweigh the benefits?

Before we tackle these questions, let’s make sure we’re talking about the same thing. A megapixel rating tells you how many pixels there are in a photo. If it measures 4,000 by 3,000 pixels, multiply the two numbers to get 12 million, so it’s a 12-megapixel photo.

It’s worth noting that a 24MP photo isn’t twice as wide as a 12MP photo. It’ll have twice as many pixels, but that means it’ll only be 41% wider and 41% taller – in this case, that’s 5,656 x 4,242. Similarly, if you halve the width of a 12MP photo, to 2,000 x 1,500, the megapixel rating drops to a quarter, or 3MP. As such, the differences between a 4MP, 8MP, 13MP and 41MP photo perhaps aren’t as big as the numbers might suggest.

This graphic represents the relative sizes of popular smartphones’ photo resolutions (the Nokia Lumia 1020 has a 41MP sensor but its photos are 38MP at the standard 4:3 aspect ratio)

How many megapixels are sufficient for the average smartphone user?

These days, most photos are shared on social media services and viewed on computers, TVs, tablets and phones. The resolution of these screens varies from around 1MP for a typical smartphone to just over 3MP for the Retina Display on an iPad. A large number of TVs are Full HD (also known as 1080p), which works out at 2MP. A lot of computer monitors and an increasing number of phones and tablets use this resolution, too. The biggest screens around are 4K TVs, which equate to 8MP. They’re ridiculously expensive at the moment, but they’re bound to become more affordable and commonplace over the next decade.

On this basis, the most megapixels you’re likely to need to show your photos at their best on today’s electronic displays is 3MP. If you want them to look great for decades to come, you might want to shoot them at 8MP.

If you print photos out, the demands are similar: 300 pixels per inch (ppi) is widely accepted to be as sharp as the eye can see for photo prints. A 5x7-inch photo at 300 ppi weighs in at 3MP, while for an A4 print it jumps to 9MP. Even an A2 poster print at 300 ppi is only 35MP – still less than the 38MP photos from the Lumia 1020.

The graphic below shows how these sizes stack up – red for displays, blue for print sizes and green for the photo resolutions of the four smartphones that we’re concentrating on in this feature. The figures are included below for reference, too. A 4MP image can contain enough detail to fill an iPad screen or produce sharp 5x7-inch prints. It’s only when you get to A4 enlargements or 4K TVs that higher resolutions become necessary. Even then, 8MP is perfectly sufficient.

Resolutions compared: displays are in red, print sizes in blue, smartphone cameras in green.

Screen resolutions

iPhone 51,136 x 640 0.7MP

Full HD 1,920 x 1,0802MP

iPad Retina Display2,048 x 1,5363MP

4K TV3,840 x 2,160 8MP

Print sizes

7x5in print at 300ppi2,100 x 1,5003MP

A4 print at 300ppi 3,508 x 2,480 9MP

A3 print at 300ppi 4,960 x 3,508 18MP

A2 print at 300ppi 7,016 x 4,9603 35MP

Smartphone camera resolutions

HTC One2,688 x 1,520 4MP

Apple iPhone 5, 5c, 5s3,264 x 2,4488MP

Samsung Galaxy S4 4,128 x 3,09613MP

Nokia Lumia 10207,136 x 5,36038MP

Nothing is ever that straightforward, though. For one thing, hardly any smartphone cameras include an optical zoom. Digital zoom has its place, but the best it can ever do is guess what the extra detail should look like. However, if the photo resolution is much higher than you need it to be, you can crop the photo and still have enough megapixels for a detailed image.

This can be done manually in editing software, and it’s also how the zoom function on the Nokia Lumia 1020 works. It can shoot 38MP photos, but switch to 5MP and you can zoom by up to 2.7x – there’s still a pixel on the sensor for every pixel in the photo, so no digital interpolation (read guesswork) is necessary.

It’s worth noting that applying a 2x digital zoom means you’re only using a quarter of the surface area in the center of the sensor – half of its width and half the height. So for an 8MP camera, applying a 2x digital zoom means you’re effectively capturing a 2MP photo. In most cases, this will be raised back up to 8MP using interpolation.

The Nokia Lumia 1020 uses the central 5MP area of its 41MP sensor to provide a 2.7x zoom function (above). It also saves the full 38MP photo (below), just in case you decide to zoom out again or crop to a different area after taking the photo.

The two files have just as much detail per pixel (although the 5MP version (left) appears to have stronger digital sharpening applied). It’s just that the 38MP version captures a larger wide-angle scene.

We recently looked further into the Lumia 1020's zoom image quality in our 11-page review of the device; see the section on

image quality and performance

to learn more.

Another reason for choosing a resolution beyond 3MP is that digital cameras rarely capture the sharpest possible details per pixel. On a smartphone camera’s sensor, each pixel measures either red, green or blue light. These colors are arranged in a mosaic layout, typically with two green, one red and one blue in a two-by-two grid (read more about this

here

). The camera’s software must then calculate a full-color value for each pixel, but ultimately there’s always a bit of guesswork involved. If you wanted a genuine full-color measurement for each pixel in your final image, you’d need to drop the resolution to a quarter of the original.

Detail can also be lost due to anti-alias filtering. This is to avoid artifacts such as moiré and false color, where the details in the scene cause interference with the regular grid of pixels on the sensor (more information

here

). In a digital camera, anti-alias filtering essentially involves gently blurring the image to hide these artifacts, and then sharpening it up again digitally.

In practice, all this digital processing for creating full-color, artifact-free photos is pretty sophisticated, and the best cameras are perfectly capable of capturing sharp details. However, reducing the resolution using a high-quality resizing algorithm does tend to give crisper details per pixel. As such, shooting at 8MP and dropping the resolution to 4MP will often give crisper fine details than shooting with a 4MP camera.

The image on the left is a 1:1 pixel crop from a photo taken with an Olympus E-PM2. Focus is pixel-sharp, but details aren’t quite as precise as the version on the right. For this shot, we zoomed the lens from 14mm to 42mm (a 3x magnification) and then resized the image in Photoshop to match the sizes.

We’re now ready to answer the question of how many megapixels are useful in practice. For most sharing destinations, 3MP is fine, while 8MP is enough for A4 prints and 4K TVs. However, to achieve the crispest possible details, you might want to scale these figures up a bit. If you want to crop the photos – especially if your camera lacks an optical zoom – there’s no upper limit to the number of megapixels that might be useful.

How many megapixels can a smartphone realistically deliver?

It’s all very well wanting something, but that doesn’t mean you can have it. There’s a reason why 1,000-megapixel cameras don’t exist, and it’s not because no one wants them (in fact, gigapixel photos are popular – they’re made by stitching hundreds of photos together).

There are three technical limitations to raising the megapixel rating of a camera in an effort to boost quality. One is simply that a higher resolution takes longer to process and consumes more storage space. Cameras' and smartphones’ processors are getting more powerful and memory cards are getting bigger and cheaper, but there still needs to be a balance between resolution and the practicalities of saving the images.

Another limitation is the sharpness of the lens. There’s little point in capturing more pixels if all they’re recording is a blurry image. At the current resolutions offered by smartphones, we’re already seeing lenses that struggle to maintain sharp focus throughout the frame. Details are usually pretty sharp in the center but they tend to fall off slightly towards the edges. That’s not necessarily a disaster, as the main subject is usually somewhere near the center. However, it stands to reason that there would come a point where increasing the resolution would only capture the defects of the lens in increasing detail.

Then there’s the thorny issue of sensor noise. This is caused by inaccuracies in the measurements for each pixel, and it takes the form of a speckled graininess across the image. Digital cameras try to mask it with noise-reduction processing, but it’s hard for a camera to distinguish between unwanted noise and fine details in the scene. As a result, noise reduction also removes some of the fine detail from a photo. In dimly lit scenes, the camera must boost the exposure, and this boosts noise levels too. That’s why low-light photos often look grainy or exhibit smudged, syrupy details – the telltale signs of aggressive noise reduction.

It’s especially true of smartphones and budget compact cameras because their sensors are physically very small. A small sensor has a small lens sat in front of it, which captures less light than a bigger sensor and lens. Without getting bogged down in the physics, it’s clear that an SLR’s lens gathers much more light than a smartphone’s tiny lens. If both cameras have the same resolution, each pixel on the smartphone’s sensor has a tiny amount of light to measure. It’s harder to measure something accurately when it’s very small, so inaccuracies – and noise levels – are higher.

If you doubled the number of megapixels on a camera’s sensor, you’d halve the amount of light that each pixel would have to measure, which means even more noise. In fact, it might well be more than double as you’d have to find room for all the extra ancillary components on the sensor too. So while increasing the resolution seems like it should boost the amount of detail captured, there’s a chance that the resulting stronger noise reduction would actually decrease the detail levels.

However, it is possible to increase the resolution without boosting noise levels if you also increase the physical size of the sensor. This explains why SLRs are able to offer 24MP and higher resolutions but still deliver lower noise than compact cameras with their tiny sensors.

It also explains why the Nokia Lumia 1020 is able to capture 38MP photos that aren’t completely awash with noise. Its high resolution is matched by a 1/1.5 inch sensor – that’s twice the diagonal and four times the surface area of the 1/3 inch sensors that are commonly used in smartphones. It’s a bit like taking four conventional 10MP smartphone sensors and arranging them in a two-by-two grid.

The HTC One takes the opposite approach with its 4MP sensor. It’s a conventional 1/3 inch size, but because each pixel has more light to measure, its noise levels are significantly lower than from sensors with more densely packed pixels. Then again, merging multiple pixels averages out noise levels, so resizing a 12MP sensor’s output down to 4MP also helps to reduce noise.

This is a can of worms that we’ll quickly put the lid back on – debates about pixel density will surely go on forever. It’s the overall physical size of the sensor and lens

which play the biggest role in determining the amount of noise for a given print or screen size.

These crops have been taken from our Low Light Studio Scene. It’s not a direct comparison of the sensors’ performance as these shots are at different exposure settings and sat behind different lenses (the Galaxy S4’s relatively noisy output is largely due to the camera picking a faster 1/30s shutter speed, which has pushed the ISO speed up to a higher value than the others). We’ve resized them so they’re the same size as the HTC One’s 4MP output. The Nokia is the clear winner here, not so much because it has a huge resolution but because its sensor is so much bigger than the others. This reduces noise and minimizes the need for detail-slaying noise reduction.

The bottom line

So how many megapixels do you need? Here’s the shortest answer we can muster: for most purposes 3MP is plenty, but you might want to shoot at around 8MP for the crispest possible details. 8MP is a sensible minimum for big prints and 4K TVs, and even higher resolutions allow you to crop photos without sacrificing quality too much. However, make sure that very high resolutions are matched by an equivalent increase in sensor size.

Of course, image quality is also defined by the design of the sensor, the quality of the lens, the intelligence of the metering and automatic exposure system ... the list goes on. It’s a good job, because if you could tell a camera’s quality just by its megapixel rating, we’d be out of a job.