1. Home
  2. Number System Conversion
  3. Decimal to Hexadecimal convertor with solution

Step By Step Decimal To Hexadecimal Converter

Convert Decimal to Hexadecimal number

Steps to convert Decimal number to Hexadecimal

There are some shortcut method for decimal to hexadecimal number conversion, here we are using weighted/power method. The need of this conversion is to reduce the no of digits in the resultant number. As here in hexadecimal number system 10 is equivalent to A that is only single character. Same for other numbers up to 15 practice is used in hexadecimal from A to F. Here Hexa means 6 and decimal is 10. So that there are 16 total digital with from 0 to 15.

Hexadecimal numbers are good and suitable alternative in multiple situations where a large decimal numbers are difficult to represent quantities. It's major implementation is in memory management and color codes naming. Each color code can be represented with the conjunction of THREE hexadecimal numbers that subsequently represent red,green and blue color.

To convert the provided decimal number into hexadecimal we have to follow these simple steps.

  1. In the start we are required a valid decimal number, In that case this will not more than one million.
  2. After validation the number we will start dividing the provided number by base 16.
  3. This process will reduce the given number after each iteration.
  4. The purpose of these all division is to collect remainders
  5. Each remainder of the division if more that 9 it will be replaced by the corresponding hexadecimal digit from the decimal to hexadecimal table.
  6. In last step all the remainder are collected and written after combination as result.
  7. The last remainder of the division is called MSB (Most Significant Bit) and the first one is called LSB (Least Significant Bit).


decimal to hexadecimal step by step
How to convert Decimal to Hexadecimal number

Fractional Decimal to Hexadecimal

As of decimal there is also a way for conversion of these numbers into other number system. Here we will convert fractional numbers into hexadecimal numbers. For this purpose each part means integer and fractional will be converted independently.

Decimal to Hexadecimal Questions

Some examples are here to understand conversion from decimal to hexadecimal

  • Convert 678.723 into hexadecimal number.
  • Write down steps for conversion of 78.97 into hexadecimal.
  • What is the equivalent hexadecimal number of decimal 108.109?
  • How to convert 440.30 into hexadecimal?
  • Find hexadecimal equivalent of 23.066.
  • Show steps of decimal numbers conversion.
  • Write process of hexadecimal to decimal conversion.

Dec To Hexa Counting

Decimal Hexadecimal
0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
10 A
11 B
12 C
13 D
14 E
15 F