Octal to Hexadecimal Converter

What is Octal?

Octal is a base-8 numeral system, using digits from 0 to 7. It is sometimes used in computing as a more compact form of binary data.

What is Hexadecimal?

Hexadecimal is a base-16 numeral system, using digits from 0 to 9 and letters A to F. It is commonly used in computing to represent large binary values in a more compact form.

How to Convert Octal to Hexadecimal?

To convert an octal number to hexadecimal, follow these steps:

First, convert the octal number to binary. Then, group the binary number into groups of four digits (starting from the right). Convert each group into a hexadecimal digit.

The process looks like this:

1. Convert the octal number to binary. 2. Group the binary number in sets of four. 3. Convert each group of four binary digits into a hexadecimal digit.

Example

Convert 13 (octal) to hexadecimal:

First, convert 13 (octal) to binary: 13 (octal) = 001 011 (binary).

Then, group the binary into sets of four: 001 011 becomes 0001 1011.

Finally, convert each group to hexadecimal: 0001 = 1 and 1011 = B.

Thus, 13 (octal) = 1B (hexadecimal).

Octal to Hexadecimal Conversion Table

Octal Number Hexadecimal Number
00
11
22
33
44
55
66
77
108
119
12A
13B
14C
15D
16E
17F
2010
3018
4020
5028
6030
7038
10040
20080
300C0
400100
500140
600180

Related Conversion Tools