About this tool
Octal (base 8) uses digits 0–7. Each octal digit maps to exactly three bits, which is why Unix file permissions such as 755 are written in octal. Hexadecimal (base 16) uses 0–9 and A–F. Each hex digit is exactly four bits, so hex is a compact way to write bytes, memory addresses and colours. This converter handles numbers of any length using big-integer arithmetic, plus fractional parts.
How to use the Octal to Hexadecimal Converter
- Enter the octal number.
- The result updates instantly, with the working shown underneath.
- Use Copy to grab a result, or Reset to start again.
How it works
The simplest route is through binary: expand each octal digit into bits, then regroup the bits for hexadecimal.
Formula
Frequently asked questions
What is 755 in hexadecimal?
755 (octal) = 1ED (hexadecimal).
Can I convert negative numbers?
Yes — a leading minus sign is kept. For two’s-complement bit patterns, convert the raw bits instead.