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 = 3000 x 3000 = 9,000,000 pixels
  • Pixel count = 9 million pixels
  • Resolution = 9 mega pixels
  • Width / Height: 1
  • "square"
  • Type of aspect ratio = "Square"
  • Type of aspect ratio = "Square" (vertical)
  • A full frame sensor would be 24 x 24 mm (1)
  • Pixel density would be 83 pixels/mm or 2120 pixels/inch (dpi)
  • Pixel pitch: 12 micron (rather large)

Calculate (file) size

Compressed image formats (estimated size)

JPG 100% 24bit/pixel1.84 MB
JPG 90% 24 bit/pixel918.85 KB
GIF 8bit/pixel, 255 colors2.76 MB
PNG losless 24bit/pixel5.23 MB
Lossless JPEG13.5 MB
Canon sRAW CR27.88 MB
Canon mRAW CR211.81 MB
Nikon NEF 14-bit uncompressed15.75 MB
Nikon NEF 14-bit lossless compressed8.74 MB
Nikon NEF 14-bit compressed7.6 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