How to Convert Hex to Decimal

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:

13710 = 1×102+3×101+7×100 = 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:

3B16 = 3×161+11×160 = 48+11 = 59

Example #2

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

E7A916 = 14×163+7×162+10×161+9×160= 57344+1792+160+9 =59305

 

How to convert decimal to hex ►

 


See also

NUMBER CONVERSION
CONTACT