# How to Convert Hex to Decimal

How to convert from hexadecimal number to decimal number.

How to convert base 16 to base 10.

## How to convert from hex to decimal

A regular decimal number is the sum of the digits multiplied with its power of 10.

137 in base 10 is equal to each digit multiplied with its corresponding power of 10:

137_{10} = 1×10^{2}+3×10^{1}+7×10^{0} = 100+30+7

Hex numbers are read the same way, but each digit counts the power of 16 instead of power of 10.

Multiply each digit of the hex number with its corresponding power of 16.

#### Example #1

3B in base 16 is equal to each digit multiplied with its corresponding power of 16:

3B_{16} = 3×16^{1}+11×16^{0} = 48+11 = 59

#### Example #2

E7A9 in base 16 is equal to each digit multiplied with its corresponding power of 16:

E7A9_{16} = 14×16^{3}+7×16^{2}+10×16^{1}+9×16^{0}= 57344+1792+160+9 =59305

How to convert decimal to hex ►