Use a ruler to measure the physical dimensions (width and height), in inches, of the original image on the paper.
Read the DPI or PPI resolution setting for the scanner from the scanner console or scanner properties window in your image scanner software. Note that some scanner software may use the word "resolution" instead of DPI or PPI to refer to the scanner resolution.
Multiply the physical dimensions by the scanner resolution to obtain the digital dimensions in pixels. For example, a physical 8.5-by-11-inch image scanned at a resolution of 300 DPI or PPI would produce a digital image 2550 pixels by 3300 pixels.
Multiply the width in pixels by the height in pixels to obtain the area (in pixels squared) of the digital image. For example, an 8.5-by-11-inch image scanned at 300 PPI would produce a 2550 pixels x 3300 pixels image, which covers an area of 8,415,000, or 8.4 mega square pixels.