Camera resolution

Megapixel calculator

Turn image dimensions into megapixels and see what that resolution means for real-world printing.

◆ Runs locally in your browser

Total resolution

24.0 MP

At 300 PPI

20.0 × 13.3 in

At 150 PPI

40.0 × 26.7 in

HOW TO CALCULATE MEGAPIXELS

Translate resolution into a useful print size.

Megapixels describe total pixel count. Width and height tell you the image shape and the print sizes it can produce.

  1. 01

    Enter pixel dimensions

    Use the full-resolution width and height shown in your image properties or camera specifications.

  2. 02

    Read the megapixels

    The calculator multiplies width by height and divides the result by one million.

  3. 03

    Plan the print

    Compare sizes at 300 PPI for close viewing and 150 PPI for larger, farther-viewed prints.

WORKED EXAMPLE

How many megapixels is 6000 × 4000?

Multiplying the dimensions gives 24,000,000 pixels, which equals 24 megapixels. At 300 PPI, the uncropped image prints at 20 × 13.3 inches.

6000 × 4000 ÷ 1,000,000 = 24 MP

BEFORE YOU PRINT

Megapixels are only one quality factor.

Sharp focus, lens quality, noise, compression, editing and viewing distance all influence the final result. A high megapixel number cannot repair a blurred or heavily compressed photograph.

Check a particular output size with the image DPI checker.

HOW IT WORKS

A clear answer, with the math to match.

Formulamegapixels = width × height ÷ 1,000,000

6000 × 4000 pixels equals 24 megapixels and prints at 20 × 13.3 inches at 300 PPI.

COMMON QUESTIONS

Useful context, not filler.

Does more megapixels always mean better quality?

No. Lens quality, focus, noise, processing, compression, and lighting also affect the usable detail in an image.

How many megapixels do I need for an 8 × 10 print?

An 8 × 10 print at 300 PPI requires 2400 × 3000 pixels, or 7.2 megapixels.

Why is the camera's aspect ratio important?

Megapixels describe total pixel count, but width and height determine which print sizes fit without cropping.