Hex to decimal converter
To convert a hexadecimal number to a decimal number, you can use the following steps:
- Write down the hexadecimal number.
- Assign each hexadecimal digit to its corresponding decimal value (0-9, A-F).
- Multiply each digit by 16 raised to the power of its place value, starting from the rightmost digit.
- Add up all the products from step 3.
Here’s an example:
Convert the hexadecimal number 3D to decimal.
- Write down the hexadecimal number: 3D
- Assign each hexadecimal digit to its corresponding decimal value:
- 3 = 3
- D = 13
- Multiply each digit by 16 raised to the power of its place value:
- 3 * 16^1 = 48
- 13 * 16^0 = 13
- Add up all the products from step 3:
- 48 + 13 = 61
Therefore, the hexadecimal number 3D is equal to the decimal number 61.