Binary to Hex converter

2
16
10

Hex to Binary converter ►

Binary

Binary number is a number expressed in the base 2 numeral system. Binary number's digits have 2 symbols: zero (0) and one (1). Each digit of a binary number counts a power of 2.

Binary number example:
11012 = 1×23+1×22+0×21+1×20 = 1310

Hexadecimal

Hexadecimal number is a number expressed in the base 16 numeral system. Hexadecimal number's digits have 16 symbols: 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F. Each digit of a hexadecimal number counts a power of 16.

Hexadecimal number example:
62C16 = 6×162+2×161+12×160 = 158010

How to convert binary to hex

Convert every 4 binary digits (start from bit 0) to 1 hex digit, with this table:

Binary Hex
0000 0
0001 1
0010 2
0011 3
0100 4
0101 5
0110 6
0111 7
1000 8
1001 9
1010 A
1011 B
1100 C
1101 D
1110 E
1111 F

Example

Convert binary 11011002 to hex:

Convert every 4 binary bits (from bit0) to hex digit:

11011002 = 110 1100 = 6 C = 6C16


Hex to Binary converter ►

 


See also

Write how to improve this page

NUMBER CONVERSION
RAPID TABLES