Hexadecimal to Octal Converter

Convert hexadecimal (base-16) numbers to octal (base-8). This converter handles the base conversion accurately for any hex input.

Common Values

InputOctal
f17
ff377
100400
100010000
ffff177777

How It Works

The easiest method is to convert hex → binary → octal. Expand each hex digit to 4 bits, then regroup into sets of 3 bits from the right for octal. Alternatively, convert hex to decimal first, then decimal to octal.

Worked Examples

HexadecimalOctal
f17
ff377
100400
100010000
ffff177777
1020
1f37
80200

Related Conversions

Frequently Asked Questions