The Binary to Hexadecimal Guide
Understanding how 4 bits (a nibble) directly translate to a single hexadecimal digit.
1. What is a Nibble?
In computing, a nibble is exactly four bits (half a byte). Since a bit can be 0 or 1, a 4-bit group can have $2^4 = 16$ possible values. This aligns perfectly with the Hexadecimal system (Base-16), which uses 16 digits: 0-9 and A-F.
2. How the Visualizer Works
Whenever you type a binary string, our tool pads it with leading zeros until its length is a perfect multiple of 4. It then slices the binary string into nibbles and maps each directly to its Hex equivalent.
3. Hex/Binary Lookup Table
| Binary Nibble | Hex Digit |
|---|---|
0000 | 0 |
0001 | 1 |
0010 | 2 |
0011 | 3 |
0100 | 4 |
0101 | 5 |
0110 | 6 |
0111 | 7 |
1000 | 8 |
1001 | 9 |
1010 | A |
1011 | B |
1100 | C |
1101 | D |
1110 | E |
1111 | F |