About the mb to b calculation
One megabyte is exactly 1,000,000 bytes, so converting between them is a single multiplication. Enter any value above and the result updates as you type. Decimal megabyte — 1,000,000 bytes, the definition storage manufacturers use. Eight bits, and the base unit every other storage figure is built from.
Formula
B = MB × 1,000,000
1 MB = 1,000,000 B
1 B = 0.000001 MBWorked example
To convert 500 MB, multiply by 1,000,000: 500 × 1,000,000 = 500,000,000 B.
Frequently asked questions
How many bytes are in a megabyte?
There are 1,000,000 bytes in one megabyte. To convert any amount, multiply the number of megabytes by 1,000,000.
How do I convert bytes back to megabytes?
Divide instead of multiplying, or equivalently multiply by 0.000001. One byte is 0.000001 megabytes.
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?
Megabytes: decimal megabyte — 1,000,000 bytes, the definition storage manufacturers use. 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