BinaryConverter

Octal to Hex Converter

Convert octal to hexadecimal instantly — type on the left and the result appears on the right. Everything runs in your browser, nothing is uploaded.

How to convert octal to hex

Octal and hex do not map digit-for-digit, so convert through binary: expand each octal digit to 3 bits, then regroup the bits into fours for hex.

Method: convert through binary, because 8 and 16 are both powers of 2.

  1. Expand octal to binaryReplace each octal digit with its three bits.
  2. Regroup into foursRe-slice the bits into groups of four from the right, padding if needed.
  3. Read as hexTurn each 4-bit group into a hex digit from 0 to F.

Examples 32 = 1A377 = FF

Octal to Hex Table

Common octal values with their hexadecimal equivalents.

Octal to Hex conversion table
OctalHexadecimal
00
11
22
33
44
55
66
77
108
119
12A
13B
14C
15D
16E
17F
2010
2414
4020
6232
10040
14464
20080
377FF
400100
1000200
17503E8

Frequently asked questions

How do you convert octal to hex?

Turn each octal digit into three bits, join them, regroup into fours from the right, then read as hex. 37 = 011 111 = 0001 1111 = 1F.

What is 377 in hex?

Octal 377, which is 255, is FF in hex.

Why go through binary?

Because 8 is 2³ and 16 is 2⁴, binary is the common ground that lets you regroup the bits cleanly.