A number system, base 16
1, 2, 3, 4, 5, 6 7, 8, 9, A , B, C , D , E , F
A=10
B=11 Etc
Hexadecimal is used instead of binary because;
It is easier to read and interpret
It uses fewer digits to represent the name value
Compared to binary, it is less likely that a digit will be written down incorrectly
How does the hexadecimal number system work?
Hexadecimal is a base 16 number system, 0-9 and letters A to F. It is used for colours as compared to binary, it displays the same value in a shorter way. It increments in 16.
Converting Denary to Hexadecimal
First, you need to know the 16 x table
How Many 16s go into it | The number |
1 | 16 |
2 | 32 |
3 | 48 |
4 | 64 |
5 | 80 |
6 | 96 |
7 | 112 |
8 | 128 |
9 | 144 |
10 | 160 |
11 | 176 |
12 | 192 |
13 | 208 |
Look at the denary number, and see how many 16s go into it. That is the first digit of the number, then the remainder is the second part, and so on.
For example,
124
124/16 = 7 r 12
7 is the first digit
12 = C
this means 128 = 7C