Binary numbers from 0 to 15
| Decimal | Binary | Sum of place values |
|---|---|---|
| 0 | 0000 | 0 |
| 1 | 0001 | 1 |
| 2 | 0010 | 2 |
| 3 | 0011 | 2 + 1 |
| 4 | 0100 | 4 |
| 5 | 0101 | 4 + 1 |
| 6 | 0110 | 4 + 2 |
| 7 | 0111 | 4 + 2 + 1 |
| 8 | 1000 | 8 |
| 9 | 1001 | 8 + 1 |
| 10 | 1010 | 8 + 2 |
| 11 | 1011 | 8 + 2 + 1 |
| 12 | 1100 | 8 + 4 |
| 13 | 1101 | 8 + 4 + 1 |
| 14 | 1110 | 8 + 4 + 2 |
| 15 | 1111 | 8 + 4 + 2 + 1 |
Decimal and binary
Decimal numbers use ten digits, and every place is worth ten times the one to its right. Binary uses only 0 and 1, and every place is worth twice the one to its right: 1, 2, 4, 8, 16 and so on.
To write 13 in binary, take the largest place value that fits: 8, which leaves 5. Next, 4 fits, which leaves 1. The 2 does not fit, so that bit is 0. The 1 fits. Read the bits from left to right: 1101.
To go back, add up the place values of every 1: 1101 is 8 + 4 + 1 = 13.
Tips for faster solving
- Odd numbers always end in 1, even numbers in 0. Set the last bit first.
- The first bit is on when the number is at least its place value: 8 or more with four bits.
- Learn the powers of two by heart: 1, 2, 4, 8, 16, 32, 64, 128.
Questions
How do you convert a decimal number to binary?
Start with the largest place value that fits into the number and switch that bit on. Subtract it, then repeat with the remainder for the next smaller place values. Every place value you used is a 1, every one you skipped is a 0. For example, 13 = 8 + 4 + 1, so 13 in binary is 1101.
How do you convert binary to decimal?
Write the place values over the bits, from 1 on the right and doubling to the left. Add up the place values of every bit that is 1. For example, 1011 is 8 + 2 + 1 = 11.
What is the largest number n bits can show?
With n bits you can show numbers from 0 to 2ⁿ − 1. Four bits go up to 15, six bits to 63 and eight bits (one byte) to 255.
Why does the game have column targets as well?
The row targets alone decide the answer, because every number has exactly one binary form. The column targets read the same bits from top to bottom. One wrong bit breaks both its row and its column, so you find it where the two cross.
Can I use the Binary Game in class?
Yes. It is free, needs no account or installation and works on phones, tablets and projectors. Start with this page, then play with 4 bits and move up once the place values feel familiar.