Binary/Octal/Decimal/hexadecimal converter

Convert Octal to Hexadecimal.

Octal → Hexadecimal
Before conversion:

How to use Base Converter

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

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

The calculation method for conversion is also displayed.

Numerical input range

Octal:0–7

Conversion by base number

How to convert from Octal to Hexadecimal

Method of calculation

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

  • 1. Separates an octal number into 3-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 4-digit units and convert it to hexadecimal.
  • 4. The value of the converted numbers is the result of converting the original octal number to hexadecimal number.

Calculation example

Example: Convert Octal "2307" to Hexadecimal

Separate 2307 into digits.

"2307" → "2 3 0 7"

Convert each digit to binary.

Octal
2 010
3 011
0 000
7 111

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

Convert this binary number "10011000111" to hexadecimal number.

Separate 10011000111 into every 4 digits and add 0 if there are not enough.

"10011000111" → "0100 1100 0111"

Convert each digit to hexadecimal.

BinaryConvert to Hexadecimal
0100 22 = 4
1100 23 + 22 = 12
0111 22 + 21 + 20 = 7

If this is 10 or more, replace it with A to F and arrange it as 4C7.

Therefore, converting the binary number "10011000111" to hexadecimal number becomes "4C7".

Table of octal and 3-digit binary numbers

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

Base ConverterBase Converter

CalculatorSimple Calculator

Save results in a temporary