Decimal to Hexadecimal Converter

Enter a Decimal Number

Hexadecimal number:

34

Decimal to Hexadecimal Conversion

(52)10 = (34)16

Please enter all the details correctly.

If you’re working with numbers in computer programming or digital electronics, you may come across the need to convert decimal numbers to hexadecimal.

Hexadecimal, or base 16, uses 16 digits instead of 10, which allows for a more compact representation of large numbers. In this guide, we’ll explain the steps to convert decimal to hexadecimal, provide examples, and include a conversion table for reference.

Steps to Convert from Decimal to Hexadecimal

To convert a decimal number to hexadecimal, follow these steps:

  1. Divide the decimal number by 16.
  2. Write down the integer quotient and the remainder.
  3. Convert the remainder to a hexadecimal digit (see conversion table below).
  4. Repeat steps 1-3 with the integer quotient until it is equal to 0.
  5. Write the hexadecimal digits in reverse order to get the final result.

 

Example #1: Convert 756210 to Hexadecimal

Division by 16:

 Division by 16Quotient (integer)Remainder (decimal)Remainder (hex)Digit #
17562/1647210A0
2472/1629881
329/16113D2
41/160113

Therefore, 756210 in decimal is equivalent to 1D8A16 in hexadecimal.

Example #2: Convert 3563110 to Hexadecimal

Division by 16:

 Division by 16QuotientRemainder (decimal)Remainder (hex)Digit #
135631/16222615F0
22226/16139221
3139/16811B2
48/160883

Therefore, 3563110 in decimal is equivalent to 8B2F16 in hexadecimal.

Decimal to Hexadecimal Conversion Table

To help with decimal to hexadecimal conversions, use this table as a reference:

Decimal (base 10)Hexadecimal (base 16)
10A
11B
12C
13D
14E
15F
1610
1711
1812
1913
2014
2115
2216
2317
2418
2519
261A
271B
281C
291D
301E
4028
5032
603C
7046
8050
905A
10064
200C8
10003E8
20007D0

Conclusion

Converting decimal to hexadecimal is a simple process that can be done by following a few easy steps. Remember to use the conversion table provided for reference and to double-check your results. With this knowledge, you’ll be able to work with hexadecimal numbers in various applications with ease.