Binary to Hexadecimal Converter Convert your data

Input Data String

 

Options

Output Data
        
 

 

 

How to convert binary to hex

Conversion steps:

  1. We split the binary number into group of four digits starting from right to left.
  2. If the number of digits is not multiple of four we add zeros in front to form four digits.
  3. We multiply each group with 8421.
  4. We add the result for each group.
  5. We convert the number in hex. e.g. 10 --> A, 11 --> B
  6. The result will be by puting together all the results, reading from left to right.

Binary to hex conversion table

Binary (Base 2) HexaDecimal (Base 16)
0 0
1 1
10 2
11 3
100 4
101 5
110 6
111 7
1000 8
1001 9
1010 A
1011 B
1100 C
1101 D
1110 E
1111 F

 

Example

Convert 11011100111102 to octal:

Step Group 1 Group 2 Group 3 Group 4
Step 1 0001 1011 1001 1110
Step 2 8421 8421 8421 8421
Step 3 0001 8021 8001 8420
Step 4 1 11 9 14
Step 5 1 B 9 E
Step 4 1B9E

 

11011100112 = 1B9E16

 

Source