Decimal to Hexadecimal Conversion Solved Examples

Example 1: Convert 20 in decimal to hexadecimal

Solution:

We know that to convert a number from decimal to hexadecimal we need to divide the number by 16 and then successively divide the quotient by 16 until quotient is zero

20 ÷ 16 gives Q1 = 1, R1 = 4

1 ÷ 16 gives Q2 = 0, R2 = 1

Hence, 20 in decimal is equal to 14 in hexadecimal

Example 2: Convert (678)10 to Hexadecimal

Solution:

678 ÷ 16 gives Q1 = 42, R1 = 6

42 ÷ 16 gives Q2 = 2, R2 = 10 = A

2 ÷ 16 gives Q3 = 0, R3 = 2

Hence, (678)10 = 2A6 in Hexadecimal

Example 3: Convert (1429)10 into Hexadecimal

Solution:

1429 ÷ 16 gives Q1 = 89 and R1 = 5

89 ÷ 16 gives Q2 = 5 and R2 = 9

5 ÷ 16 gives Q3 = 0 and R3 = 5

Hence (1429)10 = 595 in Hexadecimal

Example 4: Convert 0.125 in Hexadcimal

Solution:

To convert a fractional number we multiply the fractional part by 16 and then again multiply the fractional part of the product by 16 till the number becomes zero and then write the result from the first product and not from the last as we do normally.

0.125 ⨯ 16 = 2.0

0 ⨯ 16 = 0

Hence, (.125)10 = 0.2

Decimal to Hexadecimal Converter

Decimal to Hexadecimal Calculator is a free online tool prepared by GeekforGeeks that converts the given value of the decimal number into the value of the hexadecimal number. It is a fast and easy-to-use tool that helps students solve various problems.

Table of Content

  • How to use Decimal to Hexadecimal Calculator?
  • What is Decimal to Hexadecimal Conversion?
  • Convert Decimal to Hexadecimal
  • Decimal to Hexadecimal Table
  • Decimal to Hexadecimal Conversion Solved Examples
  • Practice Questions
  • FAQs

Similar Reads

How to use Decimal to Hexadecimal Calculator?

...

What is Decimal to Hexadecimal Conversion?

We can easily use the decimal to hexadecimal converter by following the steps discussed below,...

Convert Decimal to Hexadecimal

Decimal to hexadecimal conversion is the process of converting a decimal number to a hexadecimal number. The decimal numeral system has a base value of 10 (0 to 9) and the hexadecimal has a base value of 16 (0 to 9 and A to F for 10-15)....

Decimal to Hexadecimal Table

Converting decimal to hexadecimal is simple using a conversion table. Memorize the table for easy conversion of numbers 1 to 15. To convert larger numbers, divide by 16 and use the remainder as the hexadecimal digit. Check the table for values 0 to 15 for reference....

Decimal to Hexadecimal Conversion Solved Examples

The following table shows the representation of Hexadecimal, decimal and binary values:...

Practice Questions on Decimal to Hexadecimal Conversion

Example 1: Convert 20 in decimal to hexadecimal...

FAQs on Decimal to Hexadecimal Conversion

Q1: 234...

Contact Us