Home Tuitions

Decimal to Hexadecimal

About Conversation of Decimal to Hexadecimal

The conversion system decimal to hexadecimal is widely used in computers and digital systems. The base of the decimal number system is ten. It only contains ten notations: 0-1, 2, 3, 4, 5, 6, 7, 8, and 9. The hexadecimal system, on the other hand, has a base of 16 since it has 16 notations: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 and A, B, C, D, E, F. In the hexadecimal number system, the double digits 10, 11, 12, 13, 14, 15 are represented by the characters A, B, C, D, E, and F. For more Maths formulas click on the main page.

Define Decimal to Hexadecimal Conversion

Decimal to hexadecimal conversion is the process of converting a decimal number with a base of 10 to a hexadecimal number with a base of 16. When converting a number from the decimal to the hexadecimal system, we must pay close attention to the base of the number. Divide the integer by 16 until the quotient equals zero.

Steps use in Conversion from Decimal to Hexadecimal

  1. Step 1: Note the leftover after multiplying the given decimal number system value by 16.
  2. Step 2: 16 divided by the quotient Rep till you achieve a quotient of zero.
  3. Step 3: Wherever possible, substitute the characters A, B, C, D, E, F for the numbers 10, 11, 12, 13, 14, 15 in the remainders.
  4. Step 4: To arrange all of the values of the remainder, use the reverse order pattern.
  5. Step 5: The hexadecimal number obtained is the desired one.

The Decimal to hexadecimal conversion formula of given numbers can be expressed as,

P10 = Q16

where P is a decimal number and Q is a hexadecimal number.

Solved example of Decimal to Hexadecimal conversion 

Example: Convert 5386 to a hexadecimal number.

Sol: We will use the following steps to convert 5386 to hexadecimal.

  1. Step 1: Note the leftover 10 after dividing 5386 by 16 to get 336 as the quotient.
  2. Step 2: Divide the previous step's quotient 336 by 16 to get 21 as the next quotient, and note the remainder 0.
  3. Step 3: Note the leftover 5 after dividing the quotient 21 by 16 to get the new quotient 1.
  4. Step 4: To get 0 as the new quotient, divide 1 by 16 and note the residual 1. We'll stop here because the quotient is zero.
  5. Step 5: Reverse the remainders and record the total number that results. Keep in mind that in the hexadecimal number system, 10 is expressed as A.
  6. Step 6: We get 150A by writing the remainders in reverse order. As a result, the hexadecimal number system converts 5386 to 150A. This can be expressed as (5386)10= (150A)16.

Download a free pdf of Decimal to Hexadecimal