Convert Hexadecimal to Decimal

To convert Hexadecimal to Decimal, input decimal value in the box below, and then click on the big blue button that says “CONVERT TO DECIMAL” and your Decimal number is generated, copy it or you can download output file.

Copied to Clipboard.

Decimal Numbering System

In decimal number system there only ten (10) digits from 0 to 9. Every number (value) in this decimal system represents with 0,1,2,3,4,5,6, 7,8 and 9. The base of this number system is 10, because it has only 10 digits.

Example: 8062 in decimal (base 10)

806210 = (8 x 103) + (0 x 102) + (6 x 101) + (2 x 100)

Hexadecimal Number System

In a Hexadecimal number system there are sixteen (16) alphanumeric values from 0 to 9 and A to F. In this number system every number (value) represents with 0,1,2,3,4,5,6, 7,8,9,A,B,C,D,E and. The base of this number system is 16, because it has 16 alphanumeric values. Here A is 10, B is 11, C is 12, D is 14, E is 15 and F is 16.

Example: What is 0xA5 in base 10?

0xA5 = A516 = (10 x 161) + (5 x 160) = 16510

How to convert Hexadecimal into Decimal:

Converting Hexadecimal Numbers to Decimal is done with two Methods. The first Method is the Indirect Method and the second method is the Sum-of-Weights method.

1. Indirect Method:

The indirect method of converting Hexadecimal number to decimal number is to first convert Hexadecimal number to Binary and then Binary to Decimal.

2. Sum-of-Weights Method:

A Hexadecimal number can be directly converted into Decimal by using the sum of weights method. The conversion steps using the Sum-of-Weights method are shown:

  • Step 1: Hex is a base 16 and decimal is a base 10 so to convert a hexadecimal to a decimal, you need to multiply the hex number by 16.

  • Step 2: Now raise it to a power of 0 and increase that power by 1 each time according to the hexadecimal number equivalent.

  • Step 3:Now start from the right of the hexadecimal number and go to the left when applying the powers. Each time we multiply a number by 16, the power of 16 increases.

Example 1: Convert D8 to Decimal:

8 = 8 * (16 ^ 0) = 8

D = 13 * (16 ^ 1) = 208

Then, we add the results.

208 + 8 = 21610 decimal


Table Hex to Decimal:

Hexadecimal Decimal
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

Decimal Number System is really beneficial in our day to day life while you have to deal with money, height, weight or something else like that. A whole number cannot always give a precise value for such thing and because of it Decimal Number System comes into play. For example, when we measure our weight on a weighing machine, most certainly it won’t show your weight in a whole number so to get an accurate result we use decimals.