Reading about binary-to-decimal conversion is one thing; actually converting a handful of numbers yourself is what makes the place-value method stick, so here are several worked examples ranging from simple to slightly trickier.
A Quick Recap of the Method
Every binary digit represents a power of two based on its position, counting from the right: 1, 2, 4, 8, 16, 32, 64, 128, and so on. To convert binary to decimal, add up the place values everywhere there’s a 1 and ignore the positions with a 0.
Example 1: 00000101
Reading right to left, there’s a 1 in the 4s place and a 1 in the 1s place, with 0s everywhere else. Adding 4+1 gives 5.
Example 2: 00010000
Only one 1 appears, in the 16s place. The answer is simply 16.
Example 3: 01011010
1s appear in the 64s, 16s, 8s, and 2s places. Adding 64+16+8+2 gives 90.
Example 4: 11111111
Every position has a 1, so every place value gets added: 128+64+32+16+8+4+2+1, which totals 255 — the largest number a single byte can represent.
Example 5: 00100100
1s appear in the 32s and 4s places. Adding 32+4 gives 36.
Common Mistakes to Watch For
The most frequent error is misreading which end of the binary number is the “ones” place — place values start from the rightmost digit, not the leftmost, so reading a number backward silently produces a completely different, often much larger, incorrect answer. Miscounting digits when the binary number is long is the second most common mistake, which is why lining up each digit under its power of two on paper helps avoid slips.
Bonus: Decimal to Binary Practice
The reverse process — converting decimal to binary — uses the same place values in reverse: repeatedly find the largest power of two that fits into the remaining number, mark that position with a 1, subtract it, and continue with what’s left. Converting 100, for example: 64 fits (mark 1, remainder 36), 32 fits (mark 1, remainder 4), 16 and 8 don’t fit (mark 0 for both), 4 fits (mark 1, remainder 0), and 2 and 1 don’t fit (mark 0 for both) — giving 01100100.
Six More Examples to Try
Convert each number to decimal before checking the answers below.
000011110011001101111111101010101111000001010101
Answers: 15, 51, 127, 170, 240, 85.
Tips for the Trickier Ones
01111111is one less than 128, because it has every 1 except the leftmost. Answer: 127.10101010alternates 1 and 0. The 1s sit under 128, 32, 8 and 2, giving 170.11110000has four 1s in the top half, which together equal 240.
Decimal to Binary Practice
Now try the other direction. Write each number as an 8-digit binary value.
- 18
- 50
- 77
- 129
- 200
Answers: 18 = 00010010, 50 = 00110010, 77 = 01001101, 129 = 10000001, 200 = 11001000.
Short Numbers and Long Numbers
Not every binary number is 8 digits long. A 4-digit number such as 1011 equals 8 + 2 + 1 = 11. A 12-digit number just continues the place values beyond 128: 256, 512, 1024 and 2048. The method does not change.
A Five-Minute Practice Routine
- Pick five random 8-digit binary numbers.
- Convert each one on paper.
- Check them with a tool and mark the ones you missed.
- Repeat the missed ones the next day.
Before you start, you can review the powers of two in binary to decimal explained.
Check Your Own Answers
Our binary translator can convert any binary number back to check your work, and our step-by-step guide on how to read binary covers the full method in more depth if any of these examples felt rushed.
