Binary prefixes

Just like we have decimal prefixes, such as mega (for x1,000,000) and nano (for x0.000001), we also have binary prefixes, which are based on powers of 2.

Common binary prefixes

PrefixSymbolFactor
kibiKi2^{10}
mebiMi2^{20}
gibiGi2^{30}
tebiTi2^{40}
pebiPi2^{50}

An interesting pattern here is that each prefix is 1024 times larger than the previous one, since 2^{10} = 1024.

Example conversions

Example: Convert 4 kibibytes to bytes.

Example: Convert 3 mebibytes to bytes.

Example: Convert 2 gibibytes to mebibytes.

Example: Convert 5 tebibytes to gibibytes.

Example: Convert 1 pebibyte to gibibytes.