Decimal To Hex Converter Calculator


Decimal (Base 10) :
Hexadecimal (Base 16) :

 

The Decimal to Hex Converter is an online tool that converts a Decimal number into its equivalent Hexadecimal number. CoolGyan’S Decimal to Hexadecimal Converter Calculator makes calculations very simple and interesting. We just have to mention the decimal number in the input field and the output will appear in a fraction of seconds.

How to Convert Decimal to Hex?

To convert decimal number to hexadecimal number, using calculator, follow the below steps:

Step 1: Enter the decimal number in the input field

Step 2: Click on the “Calculate Hex” button to get the result

Step 3: The converted value will appear in the output field

Decimal to Hexadecimal Conversion

A decimal number is the most common number system that is used in our regular life. The base of decimal number is 10. It include 0,1,2,3,4,5,6,7,8 and 9. For example, 1210 is a decimal number.

A hexadecimal number system uses 16 as its base. It is also called base-16 numeral system. This number system is commonly used in computer applications, in the form of binary numbers. Each hexadecimal digit expressed four binary digits. For example, 1216 is a hexadecimal number.

To convert decimal to hex, we need to check if the given number is less than 16 or greater than 16. If the given decimal number is less than 16 then the hexadecimal number will be the same as a decimal value. For example, 1510 = 1516

But if a decimal number is greater than 16 then we need to divide the number by 16 and write the remainder. Repeat the method till we get quotient equal to 0.

Examples

  1. 4010 = 2816
  2. 12010 = 7816
  3. 10010 = 6416
  4. 100910 = 3F116
  5. 1009110 = 276B16
  6. 22510 = E116
  7. 478910 = 12B516