Bytes to MB Converter

Convert bytes to MB instantly. Get both MiB and MB results.

Binary result (1,024-based)

1 MiB

1,048,576 B = 1 MiB

Apps may label MiB “MB”.

Decimal result (1,000-based)

1,048,576 B = 1.048576 MB

Both results represent the same byte amount.

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

Both results represent the same byte amount.

Binary result (1,024-based)

Exact bytes: 1,048,576

Exact result: 1 MiB (Apps may label MiB “MB”.)

Apps may label MiB “MB”. Source: 1 B = 1 byte Target: 1 MiB = 1,048,576 bytes

Decimal result (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 result (1,024-based): 1,048,576 B = 1 MiB.Apps may label MiB “MB”.

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

Formula and worked example

Binary result (1,024-based)

Apps may label MiB “MB”.

MiB = B ÷ 1,048,576

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

Decimal result (1,000-based)

This result uses standard decimal units.

MB = B ÷ 1,000,000

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

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 (1,024-based) and decimal (1,000-based) results
Input numberClick icon to use a common valueBinary result1,024-based · B → MiBDecimal result1,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

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 binary result (1,024-based; some apps label this “1 MB”), or 1.048576 decimal MB in the decimal result (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.

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 binary result (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 decimal result (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.”