How to convert Hex to Decimal
Hexadecimal is a positional system that represents numbers using a base of 16. Unlike the common way of representing numbers with ten symbols, it uses sixteen distinct symbols, most often the symbols "0"-"9" to represent values zero to nine, and "A"-"F" to represent values ten to fifteen. Hexadecimal numerals are widely used by computer system designers and programmers, as they provide a human-friendly representation of binary-coded values.The decimal numeral system is the standard system for denoting integer and non-integer numbers. It is the extension to non-integer numbers of the Hindu-Arabic numeral system. For writing numbers, the decimal system uses ten decimal digits, a decimal mark, and, for negative numbers, a minus sign "-". The decimal digits are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9; the decimal separator is the dot "." in many countries.
Formula
Follow these steps to convert a hexadecimal number into decimal form:
- Write the powers of 16 (1, 16, 256, 4096, 65536, and so on) beside the hex digits from bottom to top.
- Convert any letters (A to F) to their corresponding numerical form.
- Multiply each digit by it's power.
- Add up the answers. This is the solution.
Digit | Power | Multiplication |
---|---|---|
6 | 4096 | 24576 |
F (15) | 256 | 3840 |
C (12) | 16 | 192 |
7 | 1 | 7 |