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.
conversion table
hexadecimal (base 16) | quaternary (base 4) | hexadecimal (base 16) | quaternary (base 4) |
---|
1 | ≈ 1 | b | ≈ 23 |
2 | ≈ 2 | c | ≈ 30 |
3 | ≈ 3 | d | ≈ 31 |
4 | ≈ 10 | e | ≈ 32 |
5 | ≈ 11 | f | ≈ 33 |
6 | ≈ 12 | 10 | ≈ 100 |
7 | ≈ 13 | 11 | ≈ 101 |
8 | ≈ 20 | 12 | ≈ 102 |
9 | ≈ 21 | 13 | ≈ 103 |
a | ≈ 22 | 14 | ≈ 110 |