Octal to Hex Converter
Convert octal to hexadecimal instantly — type on the left and the result appears on the right. Everything runs in your browser, nothing is uploaded.
How to convert octal to hex
Octal and hex do not map digit-for-digit, so convert through binary: expand each octal digit to 3 bits, then regroup the bits into fours for hex.
Method: convert through binary, because 8 and 16 are both powers of 2.
- Expand octal to binaryReplace each octal digit with its three bits.
- Regroup into foursRe-slice the bits into groups of four from the right, padding if needed.
- Read as hexTurn each 4-bit group into a hex digit from 0 to F.
Examples 32 = 1A377 = FF
Octal to Hex Table
Common octal values with their hexadecimal equivalents.
| Octal | Hexadecimal |
|---|---|
| 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 |
| 24 | 14 |
| 40 | 20 |
| 62 | 32 |
| 100 | 40 |
| 144 | 64 |
| 200 | 80 |
| 377 | FF |
| 400 | 100 |
| 1000 | 200 |
| 1750 | 3E8 |
Related conversions
Frequently asked questions
How do you convert octal to hex?
Turn each octal digit into three bits, join them, regroup into fours from the right, then read as hex. 37 = 011 111 = 0001 1111 = 1F.
What is 377 in hex?
Octal 377, which is 255, is FF in hex.
Why go through binary?
Because 8 is 2³ and 16 is 2⁴, binary is the common ground that lets you regroup the bits cleanly.