Converting binary to decimal = bit of fun for the GCHG Christmas quiz
Published 14 December 2023
Binary to decimal
The binary system is base two and has just two symbols, 0 and 1. The first eight binary place values are:
128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
To convert binary to decimal, simply take each place value that has a 1, and add them together.
Example - binary number 1111100
128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 |
Result - (0 × 128) + (1 × 64) + (1 × 32) + (1 × 16) + (1 × 8) +
(1 × 4) + (0 × 2) + (0 × 1) = 124