Please enable JavaScript.
Coggle requires JavaScript to display documents.
Hex<>Denary (What Hexadecimal is (~ Another numbering system - base…
Hex<>Denary
What Hexadecimal is
~ Another numbering system - base 16
~ This one has 16 different digits available
~ Produces shorter strings than binary so less susceptible to errors
~ In order to keep the single digits for all 16 possibilities we use A-F to represent 10-15
~ Easily convert to binary as there is one hex digits per nibble
~ The first four place values of base 16 are: 4096/256/16/1
Converting Denary to 2-digit Hex
Steps
Divide number by 16
Ignore the decimal places. Take the quotient and convert to Hex
Calculate the remainder. Multiply quotient by 16 and subtract from the Denary
Convert remainder to Hex (or add 0 if there's no remainder)
Example: 177
177 divided by 16 = 11.0625
11 = B
11 times 16 = 176, 177 - 176 = 1
1 = 1
177 (Denary) = B1 (Hex)
Converting 2-digit Hex to Denary
Steps
Write out the place values
Write out the Hex
Convert any A-F
Multiply by place value
Add them together
Example: C3
16 / 1
C / 3
12 / 3
12 times 16 = 192 / 3 times 1 = 3
192 + 3 = 195
C3 (Hex) = 195 (Denary)