Skip to content
UnitChart

Convert binary to hex

Binary (base 2) to hexadecimal (base 16). Type a value below, or use the reference table further down.

1010 (binary) = A (hexadecimal)

Multiply each digit by 2 raised to its position, counting from zero on the right, then add the results. 1010 comes to 10 in decimal, which is A in hexadecimal.

How to convert binary to hex

Multiply each digit by 2 raised to its position, counting from zero on the right, then add the results. 1010 comes to 10 in decimal, which is A in hexadecimal.

Conversions here use arbitrary-precision integers, so values beyond 64 bits convert exactly rather than being rounded.

binary to hex conversion table

Use this binary to hex chart for quick reference.

binary to hexadecimal conversion table
Binary (base 2)Hexadecimal (base 16)
00
11
102
113
1004
1015
1106
1117
10008
10019
1010A
1011B
1100C
1101D
1110E
1111F
1000010
10000020
100000040
110010064
11111117F
1000000080
11111111FF
100000000100
1000000000200
11111010003E8
11111111113FF
10000000000400
111111111111FFF
10000000000001000
1111111111111111FFFF
1000000000000000010000

What is binary?

Binary is base 2, using only 0 and 1. It is how every digital computer physically stores and manipulates data, with each digit representing one bit.

What is hexadecimal?

Hexadecimal is base 16, using 0 to 9 then A to F for the values ten to fifteen. One hex digit encodes exactly four bits, so a byte is always two hex digits — which is why colours, memory addresses and hashes are written in hex.

Frequently asked questions

How do you convert binary to hexadecimal?

Multiply each digit by 2 raised to its position, counting from zero on the right, then add the results. 1010 comes to 10 in decimal, which is A in hexadecimal.

What is 1010 binary in hexadecimal?

1010 in binary is A in hexadecimal. In plain decimal that value is 10.

What digits does binary use?

Binary is base 2 and uses 0 and 1. Binary is base 2, using only 0 and 1. It is how every digital computer physically stores and manipulates data, with each digit representing one bit.

Other base conversions