Megapixel calculator

A "megapixel" is one million (1.000.000) pixels. Enter the pixel dimensions of your photo, camera, screen or tv, and calculate how many megapixels that is.

Calculate megapixels

  • Size = 4272 x 2848 = 12,166,656 pixels
  • Pixel count = 12.17 million pixels
  • Resolution = 12.17 mega pixels
  • A full frame sensor would be 36 x 24 mm (1.5)
  • Pixel density would be 119 pixels/mm or 3010 pixels/inch (dpi)
  • Pixel pitch: 8.4 micron (rather large)

Calculate (file) size

Compressed image formats (estimated size)

JPG 100% 24bit/pixel2.48 MB
JPG 90% 24 bit/pixel1.24 MB
GIF 8bit/pixel, 255 colors3.73 MB
PNG losless 24bit/pixel7.07 MB
Lossless JPEG18.25 MB
Canon sRAW CR210.65 MB
Canon mRAW CR215.97 MB
Nikon NEF 14-bit uncompressed21.29 MB
Nikon NEF 14-bit lossless compressed11.82 MB
Nikon NEF 14-bit compressed10.27 MB

Compare to

4K TV (16:9)8K TV (16:9)HDCAMNTSC DVDNTSC SVCDNTSC TVNTSC VCDPAL DVDPAL SVCDPAL VCDQuicktime HD 1080pQuicktime HD 720pQuicktime SD 480p

Background

For decades, advances in camera technology have been measured in 'megapixels', although more pixels doesn't always mean better quality. The same metric can also be used to describe the resolution of photos, or digital screens. This megapixel calculator brings it all together. Calculate, compare, visualise and estimate.

References

Photo calculators & converters

Aspect ratio
Image Width x Height → aspect ratio
Aspect Fit
Fit an image on a screen
Composition Calculator
Focal length, distance, crop factor → image composition
Depth-of-Field Calculator
Aperture, focal length, distance, crop → depth-of-field
DPI calculator
Print Width x Height and dpi → megapixels
Image filesize calculator
Image Width x Height JPG/RAW/PNG → bytes
Light calculator (EV)
Aperture, shutter time, ISO → Exposure Value
Megapixel calculator
Image Width x Height → megapixels
Megapixel Aspects
See megapixels in different aspect ratios