Convert Base 5 to Hexadecimal

Convert Base 5 (base 5) to Hexadecimal (hex) instantly and accurately.

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

Base 5 (base 5)
Hexadecimal (hex)

Conversion Formula

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

Convert Base 5 (base 5) → Hexadecimal (base 16)

Step 1: Expand each digit of 132 (base 5) by position:

        1 × 5^2 = 25
        3 × 5^1 = 15
        2 × 5^0 =  2
        ────────────
        Sum = 42 (decimal)

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

        42 ÷ 16 = 2  r 10 (A)
         2 ÷ 16 = 0  r 2
        Read remainders upward: 2A

────────────────────────────
Result:  132 (base 5) = 2A (hex)

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₅.

About Hexadecimal

Hexadecimal (base 16) uses digits 0-9 and A-F (A=10, B=11, C=12, D=13, E=14, F=15). Each position is a power of 16: 16⁰=1, 16¹=16, 16²=256. Because 16 = 2⁴, each hex digit = exactly 4 bits (one nibble). Ubiquitous in computing: memory addresses (0x7FFF…), CSS colours (#FF5733), IPv6, SHA-256 hashes (64 hex digits = 256 bits), MAC addresses, UUID/GUIDs, and binary file magic numbers. The '0x' prefix originated in C (1972) and is standard in C++, Java, Python, JS, Rust, and Go. Conversion: decimal 42 = 2×16+10 = 2A₁₆.

Quick Reference Table

Base 5 (base 5)Hexadecimal (hex)
11
22
105
138
20A
30F
3110
1322A
22440
40064
2010FF

→ Full Number Base Converter