Octal to Hex Calculator

 

Octal to hexadecimal is converting a number is an octadecimal number system to an equivalent number in the hexdecimal number system. That is converting a number from base 8 to base 16. The conversion cannot be done directly.

How to convert Octal to Hex

We will convert octal to binary then binary to hex
Step 1 : Convert each octal digit to equivalent 3 binary digit
Step 2 : Pair the binary digits of group of four starting from right.
Step 3 : Convert grouped Binary digits to hex equivalent
For Example
Find the binary value of octal 354518
354518 = (011)(101)(100)(101)(001)
(011)(101)(100)(101)(001) = 11101100101001
Binary to Hex
11101100101001 = (11)(1011)(0010)(1001)
(11)(1011)(0010)(1001) = (0011)(1011)(0010)(1001) (0011)(1011)(0010)(1001) = 3B29

Octal digits: 35451
Binary : (011)(101)(100)(101)(001)
Binary group of 4 : (0011)(1011)(0010)(1001)
Hex Digits : 3B29

So Now arrange the hex Value in left to right it will be 3B29
Hence hex number of octal 0354518 is 0X3B29 16