Bytes to MB Converter

Convert bytes to MB instantly. Get both results using binary and decimal units.

Binary units (1,024-based)

1 MiB

1,048,576 B = 1 MiB

Some apps label MiB as “MB”.

Decimal units (1,000-based)

1,048,576 B = 1.048576 MB

This row uses standard decimal units: B and MB.

Both results represent the same byte amount.

Binary units (1,024-based): 1,048,576 B = 1 MiB. Decimal units (1,000-based): 1,048,576 B = 1.048576 MB
Calculation details

Binary units (1,024-based)

Exact bytes: 1,048,576

Exact result: 1 MiB (Some apps label MiB as “MB”.)

Some apps label MiB as “MB”. Source: 1 B = 1 byte Target: 1 MiB = 1,048,576 bytes

Decimal units (1,000-based)

Exact bytes: 1,048,576

Exact result: 1.048576 MB

This result uses standard decimal units. Source: 1 B = 1 byte Target: 1 MB = 1,000,000 bytes

Quick answer

Binary units (1,024-based): 1,048,576 B = 1 MiB.Some apps label MiB as “MB”.

Decimal units (1,000-based): 1,048,576 B = 1.048576 MB.This row uses standard decimal units: B and MB.

Formula and worked example

Binary units (1,024-based)

Some apps label MiB as “MB”. Source: 1 B = 1 byte Target: 1 MiB = 1,048,576 bytes

MiB = B ÷ 1,048,576

Example (Binary units (1,024-based)): 1,048,576 B = 1 MiB.

Decimal units (1,000-based)

This result uses standard decimal units. Source: 1 B = 1 byte Target: 1 MB = 1,000,000 bytes

MB = B ÷ 1,000,000

Example (Decimal units (1,000-based)): 1,048,576 B = 1.048576 MB.

A byte is not a bit

1 MB = 1,000,000 B and 1 MiB = 1,048,576 B. The byte is the common baseline for expressing the same capacity in either unit system.

A byte contains eight bits. This tool converts byte-based capacity units; it does not interpret bit units or rates such as Mbps.

With bytes as the input, both results keep the same capacity. 1,048,576 bytes is 1 MiB in the result with binary units (1,024-based; some apps label this “1 MB”), or 1.048576 decimal MB in the result with decimal units (1,000-based). See the standard unit reference.

Decimal input is allowed for mathematical capacities. A fractional byte result is labelled explicitly; an actual file byte count is a whole number.

Reverse conversion

Reverse either result using its exact value. The direction shown on each action follows the current conversion.

Common B to MiB conversions · binary and decimal

Each result uses the unit definitions shown in its row. The byte count stays the same. Result columns are for comparison.

Common B to MiB conversions · binary and decimal · Binary units (1,024-based) / Decimal units (1,000-based)
Input numberClick icon to use a common valueBinary units (1,024-based)B → MiBDecimal units (1,000-based)B → MB
10.000000953674316406250.000001
1,0000.000953674316406250.001
1,0240.00097656250.001024
65,5360.06250.065536
524,2880.50.524288
1,000,0000.953674316406251
1,048,57611.048576
5,000,0004.768371582031255
10,485,7601010.48576
25,000,00023.8418579101562525
104,857,600100104.8576
1,073,741,8241,0241,073.741824

Standards and sources

Standard decimal prefixes use powers of 1,000: kB, MB, GB and TB. IEC binary prefixes use powers of 1,024: KiB, MiB, GiB and TiB. Results and formulas use these standard symbols.

The input controls keep familiar KB, MB, GB and TB labels. In the result with binary units (1,024-based), an unmarked input such as “MB” is read as MiB; some apps display a GiB result as “GB”. That compatibility explanation applies to this result only. In the result with decimal units (1,000-based), KB is an interface alias for standard kB (1,000 bytes); the unit factors do not change.

“The SI prefixes refer strictly to powers of 10. They should not be used to indicate powers of 2.”