Skip to content
PictureToLink logoPictureToLink
Menu

Megapixel calculator

Megapixels are width times height divided by one million, so a 4032 × 3024 phone photo is 12.19 MP. Type a width and height in pixels into this megapixel calculator to get the megapixels, or start from a megapixel count and an aspect ratio to get the image resolution in pixels and the biggest print it can make.

Change any value and the result updates as you type.

px
px

Megapixels

12.19 MP

4,032 × 3,024 = 12,192,768 pixels ÷ 1,000,000

Total pixels
12,192,768
Aspect ratio
4:3
Largest print at 300 PPI
13.44 × 10.08 in (34.14 × 25.6 cm)
Largest print of 4,032 × 3,024 px at each resolution
ResolutionPrint size (in)Print size (cm)
300 PPI13.44 × 10.08 in34.14 × 25.6 cm
240 PPI16.8 × 12.6 in42.67 × 32 cm
200 PPI20.16 × 15.12 in51.21 × 38.4 cm
150 PPI26.88 × 20.16 in68.28 × 51.21 cm

Calculated in your browser; nothing you type is sent or stored. Spotted a wrong result? Tell us.

By Mudasir Ahsan (Founder) · Updated 10 November 2026

On this page

How to use the megapixel calculator

  1. Start from what you know. Most people have a width and height in pixels, from the photo's file properties or a camera spec sheet, and want the megapixels. If you only have the megapixel count, switch to the second mode and choose the camera's aspect ratio: 4:3 for phones and compact cameras, 3:2 for DSLR and mirrorless cameras, 16:9 for video frames.
  2. Type the numbers. Commas are fine, so 4,032 and 4032 both work.
  3. Read the result. You get the megapixels (or the width and height), the exact pixel count, the aspect ratio, and the largest print at 300, 240, 200 and 150 PPI.

On Windows the pixel dimensions are under right-click › Properties › Details. On a Mac, open the photo in Preview and choose Tools › Show Inspector. Phones hide the same figures in different places, and our guide to reading photo metadata shows where.

How to calculate megapixels

Megapixels = width × height ÷ 1,000,000

A megapixel is one million pixels (Pixel: megapixel on Wikipedia), so you multiply the two sides and divide by 1,000,000. That is all an image resolution calculator does in this direction:

  • 4032 × 3024 = 12,192,768 pixels, which is 12.19 MP. Most 12 MP phone cameras produce this size.
  • 1920 × 1080 = 2,073,600 pixels, so a Full HD frame is 2.07 MP.
  • 6000 × 4000 = 24,000,000 pixels, exactly 24 MP, the file size of many 24 MP cameras.
  • 3840 × 2160 = 8,294,400 pixels, so a frame of 4K video is 8.29 MP.
  • 1000 × 1000 = 1,000,000 pixels: a 1000-pixel square is exactly 1 MP.

Both sides multiply, so doubling the width and the height gives four times the megapixels. It also means a 24 MP camera has only about 1.4 times the width of a 12 MP camera with the same shape.

The figure is decimal: 1 MP means 1,000,000 pixels and not 1,048,576 (2²⁰). Camera makers count the same way. Their spec sheets list "effective pixels", the sensor pixels used to form the picture, and the JPEG you get can be a little smaller or larger than the headline number. A camera sold as 24.2 MP typically writes 6000 × 4000 files, which is 24.0 MP.

How many pixels is 12MP? Megapixels of common sizes

By definition 12 MP is 12,000,000 pixels. In practice it is a 4000 × 3000 or a 4032 × 3024 photo, because the megapixel resolution of a picture depends on its shape as well as its pixel count. The table lists the sizes you are most likely to meet, with the exact total for each.

MegapixelsTypical size (px)Total pixelsShapeWhere you see it
0.92 MP1280 × 720921,60016:9720p HD video
2.07 MP1920 × 10802,073,60016:9Full HD video, 1080p screenshots
3.69 MP2560 × 14403,686,40016:91440p (QHD) monitors
8.29 MP3840 × 21608,294,40016:94K UHD video and TVs
12 MP4000 × 300012,000,0004:3Many compact cameras and drones
12.19 MP4032 × 302412,192,7684:312 MP phone cameras
24 MP6000 × 400024,000,0003:2Entry and mid-range interchangeable-lens cameras
33.18 MP7680 × 432033,177,60016:98K UHD video
45 MP8192 × 546444,761,0883:2High-resolution full-frame cameras
60.2 MP9504 × 633660,217,3443:261 MP full-frame cameras

A phone that lists 48 MP but saves 12 MP photos by default is using pixel binning. Four sensor pixels are combined into one output pixel, and the saved file is still 4000 × 3000 or thereabouts.

Megapixel to pixel converter: width and height from a megapixel count

Going from megapixels back to pixels needs the aspect ratio. Twelve million pixels can be arranged as a 4000 × 3000 rectangle, a 3464 × 3464 square or a 4619 × 2598 widescreen frame. The megapixel to pixel converter mode uses this formula:

Width = √(megapixels × 1,000,000 × ratio), where ratio = width ÷ height of the shape, and height = width ÷ ratio.

  • 12 MP at 4:3: width = √(12,000,000 × 1.333) = √16,000,000 = 4000 px; height = 4000 × 3 ÷ 4 = 3000 px.
  • 24 MP at 3:2: width = √(24,000,000 × 1.5) = √36,000,000 = 6000 px; height = 6000 × 2 ÷ 3 = 4000 px.
  • 8 MP at 16:9: width = √(8,000,000 × 1.778) = √14,222,222 = 3771.2, height = 3771.2 × 9 ÷ 16 = 2121.3, so 3771 × 2121 px after rounding to whole pixels.

