Binary to Hexadecimal Converter
Enter a binary number (base-2) to convert it to hexadecimal (base-16).
Enter a binary number above
Formula
Group binary digits into sets of 4 (from right), then convert each group to its hex digit (0–F).
How to Convert Binary to Hexadecimal
Group the binary digits into sets of four starting from the right. Convert each group to its hexadecimal equivalent (0000=0, 1111=F).
Example: Convert 11111111 to hexadecimal
1111 1111 → F F
Result: FF
1111 1111 → F F
Result: FF
Conversion Table
| Binary | Hexadecimal |
|---|---|
| 0001 | 1 |
| 0100 | 4 |
| 1000 | 8 |
| 1010 | A |
| 1111 | F |
| 10000 | 10 |
| 11111111 | FF |
| 1111111111111111 | FFFF |
Related Converters
Last updated: 2025