Megapixel calculator
Turn pixel dimensions into megapixels, or a megapixel count into width and height; you'll get both in one click. It'll also show the largest sharp print and draw your frame over 1080p, 4K and common camera sizes.
Your frame over common sizes, same pixel scale
How does the megapixel calculator work?
Megapixels = width x height / 1,000,000. The tool multiplies the two sides and divides by a million, so 4,000 x 3,000 = 12,000,000 pixels = 12 MP.
The reverse mode needs an aspect ratio, because a megapixel count alone doesn't fix the shape. Width = sqrt(MP x 1,000,000 x ratio width / ratio height), and height is the total divided by the width. For 24 MP at 3:2 that's sqrt(24,000,000 x 1.5) = 6,000 pixels wide and 4,000 pixels tall. The print sizes come from dividing each side by the DPI, so 6,000 / 300 = 20 inches; there's nothing more to it.
Megapixel calculator chart: megapixels to pixels
This chart lists the camera resolutions you'll see most, at the two ratios cameras use, plus the largest 300 DPI print from the 3:2 version.
| Megapixels | 4:3 (phones) | 3:2 (DSLR, mirrorless) | 300 DPI print (3:2) |
|---|---|---|---|
| 2 MP | 1,633 x 1,225 | 1,732 x 1,155 | 5.8 x 3.9 in |
| 5 MP | 2,582 x 1,936 | 2,739 x 1,826 | 9.1 x 6.1 in |
| 8 MP | 3,266 x 2,449 | 3,464 x 2,309 | 11.5 x 7.7 in |
| 12 MP | 4,000 x 3,000 | 4,243 x 2,828 | 14.1 x 9.4 in |
| 16 MP | 4,619 x 3,464 | 4,899 x 3,266 | 16.3 x 10.9 in |
| 20 MP | 5,164 x 3,873 | 5,477 x 3,651 | 18.3 x 12.2 in |
| 24 MP | 5,657 x 4,243 | 6,000 x 4,000 | 20.0 x 13.3 in |
| 32 MP | 6,532 x 4,899 | 6,928 x 4,619 | 23.1 x 15.4 in |
| 48 MP | 8,000 x 6,000 | 8,485 x 5,657 | 28.3 x 18.9 in |
| 61 MP | 9,018 x 6,764 | 9,566 x 6,377 | 31.9 x 21.3 in |
| 100 MP | 11,547 x 8,660 | 12,247 x 8,165 | 40.8 x 27.2 in |
Real cameras round these to sensor-friendly numbers, so a "24 MP" body might save 6,000 x 4,000 or 6,016 x 4,016. The difference is a few pixels and doesn't change the print size you can make.
How many megapixels do you need to print?
Multiply the print size in inches by 300 on each side, then by each other: an 8 x 10 needs 7.2 MP at 300 DPI. Wall prints viewed from a step back look fine at 200 DPI, and that's less than half the pixels.
| Print (inches) | MP at 300 DPI | MP at 200 DPI |
|---|---|---|
| 4 x 6 | 2.2 MP | 1.0 MP |
| 5 x 7 | 3.1 MP | 1.4 MP |
| 8 x 10 | 7.2 MP | 3.2 MP |
| 11 x 14 | 13.9 MP | 6.2 MP |
| 16 x 20 | 28.8 MP | 12.8 MP |
| 20 x 30 | 54.0 MP | 24.0 MP |
So a 12 MP phone's fine for everything up to 11 x 14 at 200 DPI. For an exact answer for your own file, including how each standard print would look, try the pixels to print size calculator.
Does cropping reduce megapixels?
Yes. Cropping throws pixels away, so a 12 MP photo cropped to half its width and half its height is only 3 MP. That's why it's worth shooting at full resolution even when you plan to crop: you can't get those pixels back later, and the print size you'll reach shrinks with every cut.
The 3 MP crop from that example is 2,000 x 1,500 pixels. It still makes a sharp 5 x 7 at about 285 DPI, but it won't hold up as an 11 x 14, where it'd drop to about 136 DPI. Run your own crop through the tool above to see where it lands.
Megapixels for video: 1080p, 4K and 8K
1080p is about 2.1 MP, 4K UHD is about 8.3 MP and 8K is about 33.2 MP. Video frames are 16:9, so they're wider than photos with the same megapixel count.
- 720p: 1,280 x 720 = 0.92 MP
- 1080p: 1,920 x 1,080 = 2.07 MP
- 1440p: 2,560 x 1,440 = 3.69 MP
- 4K UHD: 3,840 x 2,160 = 8.29 MP
- 8K UHD: 7,680 x 4,320 = 33.18 MP
That's why a still pulled from 4K footage fills a landscape 10 x 8 print at 270 DPI (2,160 pixels / 8 inches, with the sides cropped), while a 1080p frame tops out around a 7 x 5 at 216 DPI. Check any frame shape on the aspect ratio calculator.
Megapixel calculator FAQs
How do you calculate megapixels?
Multiply the width in pixels by the height in pixels, then divide by 1,000,000. A 4,000 x 3,000 image has 12,000,000 pixels, which is 12 megapixels.
How many pixels is 12 megapixels?
12 MP is 12 million pixels. At a 4:3 ratio that's 4,000 x 3,000 pixels; at 3:2 it's about 4,243 x 2,828; and at 16:9 it's about 4,619 x 2,598.
How many megapixels is 4K?
4K UHD video is 3,840 x 2,160 pixels, which is about 8.3 megapixels. 1080p is 1,920 x 1,080, about 2.1 megapixels.
How many megapixels do I need to print 8x10?
About 7.2 MP for 300 DPI. An 8x10 print at 300 DPI needs 2,400 x 3,000 pixels. At 200 DPI, which still looks good on a wall, 3.2 MP (1,600 x 2,000) is enough.
Do more megapixels mean better photos?
No. More megapixels give you more room to crop and print bigger, but sensor size, lens quality and light affect image quality more. A 12 MP photo from a large sensor can beat a 48 MP photo from a tiny one.
Is 1 megapixel 1,000,000 pixels?
Yes. In cameras and image software one megapixel means one million pixels, so 1 MP is a square of 1,000 x 1,000 pixels or any other shape with the same total.
Why does my 48 MP phone save 12 MP photos?
Many phones combine groups of four sensor pixels into one by default, which trades resolution for cleaner low-light images. You'll usually find a full-resolution mode in the camera settings.
Last updated: