The 4-Bit Expansion Method
Because 16 is equal to 2⁴, each hexadecimal digit directly represents four binary bits:
- Take each hex digit in sequence from left to right.
- Find its decimal value (0–9 remain the same; A=10, B=11, C=12, D=13, E=14, F=15).
- Convert that value into a 4-bit binary nibble using weights 8, 4, 2, and 1.
- Ensure every nibble has exactly 4 binary digits (add leading zeros if necessary: e.g. 5 is 0101, not 101).
- Concatenate all nibbles together.