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 = 540 x 810 = 437,400 pixels
  • Pixel count = 437.4 thousand pixels
  • Resolution = 437.4 kilo pixels
  • A full frame sensor would be 16.1 x 24 mm (0.67)
  • Pixel density would be 15 pixels/mm or 380 pixels/inch (dpi)
  • Pixel pitch: 66.7 micron (rather large)

Calculate (file) size

Compressed image formats (estimated size)

JPG 100% 24bit/pixel89.31 KB
JPG 90% 24 bit/pixel44.66 KB
GIF 8bit/pixel, 255 colors133.97 KB
PNG losless 24bit/pixel254.2 KB
Lossless JPEG656.1 KB
Canon sRAW CR2382.73 KB
Canon mRAW CR2574.09 KB
Nikon NEF 14-bit uncompressed765.45 KB
Nikon NEF 14-bit lossless compressed424.91 KB
Nikon NEF 14-bit compressed369.35 KB

Compare to

Barco DP4K-32B 4K projectorDCP 2K flatDCP 2K full frameDCP 2K scopeDCP 4K full frameDCP 4K scopeHD 16:9Sony SRX-R320 4K projector

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