Convert bytes to MB
Convert bytes to MB instantly. 1 B = 0.000001 MB. Formula, worked examples and a quick reference table.
Last updated
One byte equals 0.000001 megabytes. To convert any number of bytes to megabytes, multiply by 0.000001.
The converter above works in both directions and updates as you type. Below you will find the formula, a worked example and a reference table of common values.
Data conversions carry two ambiguities at once. Bits and bytes differ by a factor of eight, and network speeds are quoted in bits while file sizes are quoted in bytes — so a connection and a download will always report numbers that look inconsistent. On top of that, the same prefix means 1,000 to a drive manufacturer and 1,024 to an operating system, which is why advertised capacity and reported capacity never match. Neither is an error; they are different conventions wearing the same name.
bytes to MB formula
To go the other way, use byte = megabyte ÷ 0.000001.
About these units
A byte is eight bits, historically the space needed for one character of text. Storage is measured in bytes; network speeds in bits.
A megabyte is 10⁶ bytes decimal or 2²⁰ binary. The gap is about 5%, which is why file sizes and download counters rarely agree exactly.
Byte is also written bytes. Megabyte is also written megabytes, mbs, megs and meg.
Sources
bytes to MB conversion table
| Byte | Megabyte |
|---|---|
| 1 B | 0.000001 MB |
| 2 B | 0.000002 MB |
| 4 B | 0.000004 MB |
| 8 B | 0.000008 MB |
| 16 B | 0.000016 MB |
| 32 B | 0.000032 MB |
| 64 B | 0.000064 MB |
| 128 B | 0.000128 MB |
| 256 B | 0.000256 MB |
| 512 B | 0.000512 MB |
| 1,024 B | 0.001024 MB |
Frequently asked questions
How many megabytes are in a byte? +
There are 0.000001 megabytes in one byte.
What is 10 B in MB? +
10 B equals 0.00001 MB. Multiply 10 by 0.000001.
How do I convert megabyte back to byte? +
Use byte = megabyte ÷ 0.000001. The converter above handles both directions, or see our dedicated MB to bytes page.
How accurate is this byte to megabyte conversion? +
The factor used is 0.000001, carried at full double precision. Where a unit has an exact legal definition the factor is exact rather than approximate. Rounding is applied only to the displayed result, so the answer is never a calculation done on an already-rounded number.
Is there a quick way to estimate B to MB in my head? +
The factor is exactly 0.000001, which is short enough to apply directly without an approximation.