Convert Base 4 to Base 5

Convert Base 4 (base 4) to Base 5 (base 5) instantly and accurately.

Selected Base 4 (base 4) - available characters: 0, 1, 2, 3

Base 4 (base 4)
Base 5 (base 5)

Conversion Formula

Step-by-step example using the value 42 (decimal):

Convert Base 4 (base 4) → Base 5 (base 5)

Step 1: Expand each digit of 222 (base 4) by position:

        2 × 4^2 = 32
        2 × 4^1 =  8
        2 × 4^0 =  2
        ────────────
        Sum = 42 (decimal)

Step 2: Divide 42 by 5 repeatedly (read remainders upward):

        42 ÷ 5 = 8  r 2
         8 ÷ 5 = 1  r 3
         1 ÷ 5 = 0  r 1
        Read remainders upward: 132

────────────────────────────
Result:  222 (base 4) = 132 (base 5)

About Base 4

Quaternary (base 4) uses digits 0-3. Each position is a power of 4: 4⁰=1, 4¹=4, 4²=16. Because 4 = 2², each quaternary digit maps to exactly 2 bits (0=00, 1=01, 2=10, 3=11). Used in bioinformatics to encode DNA nucleotides (A, C, G, T = 0-3), storing the human genome (3.2 Gbp) in ≈750 MB. 4-QAM encodes exactly 2 bits per symbol. Conversion: decimal 42 = 2×16+2×4+2 = 222₄.

About Base 5

Quinary (base 5) uses digits 0-4. Each position is a power of 5: 5⁰=1, 5¹=5, 5²=25. One of the most historically widespread alternative bases, reflecting one-hand finger counting - Proto-Indo-European *penkwe = 'five/fist'. Tally marks group strokes in fives. Babylonian sexagesimal (base 60) used a 5×12 sub-structure. Fibonacci numbers mod 5 have Pisano period 20. Conversion: decimal 42 = 1×25+3×5+2 = 132₅.

Quick Reference Table

Base 4 (base 4)Base 5 (base 5)
11
22
1110
2013
2220
3330
10031
222132
1000224
1210400
33332010

→ Full Number Base Converter