Skip to content
ForceConversion

Popular tools

Binary to Hexadecimal Converter

Convert binary numbers to hexadecimal. Long binary strings are shortened to hexadecimal in debuggers and datasheets, because every four bits become one hex digit.

Binary to Hexadecimal converter

Whole numbers. Spaces, underscores and the prefixes 0b, 0o and 0x are accepted.

Result

Binary
—
Octal
—
Decimal
—
Hexadecimal
—

How to convert binary to hexadecimal

Split the binary number into groups of 4 bits, starting from the right and adding zeros on the left if needed. Replace each group with its hexadecimal digit.

Example: 10011100 (binary) to hexadecimal

Binary digits and their bits
Binary digit1-bit group
11
00
00
11
11
11
00
00
Bits regrouped into hexadecimal digits
4-bit groupHexadecimal digit
10019
1100C

10011100 in binary = 9C in hexadecimal.

Examples

  • 1010 (binary) = A (hexadecimal)
  • 10011100 (binary) = 9C (hexadecimal)
  • 11111111 (binary) = FF (hexadecimal)
  • 1111101000 (binary) = 3E8 (hexadecimal)

Binary to Hexadecimal conversion table

Binary to Hexadecimal
Binary (base 2)Hexadecimal (base 16)
00
11
102
113
1004
1015
1106
1117
10008
10019
1010A
1011B
1100C
1101D
1110E
1111F
1000010
1010014
10000020
11001032
100000040
110010064
11111117F
1000000080
11111111FF
100000000100
1000000000200
11111010003E8
10000000000400

The table lists the same whole numbers for every pair of bases.

Frequently asked questions

What is 11111111 in hexadecimal?
11111111 in binary is FF in hexadecimal.
How do I convert binary to hexadecimal by hand?
Split the binary number into groups of 4 bits, starting from the right and adding zeros on the left if needed. Replace each group with its hexadecimal digit.
What digits does binary use?
Binary uses the digits 0 and 1. Computers store and process everything as binary digits (bits). Eight bits make one byte.
What is hexadecimal used for?
Hexadecimal writes bytes compactly: web colors (#FF8800), memory addresses, MAC addresses and character codes all use it.