URL-Decode

Hex to Binary

Enter Value:
Result

Hexadecimal to binary converter is an online tool that converts hexadecimal numbers into binary numbers in a fraction of a second.

How to Use Our Hexadecimal to Binary Converter?

To convert the number from hexadecimal to binary, follow the below steps.

  • Open the Online Hexadecimal to Binary Converter. 
  • Enter the hexadecimal number.
  • Click on the "Convert to Binary" button to get the result.
  • This tool will display the resulting amount in the "Result" section.

Hexadecimal Number System

The Hexadecimal number system uses the base value of sixteen. That means the numeral system consists of sixteen (16) possible digits. These include ten numerical digits (0-9) and 6 six letters (A-F) from the English alphabet. 

Where,

  • A = 10
  • B = 11
  • C = 12
  • D = 13
  • E = 14
  • F = 15

Each digit has an equal weight in this system, such as the power of sixteen (16). For example,

(1A3F)16 = (1 x 163) + (10 x 162) + (3 x 161) + (15 x 160)

(1A3F)16 = (1 x 4096) + (10 x 256) + (3 x 16) + (15 x 1)

(1A3F)16 = 4096 + 2560 + 48 + 15 = 671910

Note: The short form of the Hexadecimal Number System is Hex.

Binary Number System

The binary number system uses the base value of two. That means the numeral system consists of two possible digits: 0 (zero) & 1 (one). 

Each digit has an equal weight in this system, which is the power of sixteen (16). For example,

(11011)2 = (1 x 24) + (1 x 23) + (0 x 22) + (1 x 21) + (1 x 20)

(11011)2 = (1 x 16) + (1 x 8) + (0 x 4) + (1 x 2) + (1 x 1)

(11011)2 = 16 + 8 + 0 + 2 + 1 = 2710

Hex to Binary Table

Below is a table of each hex digit to 4-bit binary numbers.

Hex Number  Binary Number
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

How to Convert Hex to Binary?

You can use our hexadecimal to binary converter to quickly convert any hex number to binary. If you want to convert hex to decimal manually, below are a few methods:

Method 1:

  • Take a hexadecimal number.
  • Convert the given hex number to decimal.
  • Then, convert decimal to binary.

Method 2:

  • Understand the hexadecimal system
  • Convert each hex digit to a 4-bit binary number
  • Combine all the binary values.
For Example 

Convert 2D516 to a binary number

Solution

By method 1:

Step 1: Write the given hex number.

2D516 

Step 2: Convert the given hex to decimal.

(For this, count the total digits in hex number “n,” multiply each digit by 16n-1, and add the results.)

2D516 = (2 x 162) + (13 x 161) + (5 x 160)

2D516 = (2 x 256) + (13 x 16) + (5 x 1)

2D516 = 512 + 208 + 5 = 725

Step 3: Convert the above decimal to binary.

Divided by Quotient Remainder
2 725
2 362 1
2 181 0
2 90 1
2 45 0
2 22 1
2 11 0
2 5 1
2 2 1
1 0

(725)10 = (1011010101)2

Hence,

(2D5)16 = (1011010101)2

By method 2:

Step 1: Convert each hex digit to binary numbers.

2 → 0010

D →  1101

5 → 0101

Step 2: Combine the above results.

2D516 = (001011010101)2 

To alter the results, you can use our binary to hex converter.