Convert octal to hex
Octal (base 8) to hexadecimal (base 16). Type a value below, or use the reference table further down.
Multiply each digit by 8 raised to its position, counting from zero on the right, then add the results. 755 comes to 493 in decimal, which is 1ED in hexadecimal.
How to convert octal to hex
Multiply each digit by 8 raised to its position, counting from zero on the right, then add the results. 755 comes to 493 in decimal, which is 1ED in hexadecimal.
Conversions here use arbitrary-precision integers, so values beyond 64 bits convert exactly rather than being rounded.
octal to hex conversion table
Use this octal to hex chart for quick reference.
| Octal (base 8) | Hexadecimal (base 16) |
|---|---|
| 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 |
| 40 | 20 |
| 100 | 40 |
| 144 | 64 |
| 177 | 7F |
| 200 | 80 |
| 377 | FF |
| 400 | 100 |
| 1000 | 200 |
| 1750 | 3E8 |
| 1777 | 3FF |
| 2000 | 400 |
| 7777 | FFF |
| 10000 | 1000 |
| 177777 | FFFF |
| 200000 | 10000 |
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.
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.
Frequently asked questions
How do you convert octal to hexadecimal?
Multiply each digit by 8 raised to its position, counting from zero on the right, then add the results. 755 comes to 493 in decimal, which is 1ED in hexadecimal.
What is 755 octal in hexadecimal?
755 in octal is 1ED in hexadecimal. In plain decimal that value is 493.
What digits does octal use?
Octal is base 8 and uses 0-7. 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.