How to convert MiB to B
Need to change mebibytes into bytes? One mebibyte equals 1,048,576 bytes. You will also see this written as “MiB to B” or “mebibyte in B”. Use the live converter, or follow the formula and examples on this page.
Searching “mib to b”, “mebibyte to byte” or “mebibyte in bytes”? It is the same conversion — the answer is above.
Mebibyte to Byte formula
Since 1 Mebibyte = 1,048,576 bytes, the rule is B = MiB × 1,048,576. In words: multiply the number of mebibytes by 1,048,576 to get bytes.
B = MiB × 1,048,576
Examples: MiB to B step by step
For example, someone dealing with RAM, Linux tools and download managers might need this.
Example 1: 1 MiB to B
- Start with the value: 1 MiB.
- Multiply by 1,048,576 (because 1 MiB = 1,048,576 B).
- 1 × 1,048,576 = 1,048,576 B.
Example 2: 512 MiB to B
- Start with the value: 512 MiB.
- Multiply by 1,048,576 (because 1 MiB = 1,048,576 B).
- 512 × 1,048,576 = 536,870,912 B.
Example 3: 4,096 MiB to B
- Start with the value: 4,096 MiB.
- Multiply by 1,048,576 (because 1 MiB = 1,048,576 B).
- 4,096 × 1,048,576 = 4,294,967,296 B.
What is a Mebibyte (MiB)?
A mebibyte (MiB) is 1,024 KiB or 1,048,576 bytes.
What is a Byte (B)?
A byte (B) is 8 bits, enough to store one English character.
Where is MiB to B used?
Converting MiB to B is handy because the two units live in different worlds: mebibytes are used in RAM, Linux tools and download managers, and bytes in file sizes and computer memory. Storage conversions matter when buying hard disks, phones, data packs or uploading files with a size limit.
Byte to Mebibyte (reverse)
To go the other way, 1 Byte = 9.536743e-7 MiB, so you divide B by 1,048,576. For example, 1,048,576 B is back to 1 MiB. Use the Byte to Mebibyte converter for that direction.
1 MiB in other units
8,388,608 b
1,048,576 B
1,048.58 KB
1.0486 MB
0.00104858 GB
0.00000105 TB
1.048576e-9 PB
1,024 KiB
0.00097656 GiB
9.536743e-7 TiB
Good to know
A Mebibyte is bigger than a Byte — about 1,048,576 times — so the number in B is always larger than the number in MiB.
KB, MB, GB and TB here are decimal (1,000-based). KiB, MiB, GiB and TiB are the binary (1,024-based) units your computer shows.
Quick answers: 2 MiB = 2,097,152 B; 10 MiB = 10,485,760 B; 1 MiB = 1,048,576 B; 512 MiB = 536,870,912 B; 4,096 MiB = 4,294,967,296 B.