Binary/Octal/Decimal/hexadecimal converter

Convert Hexadecimal to Octal.

Hexadecimal → Octal
Before conversion:

How to use Base Converter

Enter the Hexadecimal value you want to convert and click the "Convert" button.

The input value will be calculated and the converted result will be displayed in Octal.

The calculation method for conversion is also displayed.

Numerical input range

Hexadecimal:0–9,A–F

Conversion by base number

How to convert from Hexadecimal to Octal

Method of calculation

To convert from hexadecimal to octal, first convert the hexadecimal to binary and then convert it to octal.

  • 1. Separates a hexadecimal number into 4-digit binary numbers.
  • 2. The value obtained by arranging the numbers that appear will be the result of converting them into binary numbers.
  • 3. Separate this binary number into 3-digit units and convert it to octal.
  • 4. The value of the converted numbers is the result of converting the original hexadecimal number to octal number.

Calculation example

Example: Convert Hexadecimal "3C8" to Octal

Separate 3C8 into digits.

"3C8" → "3 C 8"

Convert each digit to binary.

HexadecimalConvert to DecimalConvert to Binary
3 3 0011
C 12 1100
8 8 1000

Arrange this and remove the unnecessary 0 on the left to get 1111001000.

Convert this binary number "1111001000" to octal number.

Separate 1111001000 into three digits and add 0 if there are not enough.

"1111001000" → "001 111 001 000"

Convert each digit to octal.

BinaryConvert to Octal
001 20 = 1
111 22 + 21 + 20 = 7
001 20 = 1
000 0

If you line them up, it becomes 1710.

Therefore, converting the binary number "1111001000" to octal number becomes "1710".

Hexadecimal and 4-digit binary table

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

Base ConverterBase Converter

CalculatorSimple Calculator

Save results in a temporary