Solved Problem - Binary to Hexadecimal Conversion
Question
Convert the binary number 1101101101101 to its hexadecimal equivalent.
Answer
The binary number 1101101101101 has 13 digits. First extend this to a multiple of 4 (i.e. 16) by adding three leading 0s to the number, i.e.
11011011001101 becomes 0001101101101101
Next break the binary number up into nibbles (4-bit groups) and convert each nibble to its hexadecimal equivalent.
| Binary | 0001 | 1011 | 0110 | 1101 |
|---|---|---|---|---|
| Hexadecimal | 1 | B | 6 | D |
hence
1101101101101bin = 1B6Dhex
