Octal to Hex converter


8
16
10

Hex to Octal converter ►


How to convert octal to hex

Convert every octal digit to 3 binary digits, with this table:

Octal Binary
0 000
1 001
2 010
3 011
4 100
5 101
6 110
7 111

Then convert every 4 binary digits from bit0 to 1 hex digit, with this table:

Binary Hex
0000 0
0001 1
0010 2
0011 3
0100 4
0101 5
0110 6
0111 7
1000 8
1001 9
1010 A
1011 B
1100 C
1101 D
1110 E
1111 F

Example

Convert octal 1548 to hex:

Convert every octal digit to 3 binary digits:

1548 = 001 101 100 = 0011011002

Then convert every 4 binary digits to 1 hex digit:

0011011002 = 0110 1100 = 6C16


Hex to Octal converter ►

 


See also

NUMBER CONVERSION
CONTACT