Have to deal with several conversions between Decimal and Hex (hexadecimal) numeral systems? Then this site is made for you! Use our super handy online tool to convert your data.Welcome!

Decimal to Hex converter

Please wait until the conversion process completes.
Error!{{ error }}

How to convert Decimal to Hex

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.

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.

Follow these steps to convert a decimal number into hexadecimal form:
  1. Divide the decimal number by 16.
  2. Get the integer quotient for the next iteration (if the number will not divide equally by 16, then round down the result to the nearest whole number).
  3. Keep a note of the remainder, it should be between 0 and 15.
  4. Repeat the steps until the quotient is equal to 0.
  5. Write out all the remainders, from bottom to top.
  6. Convert any remainders bigger than 9 into hex letters. This is the solution.
For example if the given decimal number is 37321:
37321 / 1623329
2332 / 1614512 (C)
145 / 1691
9 / 1609
Then the hexadecimal solution is: 91C9
Switch to mobile version