50%

Hex to Binary


Enter the hex number (base 16) to decode

Size : 0 , 0 Characters

The number in binary representation:

Size : 0 , 0 Characters

How to Convert Hex to Binary


Converting from hex to binary is straightforward since hexadecimal numbers are simplified versions of binary strings. You just need to remember that each hex value will produce four binary digits.

  • Step 1: Write down the hex number. If there are any, change the hex values represented by letters to their decimal equivalents.
  • Step 2: Each hex digit represents four binary digits and therefore is equal to a power of 2. The rightmost digit equals to 20 (1), the next one equals to 21 (2), the next one equals to 22 (4) and the leftmost one equals to 23 (8). Write these numbers (8, 4, 2 and 1) below the hex values.
  • Step 3: Determine which powers of two (8, 4, 2 or 1) sum up to your hex digits. For example, if one of your hex values is 10, this means 8 and 2 sum up to 10 (4 and 1 are not used). If your hex number is 2, only 2 is used; 8, 4 and 1 are not.
  • Step 4: Write down 1 below those 8, 4, 2 and 1's that are used. Write down 0 below those that are not used.
  • Step 5: Read the 1's and 0's from left to right to get the binary equivalent of the given hex number.