Easy to use **Hexadecimal-to-Decimal converter** for *accurate and fast hex-to-decimal conversion.* We use the algorithm trusted by millions.

## What is a hexadecimal?

**Hexadecimal refers to the base-16 number system**, that represents numbers using a radix (base) of 16. The numerals 0–9 are used to represent their usual values and the letters A–F (or a–f) represent the values 10–15. For example, the decimal number 13 is represented as D (or d) in the hexadecimal numbering system.

*Hexadecimal numerals are widely used by computer system designers and programmer*s as it can represent every byte (8 bits) as two consecutive hexadecimal digits. In this way **hexadecimal numerals provide a human-friendly representation of binary-coded values.**

## How to convert hexadecimal to decimal (or hex to dec)?

One of the most well-know formula for converting a hexadecimal number to decimal is the “Division-remainder in source base” algorithm. ^{[1]}https://en.wikipedia.org/wiki/Hexadecimal#Conversion This is a simple algorithm for converting a representation of a number to hexadecimal by doing integer division and remainder operations in the source base. In theory, this is possible from any base, but for most humans only decimal and for most computers only binary can be easily handled with this method.

Let d be the number to represent in hexadecimal, and the series h_{i}h_{i−1}…h_{2}h_{1} be the hexadecimal digits representing the number.

- i ← 1
- h
_{i}← d mod 16 - d ← (d − h
_{i}) / 16 - If d = 0 (return series h
_{i}) else increment i and go to step 2

“16” may be replaced with any other base that may be desired.

## More Numeral Converters

- Binary to Decimal Converter
- Binary to Hex Converter
- Decimal to Binary Converter
- Decimal to Hex Converter
- Hex to Binary Converter
- Hex to Decimal Converter
- Roman Arabic Numbers Converter

References

↑1 | https://en.wikipedia.org/wiki/Hexadecimal#Conversion |