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.
| Unit | Symbol | 1 Bit equals | 1 of these equals | Converter |
|---|---|---|---|---|
| Kilobit | kbit | 0.001 kbit | 1000 bit | Bits to Kilobits |
| Megabit | Mbit | 0.000001 Mbit | 1000000 bit | Bits to Megabits |
| Gigabit | Gbit | 0.000000001 Gbit | 1000000000 bit | Bits to Gigabits |
| Terabit | Tbit | 1 × 10-12 Tbit | 1000000000000 bit | Bits to Terabits |
| Petabit | Pbit | 1 × 10-15 Pbit | 1 × 1015 bit | Bits to Petabits |
| Exabit | Ebit | 1 × 10-18 Ebit | 1 × 1018 bit | Bits to Exabits |
| Zettabit | Zbit | 1 × 10-21 Zbit | 1 × 1021 bit | Bits to Zettabits |
| Yottabit | Ybit | 1 × 10-24 Ybit | 1 × 1024 bit | Bits to Yottabits |
| Octet | octet | 0.125 octet | 8 bit | Bits to Octets |
| Kilooctet | ko | 0.000125 ko | 8000 bit | Bits to Kilooctets |
| Megaoctet | Mo | 0.000000125 Mo | 8000000 bit | Bits to Megaoctets |
| Gigaoctet | Go | 1.25 × 10-10 Go | 8000000000 bit | Bits to Gigaoctets |
| Teraoctet | To | 1.25 × 10-13 To | 8000000000000 bit | Bits to Teraoctets |
| Petaoctet | Po | 1.25 × 10-16 Po | 8 × 1015 bit | Bits to Petaoctets |
| Exaoctet | Eo | 1.25 × 10-19 Eo | 8 × 1018 bit | Bits to Exaoctets |
| Zettaoctet | Zo | 1.25 × 10-22 Zo | 8 × 1021 bit | Bits to Zettaoctets |
| Yottaoctet | Yo | 1.25 × 10-25 Yo | 8 × 1024 bit | Bits to Yottaoctets |
| Kibibit | Kibit | 0.0009765625 Kibit | 1024 bit | Bits to Kibibits |
| Mebibit | Mibit | 0.000000953674316406 Mibit | 1048576 bit | Bits to Mebibits |
| Gibibit | Gibit | 9.31322574615 × 10-10 Gibit | 1073741824 bit | Bits to Gibibits |
| Tebibit | Tibit | 9.09494701773 × 10-13 Tibit | 1099511627776 bit | Bits to Tebibits |
| Pebibit | Pibit | 8.881784197 × 10-16 Pibit | 1.12589990684 × 1015 bit | Bits to Pebibits |
| Exbibit | Eibit | 8.67361737988 × 10-19 Eibit | 1.15292150461 × 1018 bit | Bits to Exbibits |
| Zebibit | Zibit | 8.47032947254 × 10-22 Zibit | 1.18059162072 × 1021 bit | Bits to Zebibits |
| Yobibit | Yibit | 8.27180612553 × 10-25 Yibit | 1.20892581961 × 1024 bit | Bits to Yobibits |
| Kibioctet | Kio | 0.0001220703125 Kio | 8192 bit | Bits to Kibioctets |
| Mebioctet | Mio | 0.000000119209289551 Mio | 8388608 bit | Bits to Mebioctets |
| Gibioctet | Gio | 1.16415321827 × 10-10 Gio | 8589934592 bit | Bits to Gibioctets |
| Tebioctet | Tio | 1.13686837722 × 10-13 Tio | 8796093022208 bit | Bits to Tebioctets |
| Pebioctet | Pio | 1.11022302463 × 10-16 Pio | 9.00719925474 × 1015 bit | Bits to Pebioctets |
| Exbioctet | Eio | 1.08420217249 × 10-19 Eio | 9.22337203685 × 1018 bit | Bits to Exbioctets |
| Zebioctet | Zio | 1.05879118407 × 10-22 Zio | 9.44473296574 × 1021 bit | Bits to Zebioctets |
| Yobioctet | Yio | 1.03397576569 × 10-25 Yio | 9.67140655692 × 1024 bit | Bits to Yobioctets |