Hexadecimal to decimal is the process of converting one number from hexadecimal system to decimal system. Hexadecimal has a base number of 16 whereas the decimal number system has a base number of 10.

A number system is a representation of numbers by using digits or other symbols in a consistent manner. There are four types of number systems namely, binary, octal, decimal, and hexadecimal. Each of these has its own unique base number that distinguishes between the systems. Let us learn how to convert hex to decimal, the conversion table, and solve a few examples to understand the concept better.

1. | What is Hexadecimal to Decimal Conversion? |

2. | How to Convert Hexadecimal to Decimal? |

3. | Hexadecimal to Decimal Formula |

4. | FAQs on Hexadecimal to Decimal |

## What is Hexadecimal to Decimal Conversion?

**Hexadecimal to decimal** conversion is done by keeping the base numbers of each of the number systems in mind. The hexadecimal number system operates with both digits and characters, especially characters are used to represent double-digit numbers. There are a total of 16 notations in hexadecimal system: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 and 10-15 is represented by the letters A-F respectively. Whereas in the decimal number system, 10 notations are represented as 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9. To convert hexadecimal to decimal, we first obtain the digit equivalent of hexadecimal from the conversion table, multiply the digits with 16 to the power of digit location (we start from right most digit and move to the left by multiplying the digits by 16^{0}, 16^{1}, 16^{2}, ...) and add them all together. The conversion table is mentioned below:

### Hexadecimal Number System Definition

A hexadecimal number system is also known as a positional number system as each digit has a weight of power 16. Each digit is 16 times more significant than the next digit. Hence, when we convert any hexadecimal number to decimal number system, we multiply the digits individually keeping the power of 16 in mind according to the placement of their position. This number system uses sixteen digits/alphabets: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 and A, B, C, D, E, F with the base number as 16. For example, 7DE_{16}, E5F_{16}, 9B4A_{16}.

### Decimal Number System Definition

Decimal number system has a base of 10 with digits from 0-9. Numbers in daily life are generally represented in this form. For example, 24_{10}, 654_{10}, 2012_{10}.

## How to Convert Hexadecimal to Decimal?

The conversion of hexadecimal to decimal is done by using the base number 16. To convert a number from hexadecimal to decimal form:

**Step 1:**Write the decimal equivalent of each digit of the number in hexadecimal form (from the above table)**Step 2:**Multiply the digits from right to left with exponents of 16^{0}, 16^{1}, 16^{2}, ... in order starting from the right most digit.**Step 3:**Then add all the products. The resultant sum is the number in the decimal system.

The hexadecimal digit is expanded to multiply each digit with the power of 16. The power starts at 0 from the right moving forward towards the right with the increase in power. For the conversion to complete, the multiplied numbers are added.

Decimal Number = d_{n-1} × 16^{r-1}+....+ d_{2} × 16^{2} + d_{1} × 16^{1} + d_{0} × 16^{0}.

Where,

- n = the number of digits.
- r = placement of the digit (from the right side starting from r = 0)

Let us look at an example to understand this better.

For example: Convert hexadecimal number (25)_{16} to its decimal form.

(25)_{16} = 2 × 16^{1} + 5 × 16^{0}

= 2 × 16 + 5 × 1

= 32 + 5

= 37

Therefore, (25)_{16} = (37)_{10}.

**☛Also Check:** Hexadecimal to Decimal Converter

## Hexadecimal to Decimal Formula

Hexadecimal to decimal formula conversion uses the following method:

- The base of the number to be converted here is 16.
- Multiply each digit of the given number, starting from the rightmost digit, with the exponents of the base 16.
- The exponents should start with 0 and increase by 1 every time as we move from right to left.
- We just simplify each of the products and add them.

The hex to decimal conversion formula is given as:

d_{n-1} … d_{1} d_{0} (hex) = d_{n-1} × 16^{n-1} + … + d_{1} × 16^{1} + d_{0} × 16^{0} (decimal)

**☛Related Topics**:

- Hexadecimal to Binary
- Decimal to Octal
- Octal to Decimal
- Decimal to Hexadecimal
- Binary to Hexadecimal

## FAQs on Hexadecimal to Decimal

### What is Meant by Hexadecimal to Decimal?

**Hexadecimal to decimal conversion** is done by keeping the base numbers of both number systems in mind. While converting hexadecimal to decimal, the base number 16 is used. The hexadecimal number system uses 16 digits/alphabets: The digits 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 and the characters A, B, C, D, E, F (which represent the decimal numbers from 10-15) thus having base 16. The decimal number system uses ten digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9, and thus has base 10.

### Where to Find Hex to Decimal Converter?

Cuemath's hex to decimal converter converts any number given in the hexadecimal system into decimal system just with one click. Give it a try by clicking here.

### How to Convert Hex to Decimal?

Converting hexadecimal to decimal is done by using the base number 16. The steps are as follows:

- Obtain the decimal equivalent of the hexadecimal characters by referring to the conversion table.
- Expand the digits to multiply each digit with the power of 16 that starts 0 from the right to left and increase the power by 1 each time as you move on to the left.
- After the process of multiplication is completed, find the sum.
- The final answer is the decimal number.

### What is the Hexadecimal to Decimal Formula?

The conversion formula for hexadecimal to decimal is:

d_{n-1} … d_{3} d_{2} d_{1} d_{0} (hexadecimal number) = d_{n-1} × 16^{n-1}+ … + d_{3} × 16^{3} + d_{2} × 16^{2} + d_{1} × 16^{1} + d_{0} × 16^{0} (decimal number).

### How to Use the Hexadecimal to Decimal Formula?

The hexadecimal to decimal formula helps in converting a number given in base 16 to base 10. To use this formula:

- Change the characters to digits by using the conversion table if necessary.
- Then multiply the digits by the exponents of 16, i.e., 16
^{0}, 16^{1}, 16^{2}, 16^{3}, ... by starting with the rightmost digit in order. - Add all the products and sum gives the decimal equivalent of the given hexadecimal number.

### What are the Four Types of Number Systems?

In mathematics, there are four types of number systems, they are:

- Binary number system - The base number is 2
- Octal number system - The base number is 8
- Decimal number system - The base number is 10
- Hexadecimal number system - The base number is 16