Bytes (B) to Megabytes (MB) Converter
Convert bytes to megabytes.
1 B = 0.000001 MB
How to convert Bytes (B) to MB
File sizes here use the decimal (SI) system, the same one drive makers and network providers use. In that system 1 Byte is 100 bytes and 1 Megabyte is 106 bytes. Divide one by the other and you get the ratio between the two units: 100 ÷ 106 = 10−6.
Byte is the smaller unit, so you divide. One B is only 0.000001 of a MB, which means the decimal point moves 6 places to the left.
On the ladder (B → KB → MB → GB → TB → PB → EB → ZB → YB → RB → QB) these two are 2 steps apart. Every step is a factor of 1,000, so 2 steps means 1,000 multiplied by itself 2 times, which is 106.
The formula
MB = Bytes (B) ÷ 1,000,0001 B = 0.000001 MB
Worked example 1: Converting 160 B
160 B ÷ 1,000,000 = 0.00016 MBThe decimal point moves 6 places to the left.
160 B is about 160 characters of plain ASCII text.
Worked example 2: Converting 0.5 B
0.5 B ÷ 1,000,000 = 5 × 10−7 MBThe decimal point moves 6 places to the left.
Worked example 3: Converting 12.75 B
12.75 B ÷ 1,000,000 = 0.00001275 MBThe decimal point moves 6 places to the left.
Need the other direction? Open the MB to Bytes (B) converter.
Bytes (B) to MB examples
160 B is about 160 characters of plain ASCII text. In megabytes that is 0.00016 MB.
| B | MB |
|---|---|
| 1 B | 0.000001 MB |
| 2.5 B | 0.0000025 MB |
| 10 B | 0.00001 MB |
| 50 B | 0.00005 MB |
| 100 B | 0.0001 MB |
| 500 B | 0.0005 MB |
| 1,000 B | 0.001 MB |
Where Bytes (B) to MB comes up
A byte is eight bits, enough to store one character of plain English text. Bytes show up whenever you need the exact number: file properties, HTTP headers, memory buffers, database column limits and the counts programs print in logs.
A megabyte is 1,000 kilobytes, about a minute of MP3 audio at 128 kbps. Megabytes are what you see on photos, PDFs, songs and slide decks, and they sit behind most email attachment and upload limits.
Starting from bytes means turning an exact count into a unit people can read at a glance.
Going from bytes up to megabytes always gives a smaller number, because you are counting in bigger chunks. People do it to make a long number readable, or to compare a file with the size of a drive or a plan.
Bytes (B) to MB FAQ
How many megabytes are in 1 byte?
One byte is 0.000001 of a megabyte. It takes 1,000,000 bytes to make 1 megabyte.
Is B to MB decimal or binary?
This page is decimal (SI), where 1 KB = 1,000 B. Operating systems often count in powers of 1,024 and still print KB, MB or GB, when they really mean KiB, MiB and GiB. At MB the two systems differ by about 4.9%.
How do I convert MB to B?
Go the other way: multiply by 1,000,000, which moves the decimal point 6 places to the right. The swap button on the converter does it for you.