Skip to content
Photography Calculators

Megapixel Calculator

Verified formula Updated Jun 2026 Private — runs on your device

Enter details
Verified formula Private

Megapixels

24.00

Total pixels
24,000,000

For general information only — not financial, tax, legal or medical advice. Verify before you rely on it.

How to use the Megapixel Calculator

The Megapixel Calculator works out your megapixels, along with 1 related figure in an instant. Enter width in pixels and height in pixels and the result updates as you type — it is free, needs no sign-up, and runs entirely in your browser so your figures stay private.

  1. Enter the width in pixels.
  2. Enter the height in pixels.
  3. Read off your megapixels, together with total pixels — the calculator updates automatically, with no button to press.

Formula

The Megapixel Calculator uses the formula:

Megapixels = Width in pixels × Height in pixels ÷ 1000000

Worked example

For example, with width in pixels of 6,000 and height in pixels of 4,000, the megapixels is 24.00.

Inputs used
Width in pixels 6,000
Height in pixels 4,000
Results
Megapixels 24.00
Total pixels 24,000,000

Results are estimates for educational use, not professional advice.

Frequently asked questions

Multiply the width by the height in pixels, then divide by one million. A 6000 × 4000 image is 24 megapixels.

A megapixel is one million pixels. It describes the total resolution of a camera sensor or image.

Not always. Sensor size, lens quality and processing matter too. More megapixels help with large prints and cropping.

Around 12 MP is plenty for screens and standard prints. 24 MP or more helps for big prints and heavy cropping.

Enter the width in pixels. Enter the height in pixels. Read off your megapixels, together with total pixels — the calculator updates automatically, with no button to press.

Related calculators