1012 = 5 — binary 101 equals decimal 5.
Each bit is multiplied by its place value (right to left: 1, 2, 4, 8, ...) and the results are added:
1 × 1 + 1 × 4 = 5
So binary 101 = decimal 5. You can verify any value with the binary to decimal converter.
| Binary | Decimal |
|---|---|
| 100 | 4 |
| 101 | 5 |
| 110 | 6 |
| 111 | 7 |
| 1000 | 8 |
| 1010 | 10 |
| 1101 | 13 |
| 1111 | 15 |
| 10000 | 16 |
| 11010 | 26 |
101 in binary equals <b>5</b> in decimal. Add the place values of every bit set to 1: 1 × 1 + 1 × 4 = 5.
Write the place values above each bit from right to left (1, 2, 4, 8, 16, ...), multiply each bit by its place value, then add all the results.
Yes — a binary number only uses the digits 0 and 1, and every digit in 101 is valid.