DevToolPal
EN

Data size

Bytes to MB Converter

Convert bytes (B) to megabytes (MB). 1 B = 0.000001 MB, and 1 MB = 1,000,000 B.

Formula

MB = B ÷ 1000000

How to convert

To convert bytes to megabytes, divide the value by 1,000,000. For example, 4,096 B = 0.004096 MB.

Conversion table

Bytes (B) MB
1 B 0.000001 MB
8 B 0.000008 MB
100 B 0.0001 MB
512 B 0.000512 MB
1,000 B 0.001 MB
1,024 B 0.001024 MB
4,096 B 0.004096 MB
10,000 B 0.01 MB
100,000 B 0.1 MB
1,000,000 B 1 MB

About these units

Storage sizes come in two systems. Decimal (SI) units step by 1,000: 1 KB = 1,000 bytes, 1 MB = 1,000 KB and 1 GB = 1,000 MB. Binary (IEC) units step by 1,024: 1 KiB = 1,024 bytes and 1 MiB = 1,024 KiB. Drive makers and most specifications use decimal units, while Windows and many programs count in binary but label the result KB, MB or GB, which is why a 1 TB drive shows up as about 931 GB. One byte is 8 bits.

FAQ

› How do I convert B to MB?

1 B = 0.000001 MB. To convert, divide the value by 1,000,000: 4,096 B = 0.004096 MB.

› What is 1 MB in B?

1 MB = 1,000,000 B. The reverse formula is B = MB × 1000000.

› Is 1 MB 1,000 KB or 1,024 KB?

In SI units 1 MB is 1,000 KB. The 1,024-based unit has its own name, the mebibyte (MiB). Some software still writes MB for 1,024 KB, so check which convention a number uses.

› Why does a new drive show less space than advertised?

The box uses decimal gigabytes (10⁹ bytes) while the operating system reports binary gibibytes (2³⁰ bytes) labeled GB. A 500 GB drive is about 465.66 GiB; no space is missing.