HomeUnit Conversion › Bytes to Megabytes

Bytes to Megabytes (B to MB)

Convert bytes to megabytes: 1 B = 0.000001 MB. Exact conversion factor, formula, 18-row table and worked examples, with JSON API and MCP access.

Formula

1 B = 0.000001 MB

megabytes = bytes × 0.000001 — reverse: bytes = megabytes × 1000000

The factor is derived from the SI definitions of both units (base unit: B) as listed in NIST SP 811; results on this page are shown to 6 significant figures, the API returns up to 12.

Worked examples

Bytes to megabytes conversion table

Bytes (B)Megabytes (MB)
10.000001
20.000002
40.000004
80.000008
160.000016
320.000032
640.000064
1000.0001
1280.000128
2560.000256
5000.0005
5120.000512
10000.001
10240.001024
20480.002048
40960.004096
81920.008192
100000.01

FAQ

How many megabytes are in one byte?

1 B = 0.000001 MB. The factor comes from the SI definitions of both units (NIST SP 811 / BIPM), so it is exact or correct to at least 10 significant figures.

What is the formula to convert bytes to megabytes?

Multiply the value in bytes by 0.000001: megabytes = bytes × 0.000001. For example, 1.5 B = 0.0000015 MB.

How do I convert megabytes back to bytes?

Multiply by the inverse factor 1000000 (bytes = megabytes × 1000000), or use the megabytes-to-bytes page.

Related conversions

Machine access

Sources