Hexadecimal is a unit of number system measurement. The symbol hex is often used to represent it. Base-16 number system is a way of representing numbers using a set of 16 distinct digits.
In this system, the place value of each digit is a power of 16, and the number is expressed as the sum of these powers, each multiplied by the corresponding digit.
The following is a conversion chart to help you compare values in base 16 with other bases (2, 8, 10, 16):
Value in Base 16 | Base 2 | Base 8 | Base 10 |
---|---|---|---|
0 | 0 | 0 | 0 |
1 | 1 | 1 | 1 |
2 | 10 | 2 | 2 |
3 | 11 | 3 | 3 |
4 | 100 | 4 | 4 |
5 | 101 | 5 | 5 |
6 | 110 | 6 | 6 |
7 | 111 | 7 | 7 |
8 | 1000 | 10 | 8 |
9 | 1001 | 11 | 9 |
a | 1010 | 12 | 10 |
b | 1011 | 13 | 11 |
c | 1100 | 14 | 12 |
d | 1101 | 15 | 13 |
e | 1110 | 16 | 14 |
f | 1111 | 17 | 15 |