Hexadecimal to Quaternary Converter

Convert Hexadecimal (Base 16) to Quaternary (Base 4) with step-by-step solution.

Valid digits: 0123456789ABCDEF
255 (Base 16) = 21111 (Base 4)
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 Quaternary:

Divide by 4, collect remainders:

StepDividend÷ 4QuotientRemainderDigit
1597÷ 414911
2149÷ 43711
337÷ 4911
49÷ 4211
52÷ 4022
Read bottom to top: 21111
3Result:
255 (Base 16) = 21111 (Base 4)

Conversion Table

DecimalHexadecimalQuaternary
000
111
222
333
4410
5511
6612
7713
8820
9921
10A22
15F33
1610100
2014110
3220200

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 Quaternary

To convert from Hexadecimal (base 16) to Quaternary (base 4), first convert to decimal, then convert from decimal to Quaternary.

About Hexadecimal

Used in programming and colors. Uses digits: 0123456789ABCDEF

About Quaternary

Used in DNA encoding. Uses digits: 0123