Binary to Hexadecimal Calculator
Convert between binary and hexadecimal number systems. Enter a number and see it represented in binary (base 2), hexadecimal (base 16), decimal (base 10), and octal (base 8). The binary output is grouped in 4-bit nibbles for easy reading.
Binary and hexadecimal have a natural relationship: each hexadecimal digit maps to exactly 4 binary digits (bits). This makes converting between them quick once you know the mapping.
Binary to Hex Nibble Table:
| Binary | Hex | Decimal |
|---|---|---|
| 0000 | 0 | 0 |
| 0001 | 1 | 1 |
| 0010 | 2 | 2 |
| 0011 | 3 | 3 |
| 0100 | 4 | 4 |
| 0101 | 5 | 5 |
| 0110 | 6 | 6 |
| 0111 | 7 | 7 |
| 1000 | 8 | 8 |
| 1001 | 9 | 9 |
| 1010 | A | 10 |
| 1011 | B | 11 |
| 1100 | C | 12 |
| 1101 | D | 13 |
| 1110 | E | 14 |
| 1111 | F | 15 |
How to convert manually: Group the binary digits into sets of 4 from the right (pad with leading zeros if needed). Then replace each group with its hex digit. Example: 11010110 becomes 1101 0110, which is D6.
Why this matters: Network engineers read MAC addresses in hex. Embedded developers read register values in hex. Security analysts examine binary file headers in hex. Understanding this conversion is fundamental in computing.