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

Conversion Table

BinaryHexadecimal
00011
01004
10008
1010A
1111F
1000010
11111111FF
1111111111111111FFFF

Last updated: 2025