Unit conversion

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.

Convert Bytes to Mebibytes

Data storageInstant result
Decimals
Formula result = input × 1048576 ÷ 1. 1 MiB = 1,048,576 B
Nonzero results too small for the selected decimal places use scientific notation.
Common examples
One value, several units
Bytes1,048,576 B
Bits8,388,608 bit
Kilobytes1,048.576 kB
Megabytes1.0486 MB
Gigabytes0.001 GB
Terabytes1.04858e-6 TB
Kibibytes1,024 KiB
Gibibytes0.001 GiB

Conversion table

MiBB
1 MiB1,048,576 B
2 MiB2,097,152 B
5 MiB5,242,880 B
10 MiB10,485,760 B
25 MiB26,214,400 B
50 MiB52,428,800 B
100 MiB104,857,600 B

Conversion chart

1 MiB1,048,576 B
5 MiB5,242,880 B
10 MiB10,485,760 B
25 MiB26,214,400 B
50 MiB52,428,800 B
Worked example

1 MiB = 1,048,576 B. Apply the selected conversion formula to other input values.

Unit definition

Mebibytes (MiB) One mebibytes equals 1,048,576 byte.

Unit history

Mebibytes is represented here using its modern SI definition or an internationally accepted relationship to an SI base unit.

Step by step

1. Parse the value, including fractions.
2. Convert MiB to byte.
3. Convert the base value to B and apply your display precision.

What this calculation means

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.

Calculated result

The conversion follows the displayed unit relationship. Display rounding can hide additional digits, and measured inputs cannot become more accurate merely by changing units.

Method

Formula, assumptions, and example

Formula

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.
Worked example

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.

When to use it

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.
Limitations

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.
References

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.

Prefixes for binary multiplesInternational Electrotechnical Commission

Explains the distinction between decimal prefixes such as MB and binary prefixes such as MiB.

FAQ

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.

Related data storage conversions