Calculators

Bytes to MB

Convert bytes, kilobytes, megabytes and gigabytes. Binary units use 1024 and decimal units use 1000, and the page does not treat those scales as the same.

MB means 1,000,000 bytes; MiB means 1,048,576 bytes. Both result columns are always shown.

What the result means

Choose the input unit explicitly: KB, MB, GB and TB use powers of 1000; KiB, MiB, GiB and TiB use powers of 1024. For example, 1 MB is 1,000,000 bytes and 1 MiB is 1,048,576 bytes. A byte has the same size in both systems. Every conversion shows both binary and decimal columns. Use the unit reported by your source, then compare the output columns without changing the byte total. A disk capacity and a binary memory size can use different labels for the same amount of data. Negative and non-finite values are rejected.

Related tools

Guides

Advertisement

Questions

Is a megabyte 1000 or 1024?

A megabyte (MB) is 1000 squared bytes: 1,000,000. A mebibyte (MiB) is 1024 squared bytes: 1,048,576. Choose the exact unit shown by your source.

What is a tebibyte?

A tebibyte is 1024^4 bytes, which is 1,099,511,627,776 bytes. The binary column labels that TiB. A terabyte is 1000^4 bytes and is not the same amount.

Which column matches what I typed?

KB, MB, GB and TB are decimal inputs; KiB, MiB, GiB and TiB are binary inputs. Both result columns describe the same byte total. B means bytes in either system.

Need help with a tool or found a bug?

Report an issue directly to engineering. No accounts required — all client data remains private on your device.

Report an Issue →