Convert Hexadecimal to Base 6

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

Selected Hexadecimal (hex) - available characters: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F

Hexadecimal (hex)
Base 6 (base 6)

Conversion Formula

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

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

Step 1: Expand each digit of 2A (hex) by position:

        2 × 16^1 = 32
        A × 16^0 = 10
        ────────────
        Sum = 42 (decimal)

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

        42 ÷ 6 = 7  r 0
         7 ÷ 6 = 1  r 1
         1 ÷ 6 = 0  r 1
        Read remainders upward: 110

────────────────────────────
Result:  2A (hex) = 110 (base 6)

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₁₆.

About Base 6

Senary (base 6) uses digits 0-5. Each position is a power of 6: 6⁰=1, 6¹=6, 6²=36. Six is divisible by 1, 2, 3, and 6, making fractions clean: 1/2 = 0.3, 1/3 = 0.2 (both terminating). Native to the Ndom language of Papua New Guinea. Standard dice produce one uniform senary digit per roll. Donald Knuth noted senary's compact multiplication table. Conversion: decimal 42 = 1×36+1×6+0 = 110₆.

Quick Reference Table

Hexadecimal (hex)Base 6 (base 6)
11
22
55
812
A14
F23
1024
2A110
40144
64244
FF1103

→ Full Number Base Converter