Decimal To Hex

Enter decimal number:
Hex number:
Hex signed 2's complement:
Binary number:

To use this decimal to hex converter tool, enter a decimal value like into the decimal number field above and then click on the Convert button.
Hence, 19 decimal characters (max. value of 9223372036854775807) can be converted into hex.

Use the RESET button to clear the calculator.

SWAP button will help you to switch between Decimal to Hex and Hex to Decimal.

Conversion steps:
1. Divide the decimal number by 16.
2. Obtain the integer quotient for the next iteration.
3. Obtain the remainder for the hex digit.
4. Repeat the steps until the quotient is equal to 0.

Decimal System
The decimal number system also is known as the Base 10 numbering system because it is based on 10 ranging symbols: 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9. In the decimal system, every digit holds its own position along with the decimal point. I.e. the number 326.34 has 4 in the Hundredths position, 3 in the Tenths position, 6 in the Units position, 2 in the Tens position, and 3 in the Hundreds position.

The decimal number system is also one of the ancient numeral systems, whose roots are in the Hindu-Arabic numeral system.

Hex System
Hex or hexadecimal is a number system with base 16. This number system is especially interesting because in decimal number system we have only 10 digits to present the numbers. As the hex system has 16 digits, the first 6 letters of English alphabet used to represent extra 6 digits. So, hex digits are 0,1,2,3,4,5,6,7,8 and 9 A, B, C, D, E, F.

Decimal to Hex Conversion

Decimal numberHex numberBinary number