Online Hexadecimal to Decimal converter
Online Web Code Test |
Online Image Picker |
Online Color Picker
Hexadecimal to Decimal converter
How to trade over from hex to decimal
A desired decimal quantity is the quantity of the digits accelerated with force of 10.
137 in base 10 is identical to each digit duplicated with its pertaining to strain of 10:
13710 = 1&instances;102+3&instances;101+7&instances;100 = a hundred+30+7
Hex numbers are perused the identical way, yet each digit counts force of sixteen in place of strain of 10.
For hex variety with n digits:
dn-1 ... d3 d2 d1 dzero
Multiply every digit of the hex range with its evaluating strain of sixteen and sum:
decimal = dn-1&instances;sixteenn-1 + ... + dthree&instances;16three + d2&instances;sixteen2 + d1&instances;161+dzero×sixteen0
Example #1
3B in base sixteen is same to each digit duplicated with its evaluating 16n:
3Bsixteen = 3&instances;161+11&instances;sixteen0 = 48+11 = 5910
Example #2
E7A9 in base 16 is equal to each digit duplicated with its regarding sixteenn:
E7A916 = 14&instances;sixteen3+7×162+10&instances;sixteen1+9&instances;160 = 57344+1792+160+9 = 5930510
Example #3
0.Eight in base 16:
0.Eight16 = zero×sixteenzero+eight&instances;16-1 = 0+0.5 = zero.Five10
Hex to decimal transformation desk
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 |
11 | 17 | 1×161+1×160 = 17 |
12 | 18 | 1×161+2×160 = 18 |
13 | 19 | 1×161+3×160 = 19 |
14 | 20 | 1×161+4×160 = 20 |
15 | 21 | 1×161+5×160 = 21 |
16 | 22 | 1×161+6×160 = 22 |
17 | 23 | 1×161+7×160 = 23 |
18 | 24 | 1×161+8×160 = 24 |
19 | 25 | 1×161+9×160 = 25 |
1A | 26 | 1×161+10×160 = 26 |
1B | 27 | 1×161+11×160 = 27 |
1C | 28 | 1×161+12×160 = 28 |
1D | 29 | 1×161+13×160 = 29 |
1E | 30 | 1×161+14×160 = 30 |
1F | 31 | 1×161+15×160 = 31 |
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×162+0×161+0×160 = 256 |
200 | 512 | 2×162+0×161+0×160 = 512 |
300 | 768 | 3×162+0×161+0×160 = 768 |
400 | 1024 | 4×162+0×161+0×160 = 1024 |
Online Number Calculators
Online Web Code Test |
Online Image Picker |
Online Color Picker