Explains the distinction between decimal prefixes such as MB and binary prefixes such as MiB.
MiB to Bytes Converter (Mebibytes to Bytes)
1 MiB = 1,048,576 B. Enter a value to convert MiB to B, then use the formula and table below. Displayed digits may be rounded.
Nonzero results too small for the selected decimal places use scientific notation.
Conversion table
| MiB | B |
|---|---|
| 1 MiB | 1,048,576 B |
| 2 MiB | 2,097,152 B |
| 5 MiB | 5,242,880 B |
| 10 MiB | 10,485,760 B |
| 25 MiB | 26,214,400 B |
| 50 MiB | 52,428,800 B |
| 100 MiB | 104,857,600 B |
Conversion chart
1 MiB = 1,048,576 B. Apply the selected conversion formula to other input values.
Mebibytes (MiB) One mebibytes equals 1,048,576 byte.
Mebibytes is represented here using its modern SI definition or an internationally accepted relationship to an SI base unit.
1. Parse the value, including fractions.
2. Convert MiB to byte.
3. Convert the base value to B and apply your display precision.
Understand the result before using it
A mebibyte (MiB) contains 2²⁰ bytes, or exactly 1,048,576 bytes. Multiply the MiB value by 1,048,576 to express the same data quantity in bytes (B). MiB is a binary unit; MB uses a decimal multiplier.
The conversion follows the displayed unit relationship. Display rounding can hide additional digits, and measured inputs cannot become more accurate merely by changing units.
Formula, assumptions, and example
result = input × 1048576
Assumptions
- Mebibytes and Bytes represent the same data storage quantity.
- The input is expressed in MiB; the output is expressed in B.
- The unit definitions and conventional relationship shown on this page apply.
For 2 MiB, calculate 2 × 1,048,576 = 2,097,152 bytes. For 0.5 MiB, calculate 0.5 × 1,048,576 = 524,288 bytes.
Good uses
- Translate a memory or file-size limit expressed in MiB into a byte count.
- Compare a byte count from software with a limit reported in mebibytes.
Common mistakes to avoid
- MiB and MB are different units: 1 MiB is 1,048,576 bytes, while 1 MB is 1,000,000 bytes.
- B means bytes. A byte contains eight bits, so a byte count is different from a bit count.
- A fractional MiB value can produce a fractional byte result; round according to the whole-byte requirement of the receiving system.
Sources and further reading
These references explain the underlying standards or provide authoritative context. Your own contract, institution, clinician, product documentation, local code, or governing standard may be the controlling source.
Guidance on unit names, symbols, conversions, and numerical presentation.
Questions about this calculation
What is 2 MiB in bytes?
2 MiB equals 2 × 1,048,576 = 2,097,152 bytes.
How do I convert MiB to bytes?
Multiply the MiB value by 1,048,576. For example, 0.5 MiB equals 524,288 bytes.
Is a MiB the same size as an MB?
No. A MiB is 1,048,576 bytes and an MB is 1,000,000 bytes. Select the unit used by the original specification.