Bit
Imagine a friend has picked a day of the year. Going through the dates one by one — “the fifth of March? the sixth?” — you could spend up to three hundred and sixty-four questions. But you can ask differently: “In the first half of the year?”, then which half of that half, and so on. A “yes” or “no” answer to a question whose two outcomes are equally likely is exactly one bit. The chosen day carries 8.51 bits, so eight questions are sometimes not enough, while nine will always do.
A bit is a binary digit, zero or one, and at the same time a unit of the amount of information. An event that occurs with probability p conveys log₂(1/p) bits: a coin toss is one bit, a die 2.58, a card drawn from a deck 5.7. The more predictable the event, the less it says: a coin that lands heads ninety-nine times out of a hundred conveys on average only 0.08 bits per toss. On this idea Claude Shannon built, in 1948, a theory of communication that answers two questions: how far a text can be compressed, and how much information can be sent through a noisy channel.
Etymology
A binary finger, shape and turn
The word bit is a contraction of the English binary digit. Shannon was the first to use it in print, in 1948, noting that the word was coined by the statistician John Tukey. In English, bit also means “a small piece”, and this play on meanings helped it catch on. Almost every language took the word over untranslated — in Latin letters or in its own script.
01 · Definition
Information as a measure of surprise
In 1928 Ralph Hartley proposed measuring a message by the logarithm of the number of possible alternatives. The logarithm was needed so that information would add up: two coin tosses give four outcomes, but two bits, not four. The unit depends on the base of the logarithm: base 2 gives the bit, base e the nat, base 10 the hartley.
Shannon took into account that outcomes are seldom equally probable: a rare event tells a lot, a familiar one almost nothing. The average over all outcomes he called the entropy of the source. It shows to how many bits per character, on average, a message can be compressed without losing anything. English text, if only letter frequencies are considered, carries about 4.1 bits per letter, and taking words and meaning into account, about one.
From a coin to a password
Pick an event. The number of cells shows how many yes-or-no questions are needed to guess it: blue ones are whole bits, the orange one is the incomplete last bit.
Guess, compress, transmit
In the “Questions” experiment, pick an option and answer the machine “yes” or “no”: it will guess it by halving the options or going through them one by one. In the “Text” experiment, write a phrase in any language — entropy and the Huffman code are calculated from it. In the “Channel” experiment, send a picture of 1024 bits through noise and protect it with repetition or a Hamming code; pressing “Finger drawing: on” lets you draw the picture yourself.
02 · Carriers of the bit
From a hole in cardboard to an atom
A bit is always stored in something physical that can be in two distinguishable states: a punched hole or intact cardboard, the north or south pole of a magnet, a charged or empty capacitor, a pit or a smooth spot on a disc. Over a century the recording density has grown by roughly a hundred billion times. The values on the graph are rounded to the order of magnitude.
03 · Alphabets and units
How many bits in one letter
If all characters of an alphabet are equally likely, each carries log₂k bits, where k is the number of characters. This is only an upper bound: in real speech letters occur unequally and can be guessed from their neighbours, so in practice a character holds less information. The richer the alphabet, the more bits per character and the shorter the record of the same thought.
04 · Bit per second
Tariff in bits, file in bytes
Connection speed is sold everywhere in bits per second — Mbit/s, Gbps, 兆比特每秒 — while file size is shown in bytes. Hence the common error of exactly a factor of eight. In addition, 5–10 % of the speed goes to packet headers and acknowledgements, so the real download is always a little slower than the division by eight suggests.
05 · Writing rules
06 · Neighbouring units
07 · Historical section
In 1703 Gottfried Leibniz published a paper on binary arithmetic, showing that any number can be written with zeros and ones alone. Shortly before, the Jesuit Joachim Bouvet, who lived in China, had sent him the arrangement of the hexagrams of the ancient “Book of Changes” drawn up by Shao Yong. Each figure is made of six lines, solid or broken, sixty-four figures in all, and Leibniz saw with amazement that their order matches binary counting from 0 to 63.
A hexagram is six binary digits, 2⁶ = 64 options, or six bits. Neither the compilers of the “Book of Changes” nor Leibniz himself measured information, yet their way of writing a choice between two in several digits is the same as the bit’s. The bit became a measure of information only two hundred and forty-five years later, with Shannon.
Catalogue of quantities
the whole index →The seven SI base units
A drop of acid changes the colour of the juice, salt colours the flame, water freezes at a tap. Below them are all Simetrium sheets, by discipline and alphabetically.
Open the index →





