What is Decimal?

Decimal is our everyday number system. It uses ten digits 0 to 9.

What is Hexadecimal?

Hexadecimal (hex) is a base-16 number system. It uses 16 symbols 0-9 and A-F (A=10, B=11, C=12, D=13, E=14, F=15).

How to Convert Decimal to Hexadecimal

  1. Divide the decimal number by 16
  2. Note the remainder (0-15)
  3. Divide the result by 16 again
  4. Repeat until the result is 0
  5. Read the remainders from bottom to top, using A-F for 10-15

This Is How To Convert 2748 to Hex

Division Result Remainder Hex Digit
2748 ÷ 16 = 17117112C
171 ÷ 16 = 101011B
10 ÷ 16 = 0010A

Reading from bottom to top 2748 in decimal = ABC in hexadecimal

Another Example: 3855 to Hex

3855 ÷ 16 = 240 remainder 15 (F)
240 ÷ 16 = 15 remainder 0
15 ÷ 16 = 0 remainder 15 (F)

Reading from bottom to top: 3855 in decimal = F0F in hexadecimal

Conversion Table

Decimal Hexadecimal Binary
000000
110001
220010
330011
440100
550101
660110
770111
881000
991001
10A1010
11B1011
12C1100
13D1101
14E1110
15F1111