Pixels describe dimensions, not physical print size by themselves

Pixel width and height define the digital raster dimensions.

Count pixels

Width times height gives total pixel count.

Megapixels

One megapixel is one million pixels.

Print needs another variable

Physical print size also depends on pixel density.