What is a Decimal System?

There are two main systems used in daily life: the decimal and the binary systems. The decimal and the binary systems. Decimal and binary. Both systems work from a base of 10 (radix). As such, it has ten symbols: 0 to 9. These are 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9. Understanding Binary Numbers.

What is a Hexadecimal System (Hex System)?

The hexadecimal system (shortly hex) uses 16 as its base (radix). 16 symbols are used to represent the base-16 numeral system. It consists of the first six letters of the English alphabet (A, B, C, D, E, F) and the first ten decimal digits (0, 1, 2, 3, 4, 5, 6, 7, 8, 9). Because of the need to represent each of the values 10, 11, 12, 13, 14 and 15 in one single symbol, the letters are used.

Hex is a more user-friendly method of representing binary numbers in mathematics and information technology. The hex digit represents four binary digits, which is why hex is a language to write binary in an abbreviated form.

Half a byte is made up of four binary digits (also called nibbles). Hence, one byte can carry binary values between 0000 0000 and 1111 1111. These can be represented in hex, ranging from 00 to FF, in a more friendly manner.

The hexadecimal representation of colors in HTML is FFFFFF for white, and 000000 for black.

How to Convert Decimal Numbers to Hexadecimal Numbers?

By using the repeated division and remainder algorithm, a decimal to hexadecimal conversion can be achieved. To simplify, a decimal number is repeatedly divided by the radix 16. After the division, the remainders are in reverse order of the hex equivalent.

The easiest method is to use our Decimal to Hexadecimal converter tool. To use this tool follow the steps below:

- First, enter the decimal number in the input box.
- Click on the Convert Button to start the conversion from decimal to a hexadecimal value.
- The tool will then give you the binary value and hexadecimal value of the given decimal number in the two display boxes respectively.
- In case you want to group the digits, you can select the Digit grouping checkbox.

Decimal base 10 |
Hex base 16 |
---|---|

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 |

21 | 15 |

22 | 16 |

23 | 17 |

24 | 18 |

25 | 19 |

26 | 1A |

27 | 1B |

28 | 1C |

29 | 1D |

30 | 1E |

40 | 28 |

50 | 32 |

60 | 3C |

70 | 46 |

80 | 50 |

90 | 5A |

100 | 64 |

200 | C8 |

1000 | 3E8 |

2000 | 7D0 |

Related Conversion Tools