In mathematics and computing, hexadecimal (also base 16, or hex) is a positional numeral system with a radix, or base, of 16. It uses sixteen distinct symbols, most often the symbols 0–9 to represent values zero to nine, and A, B, C, D, E, F (or alternatively a, b, c, d, e, f) to represent values ten to fifteen.
hexadecimal (base 16) | hexatrigesimal (base 36) | hexadecimal (base 16) | hexatrigesimal (base 36) |
---|---|---|---|
1 | = 1 | b | = b |
2 | = 2 | c | = c |
3 | = 3 | d | = d |
4 | = 4 | e | = e |
5 | = 5 | f | = f |
6 | = 6 | 10 | = g |
7 | = 7 | 11 | = h |
8 | = 8 | 12 | = i |
9 | = 9 | 13 | = j |
a | = a | 14 | = k |
Base36 is a binary-to-text encoding scheme that represents binary data in an ASCII string format by translating it into a radix-36 (aka Hexatrigesimal) representation. The choice of 36 is convenient in that the digits can be represented using the Arabic numerals 0–9 and the Latin letters A–Z (the ISO basic Latin alphabet).
hexatrigesimal (base 36) | hexadecimal (base 16) | hexatrigesimal (base 36) | hexadecimal (base 16) |
---|---|---|---|
1 | ≈ 1 | b | ≈ b |
2 | ≈ 2 | c | ≈ c |
3 | ≈ 3 | d | ≈ d |
4 | ≈ 4 | e | ≈ e |
5 | ≈ 5 | f | ≈ f |
6 | ≈ 6 | g | ≈ 10 |
7 | ≈ 7 | h | ≈ 11 |
8 | ≈ 8 | i | ≈ 12 |
9 | ≈ 9 | j | ≈ 13 |
a | ≈ a | k | ≈ 14 |
hexadecimal (base 16) | hexatrigesimal (base 36) |
---|---|
1 | = 1 |
2 | = 2 |
3 | = 3 |
4 | = 4 |
5 | = 5 |
6 | = 6 |
7 | = 7 |
8 | = 8 |
9 | = 9 |
a | = a |