**Definition:**Hexadecimal is base 16 arithmetic where each digit is a value from 0 to 15, rather than the 0-9 of base 10. The decimal numbers after 9 are represented by the letters A to F where

` A`_{16}= 10_{10}
B_{16}= 11_{10}
C_{16}= 12_{10}
D_{16}= 13_{10}
E_{16}= 14_{10}
F_{16}= 15_{10}

Its a concise way of expressing numbers. 255_{10} = FF_{16}. FF = 15*16 + 15. Each digit to the left is 16 times the previous one 400_{16} = 4*256 = 1024.

In C, C++ and C# numbers are represented as hexadecimal by putting 0x in front. E.g. 0x300 is the same as 768.

Hexadecimal is a very convenient way of showing binary numbers as every 4 binary digits can be shown as one hexadecimal digit.

### Glossary:

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z**Also Known As:**hex,base 16

**Examples:**

_{10}into hexadecimal. The answer was F7

_{16}.

1011

_{2}= B

_{16}