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 = 6400 x 4096 = 26,214,400 pixels
  • Pixel count = 26.21 million pixels
  • Resolution = 26.21 mega pixels
  • A full frame sensor would be 37.4 x 24 mm (1.56)
  • Pixel density would be 178 pixels/mm or 4520 pixels/inch (dpi)
  • Pixel pitch: 5.6 micron (very fine)

Calculate (file) size

Compressed image formats (estimated size)

JPG 100% 24bit/pixel5.35 MB
JPG 90% 24 bit/pixel2.68 MB
GIF 8bit/pixel, 255 colors8.03 MB
PNG losless 24bit/pixel15.23 MB
Lossless JPEG39.32 MB
Canon sRAW CR222.94 MB
Canon mRAW CR234.41 MB
Nikon NEF 14-bit uncompressed45.88 MB
Nikon NEF 14-bit lossless compressed25.47 MB
Nikon NEF 14-bit compressed22.14 MB

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

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
Portrait distance
portrait distance, composition, crop factor, focal length