What is binary? Many people think that our counting system is based on 10s because we have ten fingers, and use them to count. Computers don't have fingers - they have electrical circuits, and electrical circuits have two states - *on* or *off*. Computers, therefore, use a number system based on twos, called *binary*.

In many ways, they are the same. In a number system based on **ten**s, each column heading (units, tens, hundreds, etc.) is **ten** times the value of the column heading to its right, and you can use one of **ten** values (1-9 and 0) in each position. In a number system based on **two**s, each column heading is **two** times the one to its right, and you can use one of **two** values in each position.

Here you can see a binary number with the column headings added. After the equals sign is the number as we'd normally write it.

# Binary adding machine

You can click each digit to toggle it between 0 and 1. If you change the binary number so that it reads 00001010, that means that you want one 8 and one 2, so the value of 00001010 is 10. It's as simple as that!

Click to investigate. Can you make 100? Is there only one pattern of 0s and 1s that make each number? A sequence of eight bits (0s or 1s), like the one shown above, is called a *byte*. What is the maximum number that a byte can store? If you used your 10 fingers to count in binary, you could actually count up to 1023!

*created by https://www.advanced-ict.info/interactive/binary.html*