Hex to Decimal Converter
This tool will help you to convert hexadecimal values to decimal values.
Hex
Decimal DownloadCopyCopied
What is Hexadecimal
Hexadecimal numerals are widely used by computer system designers and programmers, as they provide a more human-friendly representation of binary-coded values. Each hexadecimal digit represents four binary digits, also known as a nibble, which is half a byte. For example, a single byte can have values ranging from 0000 0000 to 1111 1111 in binary form, which can be more conveniently represented as 00 to FF in hexadecimal.
What is Decimal
A decimal numeral, or just decimal, or casually decimal number, refers generally to the notation of a number in the decimal numeral system. Decimals may sometimes be identified for containing a decimal separator (for example the "." in 10.00 or 3.14159). "Decimal" may also refer specifically to the digits after the decimal separator, such as in "3.14 is the approximation of π to two decimals".
Converting from Hex to Decimal
Hex | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | A | B | C | D | E | F |
To convert a hexadecimal to a decimal manually, you must start by multiplying the hex number by 16. Then, you raise it to a power of 0 and increase that power by 1 each time according to the hexadecimal number equivalent.
We start from the right of the hexadecimal number and go to the left when applying the powers. Each time you multiply a number by 16, the power of 16 increases.
Example #1
(C2)16 = 12x(16^1) + 2x(16^0)
(C2)16 = 192 + 2
(C2)16 = (194)10
Example #2
(F3D8)16 = 15×(16^3) + 3×(16^2) + 13×(16^1) + 8×(16^0)
(F3D8)16 = 61440 + 768 + 208 + 8
(F3D8)16 = (62424)10