Bytes Converter

Convert a storage size between bytes, decimal units and binary units. A megabyte is 1,000,000 bytes, while a mebibyte is 1,048,576 bytes.

Workspace

Converted size

Your result will appear here.

How to use it

  1. Enter a nonnegative size and select its original unit.
  2. Choose the destination unit. Look for KiB, MiB or GiB when the measurement uses binary prefixes.
  3. Convert the value. The displayed result uses up to 12 significant digits.

Worked example

Input
1048576 B → MiB
Output
1 MiB

Frequently asked questions

How many bytes are in a gigabyte?

One gigabyte (GB) is 1,000,000,000 bytes. One gibibyte (GiB) is 1,073,741,824 bytes.

How do I convert MB to MiB?

Multiply the number of megabytes by 1,000,000, then divide by 1,048,576. For example, 1 MB is approximately 0.953674 MiB.