Skip to content
ExactUnit

Data Storage / B → MB

Convert Bytes to Megabytes

Convert bit and byte counts with explicit decimal and binary prefixes. Convert Bytes (B) to Megabytes (MB). Find the formula, worked examples, unit definitions, and practical guidance below.

Reverse: Megabytes to Bytes →

Unit converter
Edit either value
1 B = 0.000001 MB

Results rounded to 12 significant digits.

How to convert bytes to megabytes

One byte is 8 bits. Decimal kilo/mega/giga use powers of 1000; binary kibi/mebi/gibi use powers of 1024. Marketing capacity and operating-system displays can therefore differ.

Use x for the value in B, b for the intermediate value in B, and y for the result in MB.

MB = B ÷ 1000000

Worked examples

  • 10 B ≈ 0.00001 MB

    Step 1: (10 × 1) ≈ 10 B.
    Step 2: 10 ÷ 1000000 ≈ 0.00001 MB.

  • 20 B ≈ 0.00002 MB

    Step 1: (20 × 1) ≈ 20 B.
    Step 2: 20 ÷ 1000000 ≈ 0.00002 MB.

Results are rounded to 12 significant digits. Converting units does not increase the precision of the original measurement. Very large or small values outside JavaScript’s finite numeric range are rejected.

About Bytes

Bytes (B) measures data storage under the conventions above. The base value in B is (x × 1), where x is the numerical value in B. Factors shown here are rounded for display; calculations use the stored factor.

About Megabytes

Megabytes (MB) measures data storage under the conventions above. The base value in B is (x × 1000000), where x is the numerical value in MB. Factors shown here are rounded for display; calculations use the stored factor.

Definitions and sources

For a different quantity or formatting task, see the related other conversion tools.

Bytes to megabytes reference table

Common bytes values converted to megabytes
Bytes (B)Megabytes (MB)
10.000001
50.000005
100.00001
250.000025
500.00005
1000.0001
10000.001

Browse every data storage conversion →

Popular conversions

A shortcut to your next answer