5 Megapixel camera

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 = 2580 x 2048 = 5,283,840 pixels
  • Pixel count = 5.28MP pixels
  • Resolution = 5.28MP pixels
  • A full frame sensor would be 30.2 x 24 mm (1.26)
  • Pixel density would be 72 pixels/mm or 1820 pixels/inch (dpi)
  • Pixel pitch: 14 micron (rather large)

Calculate (file) size

Uncompressed RAW/BMP

TIFF Monochrome 8bit/pixel5.28MB
RAW/DNG 10 bits/pixel6.6MB
RAW/DNG 12 bits/pixel7.93MB
RAW/DNG 14 bits/pixel9.25MB
RAW/DNG 16 bits/pixel10.57MB
BMP RGB 3x8 bit/pixel15.85MB
OPENEXR RGBA 4x16 bit/pixel42.27MB

Compare to

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


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