Hexadecimal To Octal
Reverse Conversion
How This Converter Works
Converts an unsigned hexadecimal integer to an unpadded octal numeral.
Formula or rule
Remove whitespace and underscores, validate hexadecimal digits, parse as base 16, and format in base 8.
Example
- Input
- 1AF
- Calculation
- 1AF₁₆ = 431₁₀ = 6×64 + 5×8 + 7.
- Result
- 657