Octal to Hexadecimal Converter

Type a octal number to see it in hexadecimal. Below: how the conversion works, a worked example and a conversion table.

377 octal = FF hexadecimal

How to convert octal to hexadecimal

Go through decimal: first multiply each digit by 8 raised to the power of its position (counting from 0 on the right) and add the results; then divide the number by 16 again and again and write down the remainders; read in reverse order, the remainders are the hexadecimal digits.

Example: 377 to hexadecimal

Step 1: Octal to decimal

Multiply each digit by 8 to the power of its position (0 on the right), then add:

DigitPlace valueDigit × place
382 = 64192
781 = 856
780 = 17

192 + 56 + 7 = 255

Step 2: Decimal to hexadecimal

Divide by 16 repeatedly and keep the remainders. Reading the remainders from the last one to the first gives the hexadecimal digits:

DivisionQuotientRemainder (digit)
255 ÷ 1615F (15)
15 ÷ 160F (15)

Result: 255 = FF in hexadecimal.

Octal to Hexadecimal table

OctalHexadecimal
0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
10 8
11 9
12 A
13 B
14 C
15 D
16 E
17 F
20 10
21 11
22 12
23 13
24 14
25 15
26 16
27 17
30 18
31 19
32 1A
33 1B
34 1C
35 1D
36 1E
37 1F

Reverse conversion

Frequently asked questions

How do you convert octal to hexadecimal?

Go through decimal: first multiply each digit by 8 raised to the power of its position (counting from 0 on the right) and add the results; then divide the number by 16 again and again and write down the remainders; read in reverse order, the remainders are the hexadecimal digits.

What is 377 in hexadecimal?

377 in octal is FF in hexadecimal.