## Hexadecimal Number

Hexadecimal number system uses 16 different symbols to represent a numeric value. It uses numbers 0 to 9 and alphabets A to F for representation. . The place value of each digits of an hexadecimal number varies as the whole number powers of 16 starting from the right (Least Significant Digit). The first single digit number in hexadecimal system is 0 and the last is F. Similarly, the first two digit hexadecimal number is 10 and the last is FF and so on. It is used as an alternative for binary numbers by developers and programmers.

## Decimal Number

Whole number, a decimal point and a fractional value combines to form a decimal number. The decimal point separates the whole number part from the fractional part of the number. Each digit of a decimal number can be any number from 0 to 9. Any value less than 1 is written to the right of decimal point. Decimal numbers are also known as base-10 number or counting numbers. Place value of decimal number varies as the whole number powers of 10 starting from the left of decimal point. Similarly, the place value of digits left to decimal point varies as the division of power of tens.

## Steps to convert Hexadecimal to decimal

### Step 1:

To convert hexadecimal number to a decimal number, first of all, we have to list down each digit one below the other starting from the left.

### Step 2:

Count the digit from the top to bottom. The count must start from 0.

### Step 3:

Multiply each digit by 16 to the power of its position count.

### Step 4:

Add all the values you calculated in the previous step. The sum gives the decimal value corresponding to the hexadecimal value.

**In-short:**

Hexadecimal number can be converted into decimal number using the following formula:

Decimal Number = (D_{n} X 16^{n} + …………… + D_{2} X 16^{2} + D_{1} X 16^{1} + D_{0} X 16^{0}).

## Use Hexadecimal to Decimal convertor

## Examples for hexadecimal to decimal conversion

### Example 1:

#### Convert 565_{16} to decimal

Decimal number = 5 X 16^{2} + 6 X 16^{1} + 5 X 16^{0}

= 5 X 256 + 6 X 16 + 5 =384 + 48 + 5 = 1392_{10}

#### Example 2:

#### Convert FF_{16} to decimal

Decimal number = 15 X 16^{1} + 15 X 16^{0}

= 15 X 16 + 15 X 1 = 448 + 56 + 7 = 255_{10}

## Hexadecimal to Decimal conversion table

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 |

10 | 16 |