Hexadecimal to Octal Converter
Convert hexadecimal numbers to octal. Hexadecimal values are converted to octal when a tool or document still expresses bit patterns three bits at a time.
Hexadecimal to Octal converter
Result
- Binary
- —
- Octal
- —
- Decimal
- —
- Hexadecimal
- —
How to convert hexadecimal to octal
Replace each hexadecimal digit with its 4 bits, join all the bits, then split them into groups of 3 from the right and replace each group with its octal digit.
Example: 9C (hexadecimal) to octal
| Hexadecimal digit | 4-bit group |
|---|---|
| 9 | 1001 |
| C | 1100 |
| 3-bit group | Octal digit |
|---|---|
| 010 | 2 |
| 011 | 3 |
| 100 | 4 |
9C in hexadecimal = 234 in octal.
Examples
- A (hexadecimal) = 12 (octal)
- 9C (hexadecimal) = 234 (octal)
- FF (hexadecimal) = 377 (octal)
- 3E8 (hexadecimal) = 1750 (octal)
Hexadecimal to Octal conversion table
| Hexadecimal (base 16) | Octal (base 8) |
|---|---|
| 0 | 0 |
| 1 | 1 |
| 2 | 2 |
| 3 | 3 |
| 4 | 4 |
| 5 | 5 |
| 6 | 6 |
| 7 | 7 |
| 8 | 10 |
| 9 | 11 |
| A | 12 |
| B | 13 |
| C | 14 |
| D | 15 |
| E | 16 |
| F | 17 |
| 10 | 20 |
| 14 | 24 |
| 20 | 40 |
| 32 | 62 |
| 40 | 100 |
| 64 | 144 |
| 7F | 177 |
| 80 | 200 |
| FF | 377 |
| 100 | 400 |
| 200 | 1000 |
| 3E8 | 1750 |
| 400 | 2000 |
The table lists the same whole numbers for every pair of bases.
Frequently asked questions
- What is FF in octal?
- FF in hexadecimal is 377 in octal.
- How do I convert hexadecimal to octal by hand?
- Replace each hexadecimal digit with its 4 bits, join all the bits, then split them into groups of 3 from the right and replace each group with its octal digit.
- What digits does hexadecimal use?
- Hexadecimal uses the digits 0 to 9 and A to F. Hexadecimal writes bytes compactly: web colors (#FF8800), memory addresses, MAC addresses and character codes all use it.
- What is octal used for?
- Octal is best known from Unix file permissions: chmod 755 is three octal digits, one for owner, group and others.