chmod 755 permission
Octal 755 converts to hex 1ED, since 755 octal equals 493 in decimal.
Convert octal to hexadecimal instantly — free online octal to hex number converter.
About
Octal and hex describe the same bits in two different groupings, so converting octal to hex mostly comes up when older base-8 notation — a legacy permission code or escape sequence — needs to be lined up against the hex form used everywhere else in modern code.
Going from octal to hex means regrouping the same bits from threes into fours. Octal 377 is 011 111 111; drop the leading zero and regroup from the right as 1111 1111, and you get FF — the largest value one byte can hold. That's why the escape \377 in a C or shell string is the same byte a hex editor shows as FF.
Examples
4 worked examples
Octal 755 converts to hex 1ED, since 755 octal equals 493 in decimal.
Octal 17 converts to hex F, since 17 octal equals 15 in decimal.
Octal 100 converts to hex 40, since 100 octal equals 64 in decimal.
644 converts to 1A4 in hex.
FAQ
Quick answers to common questions about the Octal to Hexadecimal Converter.
Type your octal value above, with octal selected as the input base. The hex value appears instantly in the results table — nothing is uploaded anywhere.
There's no direct digit-for-digit shortcut between octal and hex, since 8 and 16 don't group the same bits evenly — expand the octal to binary first, then regroup the binary into 4-bit chunks to read off the hex digits.
Octal digits map cleanly to groups of 3 bits and hex digits to groups of 4 bits, but 3 and 4 don't share a common grouping — so converting between them means going through binary (or decimal) as a middle step.
Yes. It's free, with no sign-up and no limit on how many numbers you convert.
Yes — the same converter works in both directions. Select hexadecimal as the input base instead, or use the dedicated hex to octal converter page.
Up to 9,007,199,254,740,991 in decimal terms — beyond that the conversion won't be exact, and the tool will tell you so.
Yes. The 0o is stripped before converting, so 0o777 and 777 both give 1FF.
1A4. Octal 644 is 420 in decimal, which is 1A4 in hexadecimal.
Octal has only the digits 0 to 7. A value containing 8 or 9 isn't octal, so the tool asks you to check the input instead of converting it.
Did Octal to Hexadecimal Converter work for you?