SIMETRIUM .COM bit · ISO/IEC 80000-13
Shannon · 1948
EN|36 languages
Two meanings
“Bit” names both a binary digit and a measure of information. Eight memory cells always occupy eight bits, yet the information in them may be far less.
bit and B
A byte, B, consists of eight bits. So on a 100 Mbit/s tariff a file downloads not at 100 but at only 12.5 megabytes per second, and that is before protocol overhead.
The plate shows a plane of ferrite-core memory as it was built in the 1950s–70s. Each little ring stores one bit: magnetised clockwise means one, counter-clockwise means zero. A half-strength current is sent along one horizontal and one vertical wire; only their sum can flip a ring, so only the ring at the crossing turns over. At that moment a pulse appears in the diagonal sense wire; you can see it on the oscilloscope below.
Unit passport · computer science · information theory

Bit

bit · binary digit · 1 bit = 1 Sh · 1 nat ≈ 1.443 bit · 1 Hart ≈ 3.322 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.

What it is
binary digit and unit of the amount of information
Notation
bit; in compound units — kbit/s, Mbit/s; IEEE 1541 permits b
Standard
ISO/IEC 80000-13; for the amount of information it also gives the shannon, Sh, equal to the bit
Connections
1 B = 8 bit; 1 nat = 1/ln 2 ≈ 1.443 bit; 1 Hart = log₂10 ≈ 3.322 bit
Prefixes
kbit = 1000 bit; Kibit = 1024 bit
The price of erasing
at least kT·ln 2 ≈ 2.9·10⁻²¹ J at 300 K — the Landauer limit
To the lab The bit in the letters of different languages
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.

bitEng. binary digit
lat. bini · two by two+lat. digitus · finger→binary digit→bit
Latin bini means “two by two, in pairs”, and digitus means “finger”. Numbers up to ten have always been counted on the fingers, which is why digit came to mean a numeral. From binary digit the beginning and the end were taken — bi and t. In the 1940s other words, bigit and binit, were tried too, but the shortest one stuck.
informationlat. informatio
forma · shape→informare · to give shape→data
Latin informare meant “to give shape” and, figuratively, “to instruct, to form an idea”; informatio meant “explanation, concept”. Information really does give shape to ignorance: every answer cuts off part of what is possible, and the vague becomes more definite.
entropyGr. ἐντροπία
ἐν · in+τροπή · turning→Clausius, 1865→a measure of uncertainty
Rudolf Clausius coined this word for thermodynamics on the model of “energy”, giving it the sense of “transformation within”. Shannon gave the name to the average information per character, because his formula coincided, up to a factor, with the Boltzmann–Gibbs formula.
What it is called in other languages
比特 bǐtè — Chinese, written by sound; bit width is written with 位 wèi: 32位 — “32-bit”
ビット bitto — Japanese, in katakana, like all loanwords
بت bit — Arabic and Persian; binary is ثنائي
bit — Spanish, Portuguese, French; in French in full it is chiffre binaire
бит — Russian, Mongolian, Kazakh, Bulgarian
बिट — Hindi; 비트 — Korean
Sh
shannon — the name of the unit of the amount of information in ISO/IEC 80000-13; 1 Sh = 1 bit
nat
natural unit — the same measure with the natural logarithm
Hart
hartley, also ban and dit: one decimal digit, after Ralph Hartley
LSB · MSB
least / most significant bit — the lowest and highest digit of a number
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.

I — information of an event · p — probability · H — entropy, bits per character · N — number of equal alternatives · C — capacity per channel bit · k — Boltzmann constant · T — temperature
Interactive · how many bits in an event

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.

Reference · benchmark values
1 bita fair coin, one answer “yes” or “no” 1.443 bit1 nat: logarithm to base e 3.322 bit1 hartley: one decimal digit 0 bitan event that is certain to happen
Interactive · three experiments with the 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.

Options
Pick an option in your head and answer the question shown on the screen. You can also touch a cell — then the machine will do the answering.
Noise: share of flipped bits

Graph · questions
One by one versus halving
Average number of questions for N equally likely options. Going one by one takes about N/2 questions, halving only log₂N: a thousand options need just ten. The dots mark the chosen N, the ring shows how many questions have been asked.
options N, logarithmic scalequestions
Graph · noisy channel
How many errors remain
Share of wrong bits after the decoder at noise level p. Repetition spends three bits per useful one, the Hamming code seven per four. The dashed line marks the Shannon limit: the noise at which a channel bit can still carry 1/3 or 4/7 of a useful bit. The circles are the result of the experiment with your picture.
noise p, share of flipped bitserrors after the decoder
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.

0 and 1density
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.

unit
base
in bits
symbol
where it is used
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.

TARIFF
FILE
Download calculation

05 · Writing rules
Correct
100 Mbit/s or 100 megabits per second — speed
16 Kibit = 16 384 bit; 16 kbit = 16 000 bit
entropy 4.1 bit per character or 4.1 Sh
a 32-bit processor — a register of 32 bits
1 B = 8 bit, the byte is written with a capital letter
Incorrect
100 MB/s when the tariff is 100 Mbit/s
Kbit with a capital K for 1000 bits
bit per second and baud as the same thing
a file of 8 bits = a file of 8 bytes
“8 bits of information” about any 8 memory cells
06 · Neighbouring units
07 · Historical section
101100
hexagram · six lines
Note

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.

1 0 1 1 0 032+8+4446 bits · 64 options
the same figure as a number
Catalogue of quantities
the whole index →
the foundation · 7 units

The seven SI base units

on the topic of the sheet · information and signals
The index lab: a glass of cabbage juice, a burner, a glass of water on a cold plate and a gear train
Index · all quantities on one page
The lab at the entrance to the index

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 →
08 · Your language
every link is a real page in that locale

Read it in your own language

translated and checkeddraft translationqueued