## Binary Prefixes Converter

### Convert between binary units and decimal units

Computers store data in bits. One bit is either on (1) or off (0). Eight bits make a byte (FF or 256 different values). But this is where things get interesting. What's a kilobyte

? Kilo-

is the prefix for one thousand. So, a kilobyte would be 1,000 bytes. However, in a computer, there are 1,024 (2^{10}) bytes in a kilobyte.

This might be just a difference of 24 bytes, but gigabytes are either 1,000^{3} bytes or 1,024^{3} bytes. That's a difference of 73,741,824 bytes or about 73 megabytes.

If you bought a 100 GB hard drive, you just lost about 7% of the storage, because the computer counts by 1,024, and the manufacturer counts by 1,000.

To remedy this, the IEC created new prefixes specfically for binary units, using so-called binary prefixes.

The new units include the kibibyte,

mebibyte,

and so on. A kibibyte is 1,024 bytes, while an actual kilobyte is 1,000 bytes. For a lengthier exploration of the topic, along with where to use which kind of units, check out Wikipedia's article on binary prefixes.

100000000000 bytes is equivalent to | |
---|---|

97656250 kibibytes (kiB) | 100000000 kilobytes (kB) |

95367.431640625 mebibytes (MiB) | 100000 megabytes (MB) |

93.132257461548 gibibytes (GiB) | 100 gigabytes (GB) |

0.090949470177293 tebibytes (TiB) | 0.1 terabytes (TB) |

8.8817841970013E-5 pebibytes (PiB) | 0.0001 petabytes (PB) |

8.673617379884E-8 exbibytes (EiB) | 1.0E-7 exobytes (EB) |

8.470329472543E-11 yobibytes (YiB) | 1.0E-10 yottabytes (YB) |