Megapixel Calculator

One megapixel is one million pixels. This tool converts pixel dimensions to megapixels, shows the aspect ratio, estimates print size at your chosen DPI, and works backwards from a megapixel target.

From pixel dimensions

From megapixels and ratio

How it works

Megapixels = width × height ÷ 1,000,000. To find pixel dimensions from a megapixel target, the tool keeps the chosen ratio: width = √(megapixels × 1,000,000 × ratio width ÷ ratio height), then rounds to a whole number.

Common camera sizesPixelsMegapixelsPrint at 300 DPI

When to use this calculator

Worked examples

Megapixels, quality and cropping

More megapixels give you room to crop and print larger, but they are not a measure of image quality. Lens sharpness, sensor size, focus, motion blur and lighting usually matter more. A sharp 12 MP file will beat a noisy, soft 48 MP file in any print. Where megapixels do help is flexibility: cropping a 24 MP file to half its area still leaves about 12 MP.

Why a 48 MP phone may not deliver 48 MP of detail

Many phones combine groups of pixels (pixel binning) to improve low-light performance, producing a 12 MP output by default. The full 48 MP mode usually requires good light and a steady hand, and even then diffraction and lens limitations can reduce real detail. Judge the final pixel dimensions and sharpness, not the headline number.

Common mistakes

Related tools

How big can I print? · Print size calculator · Image print size checker

Frequently asked questions

What size print can I make from a 24-megapixel photo?

A 24 MP photo is usually 6000 × 4000 pixels. At 300 DPI that prints at 20 × 13.3 inches; at 200 DPI it prints at 30 × 20 inches.

Is a higher megapixel count always better?

More megapixels allow bigger crops and larger prints, but image quality also depends on the lens, sensor size and exposure. A sharp 12 MP photo beats a blurry 48 MP photo for printing.