Hex to Decimal conversion

Hex to decimal number conversion calculator and how to convert.

Hex to decimal converter

Hex to decimal number conversion calculator.

Enter a hex number and press the Convert button:

16
   
Decimal result: 10
Calculation:  

Decimal to hex converter ►

How to convert from hex to decimal

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

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

13710 = 1×102+3×101+7×100 = 100+30+7

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

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

Example #1

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

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

Example #2

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

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

Hex to decimal conversion table

Hex

base 16

Decimal

base 10

Calculation
0 0 -
1 1 -
2 2 -
3 3 -
4 4 -
5 5 -
6 6 -
7 7 -
8 8 -
9 9 -
A 10 -
B 11 -
C 12 -
D 13 -
E 14 -
F 15 -
10 16 1×161+0×160 = 16
20 32 2×161+0×160 = 32
30 48 3×161+0×160 = 48
40 64 4×161+0×160 = 64
50 80 5×161+0×160 = 80
60 96 6×161+0×160 = 96
70 112 7×161+0×160 = 112
80 128 8×161+0×160 = 128
90 144 9×161+0×160 = 144
A0 160 10×161+0×160 = 160
B0 176 11×161+0×160 = 176
C0 192 12×161+0×160 = 192
D0 208 13×161+0×160 = 208
E0 224 14×161+0×160 = 224
F0 240 15×161+0×160 = 240
100 256 1×161+0×161+0×160 = 256
200 512 2×161+0×161+0×160 = 512
300 768 3×161+0×161+0×160 = 768
400 1024 4×161+0×161+0×160 = 1024

 

Decimal to hex converter ►

 


See also

Write how to improve this page