Binary <-> Hexadecimal

[Menu]   A   B   C   D   E   F   G   H

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
  One hexadecimal digit corresponds exactly
to four binary digits.

To convert from hexadecimal to binary:
Simply replace each hexadecimal digit
with four binary digits.
The digits will already be in groups of four.

Example:
Convert the hexadecimal number B01D16 to binary.
B01D16 = 1110 010 110 1310 = 1011 0000 0001 11012

This can also be used in reverse.
Example:
Convert the binary number 1010 0011 11112 to hexadecimal.
1010 0011 11112 = 1010 310 1510 = A3F16 in hexadecimal.