Overview

Megapixels tell you how many pixels an image has, and that sets how large you can print it sharply.

Enter the pixel dimensions to get megapixels and print sizes at common DPI.

Worked examples

InputsResult
Width (pixels)6,000Height (pixels)4,00024 megapixelsPrint: 20 × 13.3 in at 300 DPI (high quality)Print: 30 × 20 in at 200 DPI (good)Print: 40 × 26.7 in at 150 DPI (viewed from a distance)
Show 2 more examples
Width (pixels)4,032Height (pixels)3,02412.2 megapixelsPrint: 13.4 × 10.1 in at 300 DPI (high quality)Print: 20.2 × 15.1 in at 200 DPI (good)Print: 26.9 × 20.2 in at 150 DPI (viewed from a distance)
Width (pixels)1,920Height (pixels)1,0802.1 megapixelsPrint: 6.4 × 3.6 in at 300 DPI (high quality)Print: 9.6 × 5.4 in at 200 DPI (good)Print: 12.8 × 7.2 in at 150 DPI (viewed from a distance)

Result (megapixels) by width

With the calculator's starting values, the result is 24 megapixels. The table shows how it changes with the width.

Width (pixels)Result (megapixels)
3,00012 megapixels
4,00016 megapixels
5,00020 megapixels
6,000starting value24 megapixels
7,00028 megapixels
8,00032 megapixels
9,00036 megapixels

Other inputs: Height: 4,000 pixels. Change them in the calculator above for your own numbers.

How it works

Megapixels = width × height ÷ 1,000,000. Print size in inches = pixels ÷ DPI.

The formula

MP = W × H ÷ 10⁶ · Print inches = pixels ÷ DPI
DPIDots per inch in the print

Practical tips

  • 6000 × 4000 is 24 MP, which prints at 20 × 13.3 inches at 300 DPI.
  • Large posters look fine at 150 DPI because they are viewed from further away.
  • More megapixels do not automatically mean better quality; sensor size and lens matter too.

Frequently asked questions

How many megapixels for an 8×10 print?

About 7.2 MP at 300 DPI.

Is 12 MP enough?

Yes for most photos and prints up to about 13 × 9 inches at 300 DPI.