Skip to content
ForceConversion

Popular tools

Octal to Hexadecimal Converter

Convert octal numbers to hexadecimal. Octal and hexadecimal both group bits, so converting between them is a way to move between older octal listings and modern hex dumps.

Octal to Hexadecimal converter

Whole numbers. Spaces, underscores and the prefixes 0b, 0o and 0x are accepted.

Result

Binary
—
Octal
—
Decimal
—
Hexadecimal
—

How to convert octal to hexadecimal

Replace each octal digit with its 3 bits, join all the bits, then split them into groups of 4 from the right and replace each group with its hexadecimal digit.

Example: 234 (octal) to hexadecimal

Octal digits and their bits
Octal digit3-bit group
2010
3011
4100
Bits regrouped into hexadecimal digits
4-bit groupHexadecimal digit
10019
1100C

234 in octal = 9C in hexadecimal.

Examples

  • 12 (octal) = A (hexadecimal)
  • 234 (octal) = 9C (hexadecimal)
  • 377 (octal) = FF (hexadecimal)
  • 1750 (octal) = 3E8 (hexadecimal)

Octal to Hexadecimal conversion table

Octal to Hexadecimal
Octal (base 8)Hexadecimal (base 16)
00
11
22
33
44
55
66
77
108
119
12A
13B
14C
15D
16E
17F
2010
2414
4020
6232
10040
14464
1777F
20080
377FF
400100
1000200
17503E8
2000400

The table lists the same whole numbers for every pair of bases.

Frequently asked questions

What is 377 in hexadecimal?
377 in octal is FF in hexadecimal.
How do I convert octal to hexadecimal by hand?
Replace each octal digit with its 3 bits, join all the bits, then split them into groups of 4 from the right and replace each group with its hexadecimal digit.
What digits does octal use?
Octal uses the digits 0 to 7. Octal is best known from Unix file permissions: chmod 755 is three octal digits, one for owner, group and others.
What is hexadecimal used for?
Hexadecimal writes bytes compactly: web colors (#FF8800), memory addresses, MAC addresses and character codes all use it.