Decimal To Hex Converter

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 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.

For example:


Decimal System

Decimal number system also known as Base 10 numbering system because it is based on 10 ranging symbols: 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9. In 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.

Decimal number system is also one of the ancient numeral system, whose roots are in 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 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.