Octal is a base 8 numbering system, in which each digit of an octal number has 8 possible values, 0-7. Octal is useful in computers when representing values that fill three bit multiples. For example, Unix file permissions use octal numbering, because the actual binary data that represents file permissions are twelve bits long.
Should you find yourself needing to convert from the less common octal form to its hexadecimal equivalent, convert the octal number to binary, and then simply convert from the binary number to get a hexadecimal one. Use the table below to help you do this.
Converting 723518
to hexadecimal:
723518 = 1110100111010012
1110100111010012 = 74e916
Thus, 723518 = 74e916
Oct | 3-bit Binary | 4-bit Binary | Hex | 4-bit Binary | Hex | ||
---|---|---|---|---|---|---|---|
0 | 000 | 0000 | 0 | 1000 | 8 | ||
1 | 001 | 0001 | 1 | 1001 | 9 | ||
2 | 010 | 0010 | 2 | 1010 | A | ||
3 | 011 | 0011 | 3 | 1011 | B | ||
4 | 100 | 0100 | 4 | 1100 | C | ||
5 | 101 | 0101 | 5 | 1101 | D | ||
6 | 110 | 0110 | 6 | 1110 | E | ||
7 | 111 | 0111 | 7 | 1111 | F |