Numbers / base 16 → base 8
Convert Hexadecimal to Octal
Convert signed integers between binary, octal, decimal, and hexadecimal. Convert Hexadecimal (base 16) to Octal (base 8). Find the formula, worked examples, unit definitions, and practical guidance below.
Reverse: Octal to Hexadecimal →
How to convert hexadecimal to octal
Arbitrary-precision integers preserve all digits within the 4096-character input limit. Fractions, exponent notation, prefixes such as 0x, and two’s-complement bit patterns are not accepted. Negative integers keep a minus sign.
Worked examples
Read each digit as a coefficient of a power of 16, then express the integer using powers of 8. Repeated division by 8 yields the target digits from right to left.
- 2A (base 16) = 52 (base 8)
- FF (base 16) = 377 (base 8)
About Hexadecimal
Hexadecimal uses base 16. Its place values are powers of 16; the same integer is represented by a different sequence of digits in another base.
About Octal
Octal uses base 8. Its place values are powers of 8; the same integer is represented by a different sequence of digits in another base.
Definitions and sources
For a different quantity or formatting task, see the related other conversion tools.
Browse every numbers conversion →