Hexadecimal to Decimal Conversion

This Hexadecimal to Decimal conversion tool allows you to quickly and accurately convert hexadecimal numbers into their decimal equivalents. The converter handles integer and fractional hexadecimal inputs and supports negative numbers. Use this tool to simplify your calculations.

Hexadecimal to Decimal Converter

Hexadecimal Input:
base16
Decimal Places:
   

Result:

Decimal:
base10

Calculator

  • enter the hexadecimal number

Result

  • the hex number converted to a decimal

This calculator is perfect for students, programmers, and anyone working with base-16 numbers.

Example Conversions

To be able to convert from hex to decimal, you need to know the exponentiation values of the base number 16 for the respective place values:
For the integer part:
the one's place (least significant digit) 160 = 1
tens place 161 = 16
hundreds place 162 = 256
thousands place 163 = 4096
ten thousands  place 164 = 65536
hundred thousands place165 = 1048576
For the fraction part:
the tens place (first digit after the radix point) 16-1 = 0.0625
hundreds place 16-2 = 0.00390625
thousands place 16-3 = 0.000244140625
ten thousands place 16-4 = 0.0000152587890625
hundred thousands place 16-5 = 0.00000095367431640625

Convert hexadecimal AFF23 to decimal.
Starting with the least significant digit:
hex 3  =  dec 3 * 160 = 3 * 1 = 3
hex 2 =  dec 2 * 161 =  2 * 16 = 32
hex F =  dec 15 * 162 = 15 * 256 = 3840
hex F =  dec 15 * 163 = 15 * 4096 =  61440
hex A =  dec 10 * 164 = 10 * 65536 = 655360
Add all the results together:
3 + 32 + 3840 + 61440 + 655360 = 720675
720675 is the decimal equivalent of the hex AFF23
The hexadecimal number AFF23 is equivalent to decimal 720675

Convert hexadecimal 3B.34 to decimal.
To make it more straightforward, split 3B.34   into integer and fractional parts:
Integer part = 3B
Fractional part = 0.34
Integer Part Conversion:
Convert 3B to decimal:
Starting with the least significant digit:
hex B =  dec 11 * 160 = 11 * 1 = 11
hex 3 =  dec 3 * 161 = 3 * 16 = 48
Add the results together:
11 + 48 = 59
hex 3B equivalent to decimal 59
Fractional Part Conversion:
Convert 0.34 to decimal:
Starting with the first digit after the radix point:
hex 3 =  dec 3 * 16-1 = 3 * 0.0625 = 0.1875
hex 4 =  dec 4 * 16-2 = 4 * 0.00390625 = 0.015625
Add the results together:
0.1875 + 0.015625 = 0.203125
hex 0.34 equivalent to decimal 0.203125
Combine the integer and fraction results:
59 + 0.203125 = 59.203125
The hexadecimal number 3B.34 is equivalent to decimal 59.203125

Hexadecimal System (Base-16) Calculators

Conversion

Math


Decimal (Base-10) Binary (Base-2) Octal (Base-8) Hexadecimal (Base-16)
If you have any questions or comments please Contact Us
Privacy Policy
© 1998, VmNet.