Binary ↔ hexadecimal
One hexadecimal digit corresponds exactly to 4 bits. This lets us convert quickly without going through decimal every time.
1. The essential table
↕
0
↕
1
↕
2
↕
3
↕
4
↕
5
↕
6
↕
7
↕
8
↕
9
↕
A
↕
B
↕
C
↕
D
↕
E
↕
F
2. Example
Binary → hexadecimal: 101011112
1010 → A1111 → F
Therefore 101011112 = AF16.
Hexadecimal → binary: replace each digit with its 4-bit group:
A → 1010F → 1111
3. Practice
Choose the direction:
Binary → hexadecimal | Hexadecimal → binary
Guided practice — progress 0 / 5, correct 0.
Convert 1416 to binary.
Guide: replace every hexadecimal digit with its 4 bits. At the end you may remove non-significant leading zeros.
4. What you learned
Group bits correctly in sets of four and convert directly between base 2 and base 16 without using decimal as an intermediate step.