Enter the length and width in pixels of the camera, photo, screen, or tv into the calculator to determine the total number of megapixels. This calculator can also determine the length or width given the number of mega pixels and the other variable value.

Megapixel Formula

The following formula is used to calculate the number of megapixels in a given screen, tv, camera, or photo.

MP = L * W / 1,000,000
  • Where MP is the number of mega pixels
  • L is the length in pixels
  • W is the width in pixels

To calculate megapixels, multiply the length by the width, both in pixels, then divided by 1,000,000.

Megapixel Definition

What is a megapixel?

A megapixel is defined as a unit that is equal to 1 million pixels.

What is a pixel?

A pixel is the smallest addressable element in a picture or screen. An addressable element means that the element can be affected or changed.

Example Problem

How to calculate a megapixel?

  1. First, determine the number of pixels along the length of the screen.

    For this example, we are looking at a screen with a resolution of 1920 pixels along the length.

  2. Next, determine the number of pixels along the width.

    In this case, the screen has a standard resolution of 1080 along the width.

  3. Finally, calculate the number of megapixels using the formula.

    Using the formula above, the number of megapixels is calculated as:
    MP = L * W / 1,000,000
    MP = 1920 * 1080 / 1,000,000
    MP = 2.0736