Photography & video

Megapixels Calculator

Find image pixel count in millions from width and height.

Units clearly labeledCheck practical equipment limits
Photo & video desk
Photo & video desk

Match the sensor, lens and output settings to your equipment.

See the method

Set up your shot

Runs on your device

Your camera calculation

Your result

Let’s calculate.

Use the Calculate button to see your result.

Review the method below for assumptions and conventions.

How to use this tool

  1. Enter width, height.
  2. Select Calculate to view the result.
  3. Check the method and assumptions below before using the result.

Input reference and sample values

Use the units and choices shown for each field. Sample values are provided for practice, not as recommendations.

InputFormat and unitsSample
WidthWhole numbers only. Minimum: 1. Maximum: 100000.6000
HeightWhole numbers only. Minimum: 1. Maximum: 100000.4000

Result for these sample inputs

24 MP

Select Try the example in the form to load these values and calculate them again. This replaces the current form inputs. Compare the result with the method and worked explanation below.

The method, explained

Megapixels = width × height/1,000,000.

A WORKED EXAMPLE

Using width = 6000, height = 4000, the result is 24 MP. Change these example inputs to match your task; use the method above to check each step.

What to keep in mind

An ideal geometric or exposure estimate. Lens behavior, stabilization, sensor crop and scene conditions may change practical results.

Methodology maintained by ClarityKit. How these tools are built and checked.