DECIMAL TO HEX

Decimal to hex converter is a web-based online utility that allows you to convert decimal to hexadecimal values within a few clicks. Enter your decimal values in the text area and click "Convert to Hex" to get an instant conversion.

Put your Decimal here
Reset text image Sample Text
See your Hex here
Copy to Clipboard Download file
Swap links
Star Rating
How do you rate your overall experience?
Good

HOW TO USE DECIMAL TO HEXADECIMAL CONVERTER?

Follow the below steps to use our online decimal to hex converter.

  1. Type or paste the decimal values in the left side box.
  2. Press the “Convert to Hex” button for conversion.
  3. Your entered decimals will be converted into hex values, and the results will be displayed on your device screen immediately.
  4. You can simply copy the results or download the file by clicking “Download”.

BENEFITS OF USING DECIMAL TO HEX CONVERTER

The benefits of using an online decimal to hexadecimal converter are as follows:

No Registration:

You don’t have to sign up to use the decimal to hex converter. It’s a free tool for everyone who wants to convert decimal to hex values online.

Unlimited Conversions:

The main advantage of using an online dec to hex converter is that you can perform unlimited conversions. No matter how many decimal values you want to convert to hexadecimal, the utility won't limit you.

Swapping:

The decimal to hexadecimal converter also provides a swap option for swapping the conversion. By clicking the “Swap” button, you can convert your values from hex to decimal within a few seconds.

Compatibility:

The decimal to hex converter is a web-based utility that doesn’t require the installation of any software or plugin. You can access the utility from any device with a good internet connection.

HOW TO CONVERT DECIMAL TO HEX MANUALLY?

The manual method of converting decimal to hex can consume ample time. You must have exceptional mathematical skills to accomplish this task. After completing the process, you might end up with inaccurate results. Here, we will discuss the complete manual process of decimal to hexadecimal conversion. Let’s look at the steps you’ll have to follow for executing decimal to hex conversion manually.

  1. Start dividing the decimal number with 16.
  2. As the integer is divided, you must put the remainder value next to it and treat it as a hexadecimal value.
  3. The remainders will remain the same from 0 to 9, as all the 10 digits are similar in hex and decimal. However, if the remainder is 10, 11, 12, 13, 14, or 15, you should put the right hex symbol, i.e., A, B, C, D, E, or F, respectively.
  4. Divide until the result reaches 0.
  5. Write the remainder values from bottom to top. This will be the hexadecimal value for the decimal number.

Example 1:

Convert the number 1054 into hexadecimal.

Action Division Result Remainder (in hexadecimal)

Start the process by dividing the numbers by 16.

(1054/16)

1054 divided by 16 is 65. Mention in the Result column.

The remainder is 8.

Insert it on the Remainder column.

1054/16 65 14

Now, divide 65 by 16.

(65/16)

You will get 4 after dividing 65 by 16. Add it in the Result column and mention 1 in the remainder column.

65/16 4 1

Again, divide 4 by 16. You will get 0 as a result and 1 as a remainder. Record these values in their respective columns

4/16 0 4

So, the answer you will get will be 41E by combining the remainders from bottom to top.

41E

Example 2:

Convert the number 189 decimal to hex number.

Division Quotient Remainder (in Hex)
189 / 16 11 13
11 / 16 0 11
Answer 0BD

Hence, the answer of converting 189 into Hex is (BD)16.

Example 3:

Convert the number 828 decimal to hex.

Division Quotient Remainder (in Hex)
(828)/16 51 12
(51)/16 3 3
(3)/16 0 3
Answer 33C

Hence, the answer of converting 828 into Hex is (33C)16.

Example 4:

Convert the number 200 into hexadecimal.

Division Quotient Remainder (in Hex)
200 / 16 12 8
12 / 16 0 12
Answer C8

Hence, the answer of converting 200 into Hex is (C8)16.

DECIMAL TO HEX CONVERSION TABLE

The following decimal to hexadecimal table will help you understand the values of both decimal and hexadecimal number systems.

Decimal (Base 10) Hexadecimal (Base 16)
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
16 10
17 11
18 12
19 13
20 14
21 15
22 16
23 17
24 18
25 19
26 1A
27 1B
28 1C
29 1D
30 1E
40 28
50 32
60 3C
70 46
80 50
90 5A
100 64
200 C8
1000 3E8
2000 7D0

CONVERT DECIMAL TO HEXADECIMAL USING A DECIMAL POINT

The first step of converting fraction to hexadecimal is to translate the integer part and multiply the decimal part by 16. We need to repeat this step and multiply the fraction part by 16 until it becomes 0. Mention the integer part of all these products after each step. The result will be in the hexadecimal number of a given fractional number.

The following example will help you understand the method appropriately.

Example:

Convert the fractional decimal number 20. 765625 into a hexadecimal number.

Solution: To solve this problem, we will first process the integer part and then the fractional part.

  1. First, let’s solve the integer part. Once we divide 20 by 16, we’ll get the quotient as 1 and the remainder as 4.
  2. Then, when we will divide 1 by 16, we’ll get the quotient as 0 and the remainder as 1.
  3. Finally, we combine the remainders from bottom to top which makes it 14. This number will be written as the integer part of the hexadecimal value.
  4. After this, we will solve the fractional part, which is 0. 765625
  5. We need to multiply 0.765625 by 16, which will give 0. 765625 × 16 = 12.25, in which we have the integer part 12. The number 12 is expressed with C in the hexadecimal number system.
  6. Now, we will multiply the fractional part 0.25 by 16 again. After multiplying the fractional part 0.25 by 16, we get 0.25 × 16 =4
  7. Now, we combine both the integer and the fractional part, and get the answer i.e 14.C4. Therefore 20.765625 is equal to 14.C4 in the hexadecimal number system.

DECIMAL VS HEXADECIMAL NUMBER SYSTEM

Decimal Number System

Decimal is a human-understandable number system known as the base 10 number system. The number system consists of 10 values from 0 to 9 and denotes integer and non-integer numbers. The decimal number system isn’t sufficient for encoding advanced computer programs and digital devices.

Hexadecimal Number System

Hexadecimal or base-16 number system is considered human-friendly for representing binary-coded values. The hexadecimal number system consists of 16 distinct symbols in which the first 10 values are represented, similar to the decimal number system and the next six values are represented by alphabets “A” to “F.”