# Hexadecimal to Decimal Converter

It is a very simple way to use this conversion tool. All you need to do is provide hexadecimal number like ABCD into the left textbox and then click on Convert button to obtain decimal value in the right textbox.

Incorrect Hexadecimal Value

You might need: Hex to Binary conversion

You might need: Hex to Binary conversion

## Hexadecimal Number System

The base of the hexadecimal number system is 16. Hence, there are 16 symbols or digits in this system. The first ten digits are similar to that of decimal number system - 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9. The rest six digits are represented by the symbols A, B, C, D, E, and F, representing decimal numbers 10, 11, 12, 13, 14, and 15 respectively. The largest single digit is F (1 less than the base 16). Each digit in hexadecimal number system represents a power of the base (16). This number system is used to represent colors in HTML programming; FF0000 represents Red, 00FF00 represents Green, 0000FF represents Blue, etc.

## Decimal Number System

The base of the decimal number system is 10. In this number system, 10 digits are used - 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9. We know that in decimal number system successive positions to the left of the decimal point represents units, tens, hundreds, etc. It is used in our day to day life.

## How to convert Hexadecimal to Decimal

Let's understand the conversion by following these steps-

1. Start with the rightmost digit and move towards the left by writing down 16n below it where n = 0,1,2... and so on till the left most digit.
2. After this, multiply those 16n with their corresponding hexadecimal digit.
3. Add all the result obtained in step 2 to get a decimal number.

The steps mentioned above will become clearer when we apply them in an example. Suppose we have a hexadecimal number 4CD that we want to convert into decimal number.

Step i) Write down the power of 16 from right to left starting with 160.

```4   C   D
162 161 160```

Step ii) Multiply these 16n with their crossesponding hexadecimal digit.

Step iii) Add all the products obtained in Step ii) to get the desired decimal number.

4x162 + Cx161 + Dx160 = 1229

## Hexadecimal to Decimal Conversion Table

The following table provides a list of few hexadecimal numbers and their corresponding decimal numbers-

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