How to use the Megapixel Calculator tool
- Enter the image width in pixels.
- Enter the image height in pixels.
- Read the megapixel total.
- Check the file size estimates for that pixel count.
To calculate megapixels, open the Megapixel Calculator on Archive.London and enter the width and height in pixels. It multiplies the two and divides by one million, so 6000 × 4000 is 24 megapixels, and shows estimated file sizes for the result. No image is needed, and the numbers stay in your browser.
The sum behind the megapixel figure
A megapixel is one million pixels. Multiply width by height and divide by 1,000,000.
- 1920 × 1080 (Full HD) is about 2.1 MP.
- 3840 × 2160 (4K UHD) is about 8.3 MP.
- 4000 × 3000 is 12 MP.
- 6000 × 4000 is 24 MP.
- 8000 × 10,000, a 4 × 5 inch sheet scanned at 2000 ppi, is 80 MP.
Because the figure is an area, it grows with the square of the linear dimensions. Doubling both width and height quadruples the megapixels. The reverse matters when comparing cameras: going from 12 MP to 24 MP increases the width of the image by only about 41 per cent, so the gain in printable size is smaller than the headline number suggests.
From megapixels to megabytes
Megapixels measure the picture. Megabytes measure the file. The link between them depends on bit depth and compression.
Uncompressed size is exact: pixels multiplied by channels and bytes per channel. A 24 MP image in 8-bit RGB occupies about 72 MB, and in 16-bit RGB about 144 MB. That is the size of an uncompressed TIFF and of the image once opened in memory, which is why large files can overwhelm a phone.
Compressed sizes can only be estimated. JPEG is lossy, and the result varies widely with the quality setting and the subject: a smooth studio background compresses far better than foliage or film grain. PNG and other lossless formats also depend on content. Treat any JPEG estimate as a typical range, not a prediction for a specific picture.
What megapixels do not tell you
Pixel count is a measure of quantity. A sharp 12 MP photograph will make a better print than a blurred 50 MP one. Lens quality, focus, camera shake, noise and compression all determine how much real detail the pixels contain.
The same caution applies to enlarged files. An image interpolated up to a higher pixel count gains megapixels without gaining information. It applies to film scans too, where a very high sampling rate may record more grain without recording more of the subject.
Use megapixels as a threshold check, to see whether a file meets a stated minimum, and judge quality by looking at the image at full size.
This calculator handles numbers only. No image is loaded, and what you type stays in your browser.
Megapixel minimums in picture library submissions
Agencies and publishers often set a minimum megapixel count or a minimum uncompressed file size for submissions, as a simple way of screening out files too small to reproduce well. The two are the same test in different units, since uncompressed 8-bit RGB size in megabytes is three times the megapixel count. A requirement for a 48 MB file is a requirement for 16 megapixels.
For film archives the question is settled at the scanner, where format and resolution decide how many megapixels each frame becomes. How the Robert Harper Photograph Library supplies material to picture desks is outlined on the page for picture agencies.
Frequently asked questions
How do I calculate megapixels from pixel dimensions?
Multiply the width in pixels by the height in pixels, then divide by one million. For example, 5472 × 3648 equals 19,961,856 pixels, which is about 20 megapixels. Camera makers round the figure, and some quote total sensor pixels instead of the slightly smaller number in the final image, so small discrepancies are normal.
How many megapixels is 4K?
4K UHD is 3840 × 2160 pixels, which is about 8.3 megapixels. Cinema 4K, at 4096 × 2160, is about 8.8 megapixels. This means a single frame of 4K video holds considerably fewer pixels than a still from most current cameras, though it is ample for display on a television or monitor.
How many megapixels do I need for a good print?
Work back from the print size. At 300 ppi, a 6 × 4 inch print needs about 2 MP, a 10 × 8 inch print about 7 MP and an A3 print about 17 MP. Larger prints viewed from further away can use a lower ppi, which reduces the requirement substantially. The Print Size and DPI Calculator gives exact figures.
Why is my 24 megapixel photo only a few megabytes?
Because it is compressed. Uncompressed, 24 megapixels of 8-bit RGB would be about 72 MB. JPEG compression discards information the eye is least sensitive to and commonly reduces the file to a small fraction of that, depending on the quality setting and how much fine detail the picture contains. The full pixel count is restored when the file is opened.
Does a higher megapixel count mean a better image?
Not by itself. More pixels allow larger prints and tighter crops if the lens, focus and exposure deliver detail to fill them. Beyond that, sharpness, dynamic range, noise and colour matter more to how a picture looks. A higher count also means larger files and slower handling, so match the figure to what you need.
