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 = 1280 x 720 = 921,600 pixels
  • Pixel count = 921.6KP pixels
  • Resolution = 921.6KP pixels
  • A full frame sensor would be 42.7 x 24 mm (1.78)
  • Pixel density would be 36 pixels/mm or 900 pixels/inch (dpi)
  • Pixel pitch: 28.1 micron (rather large)

Calculate (file) size

Compressed image formats (estimated size)

JPG 100% 24bit/pixel188.18KB
JPG 90% 24 bit/pixel94.09KB
GIF 8bit/pixel, 255 colors282.27KB
PNG losless 24bit/pixel535.59KB
Lossless JPEG1.38MB
Canon sRAW CR2806.4KB
Canon mRAW CR21.21MB
Nikon NEF 14-bit uncompressed1.61MB
Nikon NEF 14-bit lossless compressed895.28KB
Nikon NEF 14-bit compressed778.22KB

Compare to

1280x720 (720p)1440x1080 (non-square 1080p)16K TV4K TV (UHD-1)8K TV (UHD-2)Full HD TV (16:9)HD Ready TV (768p)NTSC TVPAL TV


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 calculators & converters

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