
3FFE16 = 3 × 163 + 15 × 162 + 15 × 161 + 14 × 160
1.6 Converting Binary Numbers into Decimal
To convert a binary number into decimal, write the number as the sum of the powers of 2.
Example 1.1Convert binary number 10112 into decimal.
Solution 1.1Write the number as the sum of the powers of 2:
10112 = 1 × 23 + 0 × 22 + 1 × 21 + 1 × 20
= 8 + 0 + 2 = 1
= 11
or, 10112 = 1110
Example 1.2Convert binary number 110011102 into decimal.
Solution 1.2Write the number as the sum of the powers of 2:
110011102 = 1 × 27 + 1 × 26 + 0 × 25 + 0 × 24 + 1 × 23 + 1 × 22 + 1 × 21 + 0 × 20
= 128 + 64 + 0 + 0 + 8 + 4 + 2 + 0
= 206
or, 110011102 = 20610
Table 1.1 shows the decimal equivalent of numbers from 0 to 31.
Table 1.1: Decimal equivalent of binary numbers
| Binary | Decimal | Binary | Decimal |
|---|---|---|---|
| 00000000 | 0 | 00010000 | 16 |
| 00000001 | 1 | 00010001 |