# Hex to Binary

Enter the values that you want to convert from Hex to binary or binary to hex.### HEX SYSTEM:

Hex or Hexadecimal is a number system of base 16. This hex number system is different from the decimal number system here we are using 16 digits to represent numbers. The extra needed 6 digits are represented by the first 6 letters of the alphabet A, B, C, D, E, F.

Here, complete hex numbering are 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9 A, B, C, D, E, F. Simply continue with A, B, C, D, E, F hexadecimal equivalent values are 10, 11, 12, 13, 14 and 15 numbers. This number system is the most commonly used in mathematics and information technology.

### Signs of Hexadecimal:

Signs of hexadecimal can be expressed in negative numbers, the same way as in decimal. For example -2A which represents -42_{10}. The negative number -42_{10} can be expressed as FFFFFFD6 in a 32 bit.

It also expresses the exact bit pattern used in the processor. The sequence of hexadecimal digits represents a signed or a floating-point value.

**1.Example:**

**Convert 2A to decimal?**

2A = (A*162) + (2*161)

2A = (10*256) + (2*16)

2A = 2560 + 32

(2A)2 = (2592)10

### BINARY:

A binary number system invented by Gottfried Leibniz. A binary numeral system having 2 numbers "0", "1" and it is known as the base-2 number system.

The base-2 number system used in digital electronic equipment. In this zero represents OFF, 1 represents ON cause electronic binary equivalent used gates. It is simply a bunch of zeroes and ones, and each numeral is classed as a bit. It is easy to implement, logic is to understand, it is the lowest possible base and gives way to easily encode higher numbering system.

Like multiplication, dividing binary values is the same as the long division in decimal. Dividing a binary value by two can also be achieved by shifting the bits to the right and adding zeroes to the left.

The bit on the far left, in this case, a 1 is called as the Most Significant Bit (MSB).

The bit on the far right, in this case, a 0 is called as the Least Significant Bit (LSB).

**Notations used in the digital system:**

· 4 bits= Nibble

· 8 bits= Byte

· 16 bits= Word

· 32 bits= Double Word

Example of the binary number is 10100.

*Advantages of the binary system:*

1.It is the lowest possible base and gives way to easily encode a higher number.

2.It is easy to implement and it gives an accurate result.

3.The logic is to understand.

*Disadvantages of the binary system:*

1.It is difficult to write, read and manipulate the binary number system.

2.Numbers are expressed longer, it captures more spaces.

### HEX TO BINARY CONVERTER:

Our hexadecimal to binary converter is free online hex to binary conversion tool. It converts units from hexadecimal to binary with a metric conversion. Each of the 16 hexadecimal digits is equal to 4 binary digits. In the base-2 binary system, n binary digits can be used to represents 2n different numbers, it can flip over to another digit at the same time.

Each digit in a decimal number is in a certain "place". Moving from right to left, there's the "one's place", "ten's place", "hundred places", and so on.

To put mathematically, the "places” represent 100, 101, 102, and so on. The system is called "base ten", or "decimal".

For example, the hexadecimal is 1 is equal to the binary 0001. To convert hexadecimal to decimal, multiply each place value in the hexadecimal number by the corresponding power of sixteen.

**1.Example:**

Converting (4E)_{16} to binary?

(4)_{16} = (0100)_{2}

(E)_{16} = (1110)_{2}

(4E)_{16} = (1001110)_{2}

**2.Example:**

Convert (4A01)_{16} to binary?

(4)_{16}= (0100)_{2}

(A)_{16}= (1010)_{2}

(0)_{16}= (0000)_{2}

(1)_{16}= (0001)_{2}

(4A01)_{16} = (0100101000000001)_{2}

### HEXADECIMAL TO BINARY CONVERSION CHART:

Here we listed out hex to binary conversion table.

Hexadecimal | Binary |
---|---|

0 | 0000 |

1 | 0001 |

2 | 0010 |

3 | 0011 |

4 | 0100 |

5 | 0101 |

6 | 0110 |

7 | 0111 |

8 | 1000 |

9 | 1001 |

A | 1010 |

B | 1011 |

C | 1100 |

D | 1101 |

E | 1110 |

F | 1111 |