Convert octal (base 8) numbers to hexadecimal (base 16) instantly, with digit validation, a worked place-value example and a reference table.
Step 1 — value: expand the octal number by place values to get its decimal value. Step 2 — re-base: divide that value by 16 again and again, collecting remainders, and read them in reverse.
Step 1: 7×82 = 448 + 5×81 = 40 + 5×80 = 5 → total 493 (decimal). 755 is the famous Unix permission for rwxr-xr-x.
Step 2: 493 written in base 16 is 1ED.
Result: 755 (octal) = 1ED (hexadecimal).
Octal groups binary digits in threes. It survives in Unix file permissions — chmod 755 is octal (rwxr-xr-x).
Hexadecimal groups binary digits in fours and is everywhere in computing: colours (#FF5733), MAC addresses, memory addresses and hex editors.
| 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 |
| 40 | 20 |
| 100 | 40 |
| 144 | 64 |
| 200 | 80 |
| 377 | FF |
| 400 | 100 |
| 1750 | 3E8 |
First find the decimal value using place values (each digit is worth its face value times the base raised to its position), then divide by 16 repeatedly, reading the remainders upwards. The worked example on this page shows both steps for 755.
755 in octal is 1ED in hexadecimal. 755 is the famous Unix permission for rwxr-xr-x.
Only these 8: 01234567. Any other digit makes the number invalid in this base, and the converter above will tell you.
Octal groups binary digits in threes. It survives in Unix file permissions — chmod 755 is octal (rwxr-xr-x).
Use the hexadecimal to octal converter — the process is the same, in the other direction.
Add this calculator to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the calculator to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.