show it all at once
The table above shows how numbers in different representations relate to each other.
To find out decimal equivalent of a number in a different representation do the following:
- Find out the base of the number is. (2 for binary, 8 for octal, 16 for hexadecimal ...)
- Sum up the following:
- First digit (Right most digit)
- Second digit * the base
- Third digit * base^2
- Fourth digit * base^3
- Fifth digit * base^4
- and so on.
- The resulting sum is the decimal equivalent
- Note: the symbol ^ means "to the power of".
Each octal digit corresponds to three binary digits.
Each hexadecimal digit corresponds to four binary digits.
Return to the main page