BYTETOOLS

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.000001

For example, 2500000 bytes × 1e-6 = 2.5 MB. To reverse it, divide by 1e-6 or multiply by 1,000,000.

Conversion table

BytesMegabytes (MB)
10.000001
20.000002
50.000005
100.00001
250.000025
500.00005
1000.0001
5000.0005
10000.001
10000001

How to convert online

  1. Type the number of bytes into the first box.
  2. Read the megabyte result instantly in the second box.
  3. 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.