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) | base 2 | hexadecimal (base 16) | base 2 |
---|
1 | = 1 | b | = 1011 |
2 | = 10 | c | = 1100 |
3 | = 11 | d | = 1101 |
4 | = 100 | e | = 1110 |
5 | = 101 | f | = 1111 |
6 | = 110 | 10 | = 10000 |
7 | = 111 | 11 | = 10001 |
8 | = 1000 | 12 | = 10010 |
9 | = 1001 | 13 | = 10011 |
a | = 1010 | 14 | = 10100 |