Counting in Binary
Each place value doubles as you move left: 1, 2, 4, 8, 16…
Decimal | Binary |
---|---|
0 | 0000 |
1 | 0001 |
2 | 0010 |
3 | 0011 |
4 | 0100 |
5 | 0101 |
6 | 0110 |
7 | 0111 |
8 | 1000 |
Binary is the base-2 number system, using only 0s and 1s. It underpins all computer systems.
Each place value doubles as you move left: 1, 2, 4, 8, 16…
Decimal | Binary |
---|---|
0 | 0000 |
1 | 0001 |
2 | 0010 |
3 | 0011 |
4 | 0100 |
5 | 0101 |
6 | 0110 |
7 | 0111 |
8 | 1000 |
Binary represents two states (on/off, high/low voltage) that match the physical nature of electronic circuits. Every number, text character, or image in a computer is ultimately stored as binary.
You can convert between decimal and binary by repeatedly dividing by 2 (for decimal → binary) or multiplying powers of 2 (for binary → decimal).