导航菜单
首页 >  Hex Calculator  > Hex to Decimal Converter

Hex to Decimal Converter

Hexadecimal to Decimal converter

Decimal to hex converter ►

Hexadecimal

Hexadecimal number is a number expressed in the base 16 numeral system. Hexadecimal number's digits have 16 symbols: 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F. Each digit of a hexadecimal number counts a power of 16.

Hexadecimal number example:62C16 = 6×162+2×161+12×160 = 158010

Decimal

Decimal number is a number expressed in the base 10 numeral system. Decimal number's digits have 10 symbols: 0,1,2,3,4,5,6,7,8,9. Each digit of a decimal number counts a power of 10.

Decimal number example:65310 = 6×102+5×101+3×100

How to convert from hex to decimal

A regular decimal number is the sum of the digits multiplied with 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 power of 16 instead of power of 10.

For hex number with n digits:

dn-1 ... d3 d2 d1 d0

Multiply each digit of the hex number with its corresponding power of 16 and sum:

decimal = dn-1×16n-1 + ... + d3×163 + d2×162 + d1×161+d0×160

Example #1

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

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

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 = 5930510

Example #3

0.8 in base 16:

0.816 = 0×160+8×16-1 = 0+0.5 = 0.510

Hex to decimal conversion tableHexbase 16Decimalbase 10Calculation00-11-22-33-44-55-66-77-88-99-A10-B11-C12-D13-E14-F15-10161×161+0×160 = 1611171×161+1×160 = 1712181×161+2×160 = 1813191×161+3×160 = 1914201×161+4×160 = 2015211×161+5×160 = 2116221×161+6×160 = 2217231×161+7×160 = 2318241×161+8×160 = 2419251×161+9×160 = 251A261×161+10×160 = 261B271×161+11×160 = 271C281×161+12×160 = 281D291×161+13×160 = 291E301×161+14×160 = 301F311×161+15×160 = 3120322×161+0×160 = 3230483×161+0×160 = 4840644×161+0×160 = 6450805×161+0×160 = 8060966×161+0×160 = 96701127×161+0×160 = 112801288×161+0×160 = 128901449×161+0×160 = 144A016010×161+0×160 = 160B017611×161+0×160 = 176C019212×161+0×160 = 192D020813×161+0×160 = 208E022414×161+0×160 = 224F024015×161+0×160 = 2401002561×162+0×161+0×160 = 2562005122×162+0×161+0×160 = 5123007683×162+0×161+0×160 = 76840010244×162+0×161+0×160 = 1024

Decimal to hex converter ►

 

See alsoDecimal to hex converterHex to binary converterBinary to decimal converterOctal to decimal converterHow to convert hex to decimalHex to ASCII text converterHex to RGB color converterNumeral systemsNumber conversion10 hex to decimal7F hex to decimalFF hex to decimal

相关推荐: