Bit (bit)

Data unit · SI system

All units Data converter

The bit is the fundamental unit of information. Its symbol is bit, and its name is a contraction of binary digit, coined by the statistician John Tukey and put into print by Claude Shannon in his 1948 paper A Mathematical Theory of Communication, the work that founded information theory.

A bit is the amount of information carried by a single choice between two equally likely possibilities. A coin landing heads or tails, a switch open or closed, a voltage high or low: each of those settles one bit. That definition is what makes the bit a unit rather than a mere convention of notation. It measures how much uncertainty an answer removes, and it does so in a way that is independent of what the question was about.

Shannon's insight was that this could be counted. A message drawn from an alphabet of thirty-two equally likely symbols carries five bits per symbol, because thirty-two is two to the fifth. If the symbols are not equally likely — as letters in English are not — the average drops, and that gap between the naive count and the true average is exactly what compression exploits. A well-compressed file is one from which the redundant bits have been removed.

In hardware the bit is a physical state: a charge trapped on a floating gate in flash memory, the direction of magnetisation of a domain on a hard disc platter, a pit or land on an optical disc, a pulse of light present or absent in a fibre. All of these encode the same abstract quantity, which is why data can move between them without loss.

Bits are almost never counted singly in storage. They are grouped into octets of eight, and storage capacity is quoted in octets or their multiples. Transmission is different: network and interface speeds are quoted in bits per second, so a connection described as 100 megabits per second delivers about 12.5 megaoctets per second. Confusing the two is the commonest arithmetic error in the whole field.

Where single bits do get counted is in specifications of precision and range. A colour channel with 8 bits holds 256 levels; one with 10 bits holds 1,024. Audio at 16 bits per sample has about 96 decibels of dynamic range, and at 24 bits about 144. A 64-bit address can name about 18 quintillion locations. In every case, each added bit doubles what can be distinguished.

One bit equals 0.125 octets, 0.001 kilobits, or about 0.0009766 kibibits.

Bit conversion table

UnitSymbol1 Bit equals1 of these equalsConverter
Kilobitkbit0.001 kbit1000 bitBits to Kilobits
MegabitMbit0.000001 Mbit1000000 bitBits to Megabits
GigabitGbit0.000000001 Gbit1000000000 bitBits to Gigabits
TerabitTbit1 × 10-12 Tbit1000000000000 bitBits to Terabits
PetabitPbit1 × 10-15 Pbit1 × 1015 bitBits to Petabits
ExabitEbit1 × 10-18 Ebit1 × 1018 bitBits to Exabits
ZettabitZbit1 × 10-21 Zbit1 × 1021 bitBits to Zettabits
YottabitYbit1 × 10-24 Ybit1 × 1024 bitBits to Yottabits
Octetoctet0.125 octet8 bitBits to Octets
Kilooctetko0.000125 ko8000 bitBits to Kilooctets
MegaoctetMo0.000000125 Mo8000000 bitBits to Megaoctets
GigaoctetGo1.25 × 10-10 Go8000000000 bitBits to Gigaoctets
TeraoctetTo1.25 × 10-13 To8000000000000 bitBits to Teraoctets
PetaoctetPo1.25 × 10-16 Po8 × 1015 bitBits to Petaoctets
ExaoctetEo1.25 × 10-19 Eo8 × 1018 bitBits to Exaoctets
ZettaoctetZo1.25 × 10-22 Zo8 × 1021 bitBits to Zettaoctets
YottaoctetYo1.25 × 10-25 Yo8 × 1024 bitBits to Yottaoctets
KibibitKibit0.0009765625 Kibit1024 bitBits to Kibibits
MebibitMibit0.000000953674316406 Mibit1048576 bitBits to Mebibits
GibibitGibit9.31322574615 × 10-10 Gibit1073741824 bitBits to Gibibits
TebibitTibit9.09494701773 × 10-13 Tibit1099511627776 bitBits to Tebibits
PebibitPibit8.881784197 × 10-16 Pibit1.12589990684 × 1015 bitBits to Pebibits
ExbibitEibit8.67361737988 × 10-19 Eibit1.15292150461 × 1018 bitBits to Exbibits
ZebibitZibit8.47032947254 × 10-22 Zibit1.18059162072 × 1021 bitBits to Zebibits
YobibitYibit8.27180612553 × 10-25 Yibit1.20892581961 × 1024 bitBits to Yobibits
KibioctetKio0.0001220703125 Kio8192 bitBits to Kibioctets
MebioctetMio0.000000119209289551 Mio8388608 bitBits to Mebioctets
GibioctetGio1.16415321827 × 10-10 Gio8589934592 bitBits to Gibioctets
TebioctetTio1.13686837722 × 10-13 Tio8796093022208 bitBits to Tebioctets
PebioctetPio1.11022302463 × 10-16 Pio9.00719925474 × 1015 bitBits to Pebioctets
ExbioctetEio1.08420217249 × 10-19 Eio9.22337203685 × 1018 bitBits to Exbioctets
ZebioctetZio1.05879118407 × 10-22 Zio9.44473296574 × 1021 bitBits to Zebioctets
YobioctetYio1.03397576569 × 10-25 Yio9.67140655692 × 1024 bitBits to Yobioctets