OneFreePlace — Everything Useful. Free.
Utilities / Bytes to Megabytes Converter
OneFreePlace · Tool #108

Bytes to megabytes, without the MB vs MiB confusion.

Convert bytes accurately using both decimal storage units and binary IEC units. Paste plain bytes or expressions like 1.5 GiB, then see every useful equivalent at once.

✓ Decimal MB + binary MiB✓ Smart unit parser✓ Bits & bytes clearly separated✓ Batch conversion
Bytes to Megabytes Converter
Precise · local · no signup
Smart converter

Enter any data size

You can also paste the unit directly, for example 5,000,000 bytes, 1.5 GiB, or 700 MB.
Decimal vs binaryMiB is a larger unit
1 MB
1,000,000 B
1 MiB
1,048,576 B
The unit itself differs by 4.8576%. For the same file, the numerical value shown in MiB is about 4.63% smaller than the value shown in MB.
Decimal megabytes
Exact bytes
1.048576
MB
1,048,576 bytes ÷ 1,000,000 = 1.048576 MB
Formula used MB = bytes ÷ 1,000,000
This input is an exact integer byte count and is safely representable in JavaScript.

Batch converter

Paste multiple sizes, one per line. Units are optional; a bare number is treated as bytes.

What the labels actually mean

The difference is not a rounding preference; MB and MiB are different units.

MB — megabyteDecimal SI-style prefix: 1 MB = 10⁶ bytes = 1,000,000 bytes.
MiB — mebibyteBinary IEC prefix: 1 MiB = 2²⁰ bytes = 1,048,576 bytes.
MB is not MbUppercase B means bytes. Lowercase b means bits. 1 byte = 8 bits.
Why devices can look “smaller”Storage vendors commonly quote decimal capacities, while some software displays binary-sized quantities or historically labels them ambiguously.

Reference conversions

Quick examples showing the decimal and binary interpretations side by side.

BytesMBMiBKBKiB
1,0000.0010.00095367410.9765625
1,0240.0010240.0009765631.0241
1,000,00010.9536743161,000976.5625
1,048,5761.04857611,048.5761,024
1,000,000,0001,000953.6743161,000,000976,562.5
i
Standards noteSI prefixes such as kilo, mega and giga are powers of 10. Binary prefixes such as kibi, mebi and gibi are powers of 2. OneFreePlace keeps the symbols separate instead of using “MB” for two different quantities.