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.

flashcards

QuestionAnswer
What is the factor of a kibi prefix in terms of a power of 2?2^{10}
What is the symbol for the mebi prefix?Mi
How many bytes are in 1 KiB?2^{10} bytes
Convert 4 KiB to bytes.4096 B
Convert 3 MiB to bytes.3,145,728 B
How many MiB are in 1 GiB?2^{10} MiB = 1024 MiB
Convert 2 GiB to MiB.2048 MiB
How many GiB are in 1 TiB?1024 GiB
Convert 5 TiB to GiB.5120 GiB
What is the factor of a pebi prefix in terms of a power of 2?2^{50}
How many GiB are in 1 PiB?2^{20} GiB = 1,048,576 GiB
Convert 1 PiB to GiB.1,048,576 GiB
What pattern is observed between each binary prefix?Each prefix is 1024 times larger than the previous one because 2^{10} = 1024