Menu Close

How to Convert Hexadecimal to Binary

Posted in C Programming, C++ Programming, Computer Science, Digital Circuit, General Topics

1. Hexadecimal to Binary Table

Hex 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

2. an Example of Converting Hexadecimal Number 1E2 to Binary

Let’s say we want to convert the hexadecimal number 1E2 to binary.

Step 1: Write down the binary equivalent of each hexadecimal digit.

1 = 0001

E = 1110

2 = 0010

Step 2: Concatenate the binary digits.

0001 1110 0010

Therefore, the binary equivalent of hexadecimal 1E2 is 000111100010.

 

Related:   What Are the Disadvantage of C Programming Language ?

Leave a Reply