Decimal To Hexadecimal Converter
10
16
Converting Steps of Decimal to Hexadecimal:
How to convert a decimal number to the hexadecimal number?
Converting decimal to hexadecimal is also super easy. As we are converting decimal to hexadecimal, we have to divide the integer part by 16 and every times we need to take the remainder in reverse order. You must remember if it has a fractional part, we have to multiply by 16 and take only integer part serially until fractional part become 0. An example given below how to convert a fractional decimal number to hexadecimal number:
Example of decimal to hexadecimal conversion:
(398.375)10 = (?)16
For 398:
Divided by 16 | Quotient | Remainder | Flow |
---|---|---|---|
398 / 16 | 24 | 14 or E | ↑ |
24 / 16 | 1 | 8 | ↑ |
1 / 16 | 0 | 1 | ↑ |
For .376:
Multiply by 16 | Result | Non-Fractional Part | Flow |
---|---|---|---|
.376 * 16 | 6.00 | 6 | ↓ |
Result is = (18E.6)16
Decimal to binary conversion table:
Decimal | Hexadecimal |
---|---|
0 | 0 |
1 | 1 |
2 | 2 |
3 | 3 |
4 | 4 |
5 | 5 |
6 | 6 |
7 | 7 |
8 | 8 |
9 | 9 |
10 | A |
11 | B |
12 | C |
13 | D |
14 | E |
15 | F |
16 | 10 |
17 | 11 |
18 | 12 |
19 | 13 |
20 | 14 |