Hexadecimal to Octal Converter

Convert Hexadecimal (Base 16) to Octal (Base 8) with step-by-step solution.

Valid digits: 0123456789ABCDEF
255 (Base 16) = 1125 (Base 8)
Step-by-Step Solution
1Convert Hexadecimal to Decimal:

Each digit × 16^position:

DigitValuePositionCalculationResult
2222 × 16^2512
5515 × 16^180
5505 × 16^05
Sum: 512 + 80 + 5 = 597
2Convert Decimal to Octal:

Divide by 8, collect remainders:

StepDividend÷ 8QuotientRemainderDigit
1597÷ 87455
274÷ 8922
39÷ 8111
41÷ 8011
Read bottom to top: 1125
3Result:
255 (Base 16) = 1125 (Base 8)

Conversion Table

DecimalHexadecimalOctal
000
111
222
333
444
555
666
777
8810
9911
10A12
15F17
161020
201424
322040

255 (Base 16) in All Bases

Number SystemBaseValue
Binary21001010101
Octal81125
Decimal10597
Ternary3211010
Quaternary421111
Quinary54342
Senary62433
Septenary71512
Duodecimal12419
Vigesimal2019H
Duotrigesimal32IL
Hexatrigesimal36GL

Popular Conversions

How to Convert Hexadecimal to Octal

To convert from Hexadecimal (base 16) to Octal (base 8), first convert to decimal, then convert from decimal to Octal.

About Hexadecimal

Used in programming and colors. Uses digits: 0123456789ABCDEF

About Octal

Used in Unix file permissions. Uses digits: 01234567