# Hexadecimal Number Representations

Learn how to represent numbers in hexadecimal base system.

## We'll cover the following

## Hexadecimal representation (base sixteen)

If we can count up to 16, 12 stones fit in one group but we need more symbols:

$A, B, C, D, E,$ and $F$ for 10, 11, 12, 13, 14, and 15 respectively:

**Example 1**

$12_{\text{dec}} = C\space\space$ in hexadecimal representation (notation)

**Example 2**

$123_{\text{dec}} = (7*16^1 + 11*16^0)_{\text{dec}} = (7B)_{\text{hex}}$

**Formulas**

We can formalize it in the following summation notation till the number $n-1$:

$N_{\text{dec}}=\sum_{i=0}^{n-1} a_i*16^i$

Get hands-on with 1200+ tech skills courses.