| System | Base | Possible Digits |
|---|---|---|
| Binary | 2 | 0 1 |
| Octal | 8 | 0 1 2 3 4 5 6 7 |
| Decimal | 10 | 0 1 2 3 4 5 6 7 8 9 |
| Hexadecimal | 16 | 0 1 2 3 4 5 6 7 8 9 A B C D E F |
| Bit Value ( Dj ) | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
| Position Value ( Dj×2j ) | 128=27 | 64=26 | 32=25 | 16=24 | 8=23 | 4=22 | 2=21 | 1=20 |
| Bit Number ( j ) | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
n digits:
dec = (Dn-1×2n-1) + (Dn-2×2n-2) + … +(D1×21) + (D0×20)Each digit
Dj is multiplied by 2j . For example, the decimal equivalent of the binary number (11010)2 can be found from the multiplication of the digits by powers of 2: