How many pixels are in a megapixel?

"Mega-" is generally the prefix applied to a unit of measure, to multiply that unit by one million. Therefore a Megapixel is 1,000,000 pixels.

Edit: there are exactly 1,048,576 pixels in 1 megapixel !