On and off is enough
How Do Computers Count With Only Two Digits?
Binary counts using only 0 and 1, because a switch can only ever be off or on.
-
Step 1 of 5
A switch has only two states to offer.
Electrically it is far easier to tell apart fully off and fully on than ten different voltage levels, so machines use just two.
-
Step 2 of 5
Our usual numbers use ten digits and place value.
In 372 the 3 is worth three hundreds, because each place to the left is worth ten times the one before it.
-
Step 3 of 5
Binary keeps place value but doubles instead.
Every place to the left is worth twice the one before, so the columns run one, two, four, eight, sixteen and onward.
-
Step 4 of 5
Adding up the on columns gives the number.
The pattern 1011 has the eight, the two and the one switched on, and those add to eleven. Reading binary is simply adding columns.
-
Step 5 of 5
More switches means bigger numbers, fast.
Each switch added doubles the range. Eight of them cover 0 to 255, which is why so many computer limits are suspiciously close to that.
Eight binary digits make one byte and cover 0 to 255, which is why colour values on a screen stop at 255.
The short version
Computers count in binary because a switch is only ever off or on, and place value that doubles each column can still write any number.
Try it yourself
Hold up fingers as binary columns worth 1, 2, 4, 8 and 16. One hand can then count all the way to 31.
Topics