An image can only have whole pixels, so the result is rounded. The pixel total can land a few thousand either side of the round megapixel figure. Real cameras do the same thing.

Megapixels to print size

Print size is pixels divided by pixels per inch, so a megapixels to print size answer always needs a PPI. Pick it by viewing distance. If the print will be held in the hand, use 300 PPI; at that density the 12.19 MP phone photo makes about 13.4 × 10.1 inches. If it hangs on a wall and people see it from a meter or more, 150 PPI looks just as sharp from there, and the same photo stretches to about 26.9 × 20.2 inches. 240 PPI sits between the two. Every PPI appears in the calculator, and this table gives the largest prints for the common counts:

Megapixels (shape)PixelsLargest print at 300 PPIAt 150 PPI
2.07 MP (16:9)1920 × 10806.4 × 3.6 in12.8 × 7.2 in
8.29 MP (16:9)3840 × 216012.8 × 7.2 in25.6 × 14.4 in
12 MP (4:3)4000 × 300013.3 × 10 in26.7 × 20 in
12.19 MP (4:3)4032 × 302413.44 × 10.08 in26.9 × 20.2 in
24 MP (3:2)6000 × 400020 × 13.3 in40 × 26.7 in
45 MP (3:2)8192 × 546427.3 × 18.2 in54.6 × 36.4 in

For a specific print such as 8 × 10 or A4, the print size calculator tells you whether a photo has enough pixels and how much gets cropped when the shapes differ. For a large wall print, the poster size calculator also takes viewing distance into account.

What the megapixel count does not tell you

Megapixels count the pixels in a photo. They don't say how good those pixels are, and two 12 MP photos can look very different.

Sensor size matters most. A full-frame sensor has many times the area of a phone sensor, so at the same 12 MP each of its pixels is far larger, collects more light and shows less noise in dim scenes. The crop factor calculator compares sensor sizes. Lens and focus come next: a soft lens or a missed focus wastes pixels, and the file is still 12 MP even though the detail isn't there. Heavy compression does the same quietly. A squeezed JPEG keeps its pixel dimensions but loses fine texture.

Nor do megapixels fix the size in MB. A 12 MP JPEG is typically 2–6 MB, depending on the scene and the compression level, while the same photo saved as uncompressed 8-bit RGB is 12.19 million × 3 bytes = 36.6 MB. The image size calculator estimates file sizes, and the photo storage calculator plans a phone or a card.

Online, most of those megapixels are wasted, because a 4K screen shows at most 8.3 MP and a phone screen far less. So if a photo is only going on the web, resize it first: our image resizer shrinks it to the pixels you need, and the image compressor then cuts the file size without changing the dimensions. Keep the full-size original, though. You can't get pixels back once they're gone, and a print needs them. If the photo is headed for Reddit, save the smaller copy as JPG or PNG, which are among the safest formats there; the guide to posting images on Reddit walks through the upload.

Camera megapixel calculator: reading a spec sheet

When the result doesn't match the number on the camera's box, check which figure you compared. A spec sheet quotes total pixels, which is every photosite on the sensor, including the masked edge pixels used for calibration. It also quotes effective pixels, the ones that form the picture, and sometimes recorded pixels, the actual file size. Used as a camera megapixel calculator, the formula above gives only the last of the three. Video modes are different again: a camera that shoots 4K video records 3840 × 2160 frames, 8.29 MP, whatever its stills resolution is.

Questions and answers

How many pixels is 12 MP in a 3:2 photo?

About 4243 × 2828 pixels. In a 4:3 photo, 12 MP is 4000 × 3000 pixels, and most 12 MP phone cameras save 4032 × 3024, which is 12,192,768 pixels or 12.19 MP.

How big is 25 megapixels?

25 MP is 25,000,000 pixels. In the 3:2 shape of most interchangeable-lens cameras that is about 6124 × 4082 pixels. It is enough for a 20.4 × 13.6 inch print at 300 PPI or a 40.8 × 27.2 inch print at 150 PPI. In a 4:3 shape it would be about 5774 × 4330 pixels.

How much is 1 megapixel equal to?

One megapixel is exactly 1,000,000 pixels, such as a 1000 × 1000 square or a 1155 × 866 rectangle in 4:3. For comparison, a 720p video frame (1280 × 720) is 0.92 MP and a 1280 × 800 laptop screen is 1.02 MP.

Is 1920 × 1080 two megapixels?

Almost. 1920 × 1080 = 2,073,600 pixels, which is 2.07 MP. It is often rounded to "2 MP", which is why security cameras that record 1080p are sold as 2 MP cameras.

How many megapixels do I need to print an 8 × 10?

At 300 PPI an 8 × 10 inch print needs 2400 × 3000 pixels, which is 7.2 MP. Any 12 MP phone photo has enough, although it will be cropped slightly because 4:3 is not the same shape as 8:10. At 200 PPI, 1600 × 2000 pixels (3.2 MP) is enough.

Do more megapixels mean a better camera?

Not on their own. More megapixels let you print larger or crop harder, but sensor size, lens quality and processing decide how clean and detailed each pixel is. In low light, a 12 MP photo from a large sensor usually beats a 48 MP photo from a tiny one. If you mostly shoot indoors or at night, pick the bigger sensor over the bigger number.

All image, photo and design calculators