Binary numbers
A way of writing numbers with only two digits, 0 and 1, where each place is worth twice the one to its right.
Binary numbers use base 2: only two digits, 0 and 1. In everyday decimal, each place is worth ten times the place to its right (ones, tens, hundreds). In binary, each place is worth twice as much: 1, 2, 4, 8, 16 and so on. So binary 101 means one 4, no 2s and one 1, which is 5, and 0 to 10 are written 0, 1, 10, 11, 100, 101, 110, 111, 1000, 1001, 1010.
An everyday example: five yes-or-no switches, worth 16, 8, 4, 2 and 1, can show any number from 0 to 31, which is 32 different values. Add a second set of five and you have 32 × 32 = 1,024 combinations. That is exactly how the Henry fingerprint system sorted prints in the 1890s.
Computers use binary because a device with two states, on or off, open or closed, can store a 0 or 1 reliably. A common misconception is that binary is a special 'computer language'; it is simply another way of writing ordinary numbers, and any number can be written in it.
See it in action
Coming up in future stories
- The Weights That Stayed Exact for 500 Years c. 2600–1900 BC · Harappa and Mohenjo-daro (Pakistan), Lothal and Dholavira (India)
