Skip to content
UnitChart

Convert hex to octal

Hexadecimal (base 16) to octal (base 8). Type a value below, or use the reference table further down.

FF (hexadecimal) = 377 (octal)

Multiply each digit by 16 raised to its position, counting from zero on the right, then add the results. FF comes to 255 in decimal, which is 377 in octal.

How to convert hex to octal

Multiply each digit by 16 raised to its position, counting from zero on the right, then add the results. FF comes to 255 in decimal, which is 377 in octal.

Conversions here use arbitrary-precision integers, so values beyond 64 bits convert exactly rather than being rounded.

hex to octal conversion table

Use this hex to octal chart for quick reference.

hexadecimal to octal conversion table
Hexadecimal (base 16)Octal (base 8)
00
11
22
33
44
55
66
77
810
911
A12
B13
C14
D15
E16
F17
1020
2040
40100
64144
7F177
80200
FF377
100400
2001000
3E81750
3FF1777
4002000
FFF7777
100010000
FFFF177777
10000200000

What is hexadecimal?

Hexadecimal is base 16, using 0 to 9 then A to F for the values ten to fifteen. One hex digit encodes exactly four bits, so a byte is always two hex digits — which is why colours, memory addresses and hashes are written in hex.

What is octal?

Octal is base 8, using the digits 0 to 7. One octal digit encodes exactly three bits, which is why Unix file permissions are written as octal numbers such as 755.

Frequently asked questions

How do you convert hexadecimal to octal?

Multiply each digit by 16 raised to its position, counting from zero on the right, then add the results. FF comes to 255 in decimal, which is 377 in octal.

What is FF hexadecimal in octal?

FF in hexadecimal is 377 in octal. In plain decimal that value is 255.

What digits does hexadecimal use?

Hexadecimal is base 16 and uses 0-9 and A-F. Hexadecimal is base 16, using 0 to 9 then A to F for the values ten to fifteen. One hex digit encodes exactly four bits, so a byte is always two hex digits — which is why colours, memory addresses and hashes are written in hex.

Other base conversions