About the mib to b calculation
One mebibyte is exactly 1,048,576 bytes, so converting between them is a single multiplication. Enter any value above and the result updates as you type. Binary megabyte — 1,024² bytes. What operating systems usually mean when they display "MB". Eight bits, and the base unit every other storage figure is built from.
Formula
B = MiB × 1,048,576
1 MiB = 1,048,576 B
1 B = 9.5367e-7 MiBWorked example
To convert 500 MiB, multiply by 1,048,576: 500 × 1,048,576 = 524,288,000 B.
Frequently asked questions
How many bytes are in a mebibyte?
There are 1,048,576 bytes in one mebibyte. To convert any amount, multiply the number of mebibytes by 1,048,576.
How do I convert bytes back to mebibytes?
Divide instead of multiplying, or equivalently multiply by 9.5367e-7. One byte is 9.5367e-7 mebibytes.
Is this conversion exact?
Yes, provided both sides use the same convention. Decimal units (KB, MB, GB) are powers of 1,000 and binary units (KiB, MiB, GiB) are powers of 1,024. Both are exact — the confusion comes from software labelling binary values with decimal names.
Where is each of these units used?
Mebibytes: binary megabyte — 1,024² bytes. What operating systems usually mean when they display "MB". Bytes: eight bits, and the base unit every other storage figure is built from.
Sources
- IEC 80000-13 — binary and decimal prefixes for information units