# Online Hexadecimal to Decimal converter

 Enter hex number: 16 Decimal number: 10 Decimal from signed 2's complement: 10 Binary number: 2 Decimal calculation:

Decimal to hex converter ►

## How to convert from hex to decimal

The decimal numeral system is the most commonly used and the standard system in daily life. It uses the number 10 as its base (radix). Therefore, it has 10 symbols: The numbers from 0 to 9; namely 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9.

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

The hexadecimal system (shortly hex), uses the number 16 as its base (radix). As a base-16 numeral system, it uses 16 symbols. These are the 10 decimal digits (0, 1, 2, 3, 4, 5, 6, 7, 8, 9) and the first six letters of the English alphabet (A, B, C, D, E, F). The letters are used because of the need to represent the values 10, 11, 12, 13, 14 and 15 each in one single symbol.

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

#### How to Calculate Hexadecimal to Decimal

Hex is a base 16 number and decimal is a base 10 number. We need to know the decimal equivalent of every hex number digit. See below of the page to check the hex to decimal chart.

Here are the steps to convert hex to decimal:

1. Get the decimal equivalent of hex from table.

2. Multiply every digit with 16 power of digit location.

(zero based, 7DE: E location is 0, D location is 1 and the 7 location is 2)

3. Sum all the multipliers.

#### Example:

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

Decimal to hex converter ►