Byte to Megabyte Converter (B to MB)
1 byte equals 0.000001 megabytes (MB) — multiply the number of bytes by 1 × 10⁻⁶ to convert. A decimal megabyte is 1,000,000 bytes, so one million bytes make up a single megabyte.
The formula
Multiply bytes by the exact factor 1e-6:
MB = bytes × 0.000001For example, 2500000 bytes × 1e-6 = 2.5 MB. To reverse it, divide by 1e-6 or multiply by 1,000,000.
Conversion table
| Bytes | Megabytes (MB) |
|---|---|
| 1 | 0.000001 |
| 2 | 0.000002 |
| 5 | 0.000005 |
| 10 | 0.00001 |
| 25 | 0.000025 |
| 50 | 0.00005 |
| 100 | 0.0001 |
| 500 | 0.0005 |
| 1000 | 0.001 |
| 1000000 | 1 |
How to convert online
- Type the number of bytes into the first box.
- Read the megabyte result instantly in the second box.
- Enter an MB value instead to convert back to bytes — it works both ways.
Use the Byte to Megabyte Converter — free and instant in your browser.
Where this conversion is used
Byte-level figures come from logs, upload limits and file metadata, while attachments, images and downloads are measured in megabytes. Converting bytes to MB turns a raw count into a size people recognise — useful for checking an upload cap, sizing an image, or reporting a payload in familiar units.
Scaling and accuracy
Converting bytes to megabytes shifts the decimal point six places left, so 2,500,000 bytes = 2.5 MB and 500,000 bytes = 0.5 MB. The relationship is linear, meaning doubling the bytes doubles the megabytes. This tool uses decimal (SI) megabytes where 1 MB = 1,000,000 bytes, the convention used in bandwidth quotes and file listings. The binary mebibyte (1 MiB = 1,048,576 bytes) is about 4.9% larger, so a file reported as 1 MiB is slightly bigger than 1 MB — check which standard your source uses before comparing sizes.
FAQ
How many megabytes are in a byte?
One byte equals 0.000001 MB. Multiply bytes by 1e-6 — for example, 10 bytes = 0.00001 MB.
How many bytes are in a megabyte?
A decimal megabyte holds 1,000,000 bytes. So 1 MB = one million bytes.
How do I convert megabytes back to bytes?
Divide by 1e-6, or multiply by 1,000,000. For instance, 2 MB = 2,000,000 bytes.
Is the conversion exact?
Yes. 1e-6 is an exact decimal factor, so results are precise.
Related converters
Built by ByteVancer
ByteTools is a free product of ByteVancer, a software and web development studio. If you need custom apps, integrations or tooling built for your team, ByteVancer can help — explore our services and get in touch.
Recommended reading
Terabyte to Petabyte Converter (TB to PB)
1 terabyte equals 0.001 petabytes. See the TB to PB formula, a table of common values, and convert instantly in your browser.
Terabyte to Megabyte Converter (TB to MB)
1 terabyte equals 1,000,000 megabytes. See the TB to MB formula, a table of common values, and convert instantly in your browser.
Terabyte to Kilobyte Converter (TB to KB)
1 terabyte equals 1,000,000,000 kilobytes. See the TB to KB formula, a table of common values, and convert instantly in your browser.
Terabyte to Gigabyte Converter (TB to GB)
1 terabyte equals 1000 gigabytes. Learn the TB to GB formula, a conversion table of common values, and convert instantly in your browser.