Why do computers use binary? The short answer is that two states, on and off, are cheap and reliable to build with switches and voltage. A circuit does not need to judge ten distinct voltage levels; it just needs to tell high from low.
Decimal sounds friendlier to us, but inside a chip it is a liability. Ten voltage bands would blur together thanks to noise, heat and manufacturing variation. Two bands sit far apart, so a circuit can be sloppy and still get the right answer. Reliability beats elegance.
Why not decimal or something simpler?
People usually mean one of two things here: why not base 10, and why not just one state? Base 10 fails for the reason above. A single state fails because it can only ever say one thing. With two states you get combinations, and combinations are where the magic happens. Two switches give you four patterns, three give you eight, and eight switches give you 256, which is exactly one byte.
How do two states add up to everything?
Chain enough switches together and those on/off states encode anything: numbers, letters, images, a song. The binary digits pile up into bytes, then into the data that flows through the networks we use every day. When your phone grabs a signal from a router, it is really just reading a long stream of high and low, the same idea behind how WiFi works.
What does binary actually look like?
Counting in binary is just counting in twos. Here is the first stretch next to the numbers you know:
| Decimal | Binary |
|---|---|
| 0 | 0 |
| 1 | 1 |
| 2 | 10 |
| 3 | 11 |
| 4 | 100 |
| 5 | 101 |
Notice there is no digit 2. Each place is worth double the one to its right, so 101 means 4 plus 0 plus 1, which is 5. Once you see that pattern, binary stops looking like code and starts looking like a really stripped-down abacus.
Why is binary so easy to trust?
Because a switch only has to answer one question: is the voltage closer to high or low? A tiny bit of drift does not flip the answer. That margin is why your laptop can run hot, your cables can be cheap, and a file can still arrive intact. It is also why error checking exists: when a bit does flip, parity and checksums catch it. Your device also carries an address so that stream finds you, which you can check with what your IP is. None of it would run without those two humble states.
One delightful footnote: the idea of storing programs as numbers traces back to John von Neumann’s work in the 1940s, and it is why a computer can treat a photo, a spreadsheet and a virus as the same kind of thing. Two states, endless combinations.
Keep reading: More quick answers · How Do Computers Work? · Why Are Computers Important?
