Kilobyte

Multiples of bytes
Decimal prefixes Binary prefixes
Name Symbol Multiple Name Symbol Multiple
kilobyte kB 103 kibibyte KiB 210
megabyte MB 106 mebibyte MiB 220
gigabyte GB 109 gibibyte GiB 230
terabyte TB 1012 tebibyte TiB 240
petabyte PB 1015 pebibyte PiB 250
exabyte EB 1018 exbibyte EiB 260
zettabyte ZB 1021
yottabyte YB 1024

A kilobyte (derived from the SI prefix kilo-) is a unit of information or computer storage equal to either 1024 or 1000 bytes. It is commonly abbreviated KB, or informally K.

The term "kilobyte" was first loosely used for a value of 1024 bytes (210), because 210 is roughly one thousand and powers of two are convenient for use with binary digital computers. Unfortunately this abuse of the SI prefix got carried away from the slang of computer professionals into the mainstream lexicon by the marketing people, creating a lot of semantics problems.

Some suggested that the prefix K should be use to distinguish this quantity from the SI prefix k. However, the K prefix was never formally mandated and it is not used consistently. When larger units were needed for millions of bytes or more, the subtle upper-case / lower-case distinction between the SI prefix and this special use in computing, was not available (SI already uses the prefixes m and M to mean "thousandth" and "million" respectively). Higher-order SI prefixes are therefore used with either decimal (powers of 1000) or binary (powers of 1024) values, depending on context. See binary prefix for more details.

For instance, a 512 kbit/s DSL line has a capacity of exactly 512000 bits/s. Dividing by 8, this is 64000 bytes/s, which is 62.5 KiB. However, the unpredictable levels of transmission overhead and error rate mean that the 2% error in referring to this as "64K" is fairly insignificant.

Compare with kilobit, which is frequently used with either a decimal or binary meaning.

See also

See also: Kilobyte, 1 E12, 1 E15, 1 E18, 1 E21, 1 E24, 1 E3, 1 E6, 1 E9