Hexadecimal to Octal Converter

Convert hexadecimal system to octal system with this online converter.

How to convert Hexadecimal to Octal

Converting a hexadecimal number from hexadecimal system to octal system we need to apply two steps :

  • Convert the hexadecimal number to its binary equivalent.
  • Convert the binary number to octal.

Converting a hexadecimal number from Hexadecimal system to Binary system we need to convert four bit binary value corresponding for each digit of hexadecimal number.

HexadecimalBinary
00000
10001
20010
30011
40100
50101
60110
70111
81000
91001
A1010
B1011
C1100
D1101
E1110
F1111

Converting a binary number from Binary system to octal (base-8) system we need to groupping three digit sets from right to left of binary number.

If there are not enough digits for a set then fill the zeros to left side to three digits.

Get each group's octal equivalent.

BinaryOctal
0000
0011
0102
0113
1004
1015
1106
1117

Read the octal equivalent from left to right, which is the octal value of the binary number obtained in Step 1.

Let's see an example. Hexadecimal number is 1AC :

  • 1 corresponds to 0001 in binary
  • A corresponds to 1010 in binary
  • C corresponds to 1100 in binary
  • Group the binary digits into sets of three : 000 110 101 100
  • 000 corresponds to 0 in octal
  • 110 corresponds to 6 in octal
  • 101 corresponds to 5 in octal
  • 100 corresponds to 4 in octal
  • Concatenate the octal values from left to right : 0654

The hexadecimal number 1AC is equivalent to the octal number 0654.