How to convert B to MiB
1 Byte is equal to 9.536743e-7 mebibytes, so every B value can be changed to MiB with one quick step. This B to MiB converter gives the exact answer as you type, and the guide below shows how to do it by hand.
Searching “b to mib”, “byte to mebibyte” or “byte in mebibytes”? It is the same conversion — the answer is above.
Byte to Mebibyte formula
Since 1 Mebibyte = 1,048,576 bytes, the rule is MiB = B ÷ 1,048,576. In words: divide the number of bytes by 1,048,576 to get mebibytes.
MiB = B ÷ 1,048,576
Examples: B to MiB step by step
For example, someone dealing with file sizes and computer memory might need this.
Example 1: 512 B to MiB
- Start with the value: 512 B.
- Divide by 1,048,576 (because 1 MiB = 1,048,576 B).
- 512 ÷ 1,048,576 = 0.00048828 MiB.
Example 2: 4,096 B to MiB
- Start with the value: 4,096 B.
- Divide by 1,048,576 (because 1 MiB = 1,048,576 B).
- 4,096 ÷ 1,048,576 = 0.00390625 MiB.
Example 3: 1,000,000 B to MiB
- Start with the value: 1,000,000 B.
- Divide by 1,048,576 (because 1 MiB = 1,048,576 B).
- 1,000,000 ÷ 1,048,576 = 0.95367432 MiB.
What is a Byte (B)?
A byte (B) is 8 bits, enough to store one English character.
What is a Mebibyte (MiB)?
A mebibyte (MiB) is 1,024 KiB or 1,048,576 bytes.
Where is B to MiB used?
You meet bytes in file sizes and computer memory, while mebibytes are common in RAM, Linux tools and download managers. Storage conversions matter when buying hard disks, phones, data packs or uploading files with a size limit.
Mebibyte to Byte (reverse)
To go the other way, 1 Mebibyte = 1,048,576 B, so you multiply MiB by 1,048,576. For example, 9.536743e-7 MiB is back to 1 B. Use the Mebibyte to Byte converter for that direction.
1 B in other units
8 b
0.001 KB
0.000001 MB
1.000000e-9 GB
1.000000e-12 TB
1.000000e-15 PB
0.00097656 KiB
9.536743e-7 MiB
9.313226e-1 GiB
9.094947e-13 TiB
Good to know
A Byte is smaller than a Mebibyte (1 Mebibyte is 1,048,576 bytes), so the number in MiB is always smaller than the number in B.
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 B = 0.00000191 MiB; 10 B = 0.00000954 MiB; 512 B = 0.00048828 MiB; 4,096 B = 0.00390625 MiB; 1,000,000 B = 0.95367432 MiB.