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.
3B in base 16 is equal to each digit multiplied with its corresponding power of 16:
3B16 = 3×161+11×160 = 48+11 = 59
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 ►