Find the hexadecimal (hex) equivalent of the decimal number.

For example: 300, 700

Decimal is a standard numeral system. It consists of 10 symbols (base 10): 0,1,2,3,4,5,6,7,8,9.

## #How do you convert from decimal to hexadecimal?

Here, a few simple steps are given to convert a decimal number into a hexadecimal number.

• First, Divide the specified decimal number by 16.
• Note down the value of remainder obtained.
• Again, divide the result obtained by 16.
• Continue repeating steps 2 and 3 until the result is 0.
• The hexadecimal number equals to the digit sequence of the remainders from bottom to top (MSD to LSD)

Note: The division must be treated as an integer division.

### Example: 16 decimal to hexadecimal

Division Result Remainder
16/16 1 0
1/16 0 1

## #Decimal to hex conversion table

Decimal (base 10)

Hex (base 16)

• 1

1

• 2

2

• 3

3

• 4

4

• 5

5

• 6

6

• 7

7

• 8

8

• 9

9

• 10

A

• 20

14

• 40

28

• 60

3C

• 80

50

• 100

64

• 200

C8

• 300

12C

• 400

190

• 500

1F4

• 3E8

• FA0

• 1770

• 1F40

• 2710

• C350