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

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

4B16 = 4×161+11×160 = 64+11 = 75

Example #2

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

5B16 = 5×161+11×160 = 80+11 = 91

Example #3

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

(E7A8)₁₆ = (14 × 16³) + (7 × 16²) + (10 × 16¹) + (8 × 16⁰) = (59304)₁₀

Example #4

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

(A7A8)₁₆ = (10 × 16³) + (7 × 16²) + (10 × 16¹) + (8 × 16⁰) = (42920)₁₀

 

How to convert decimal to hex ►

 


See also

Advertising

NUMBER CONVERSION
°• CmtoInchesConvert.com •°