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 = 8688 x 5792 = 50,320,896 pixels
  • Pixel count = 50.32MP pixels
  • Resolution = 50.32MP pixels
  • A full frame sensor would be 36 x 24 mm (1.5)
  • Pixel density would be 241 pixels/mm or 6130 pixels/inch (dpi)
  • Pixel pitch: 4.1 micron (very fine)

Calculate (file) size

Uncompressed RAW/BMP

TIFF Monochrome 8bit/pixel50.32MB
RAW/DNG 10 bits/pixel62.9MB
RAW/DNG 12 bits/pixel75.48MB
RAW/DNG 14 bits/pixel88.06MB
RAW/DNG 16 bits/pixel100.64MB
BMP RGB 3x8 bit/pixel150.96MB
OPENEXR RGBA 4x16 bit/pixel402.57MB

Compare to

Canon EOS 1DxCanon EOS 5D MkICanon EOS 5D MkIICanon EOS 5D MkIIICanon EOS 5D MkIVCanon EOS 5DsCanon EOS RFujifilm GFX 100Fujifilm GFX 50Fujifilm X-Pro 3Hasselblad X1D IILeica Q2Nikon D4sNikon D5Nikon D800/D810Nikon D850Pentax 645ZPentax K-1 IIPhaseOne IQ280 digital backPhaseOne IQ3 100MPPhaseOne IQ4 150MPSamsung NX1Sony Alpha A99IISony Alpha a7R


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.


Photo tools

Aspect ratio
Image Width x Height → aspect ratio
Composition Calculator
Focal length, distance, crop factor → image composition
Depth-of-Field Calculator
Aperture, focal length, subject 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