Octal to Hexadecimal Converter

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

Valid digits: 01234567
255 (Base 8) = AD (Base 16)
Step-by-Step Solution
1Convert Octal to Decimal:

Each digit × 8^position:

DigitValuePositionCalculationResult
2222 × 8^2128
5515 × 8^140
5505 × 8^05
Sum: 128 + 40 + 5 = 173
2Convert Decimal to Hexadecimal:

Divide by 16, collect remainders:

StepDividend÷ 16QuotientRemainderDigit
1173÷ 161013D
210÷ 16010A
Read bottom to top: AD
3Result:
255 (Base 8) = AD (Base 16)

Conversion Table

DecimalOctalHexadecimal
000
111
222
333
444
555
666
777
8108
9119
1012A
1517F
162010
202414
324020

255 (Base 8) in All Bases

Number SystemBaseValue
Binary210101101
Decimal10173
Hexadecimal16AD
Ternary320102
Quaternary42231
Quinary51143
Senary6445
Septenary7335
Duodecimal12125
Vigesimal208D
Duotrigesimal325D
Hexatrigesimal364T

Popular Conversions

How to Convert Octal to Hexadecimal

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

About Octal

Used in Unix file permissions. Uses digits: 01234567

About Hexadecimal

Used in programming and colors. Uses digits: 0123456789ABCDEF