Mebibyte
The mebibyte (MiB) is a unit of digital information in units of 2²⁰ bytes.
Remembering
- Unit name — mebibyte.
- Unit symbol — MiB.
- Quantity or use — digital information in units of 2²⁰ bytes.
Understanding
One mebibyte contains 1,048,576 bytes or 1,024 KiB. A decimal megabyte contains 1,000,000 bytes.
Applying
An uncompressed 1,024 × 1,024 single-channel image with one byte per pixel needs exactly 1 MiB for pixel values.
Analyzing
Additional channels, row padding, metadata or compression can change the size of the stored file. The raw pixel count describes one representation.
Evaluating
Check pixel depth and the meaning of “MB” in the source before reconciling two size estimates.
Creating
Design a table for the raw storage of a one-channel and a three-channel image at the same resolution.
For reporting the precision of a result, see Significant figures.
Binary prefix definitions from NIST, Prefixes for binary multiples. Worked examples by BloomWiki.