21 Decimal to Hexadecimal

21 decimal = 15 hexadecimal

21 written in hexadecimal is 15.

21 decimal = 15 hexadecimal

How to convert 21 to hexadecimal

Decimal to hexadecimal

Divide by 16 repeatedly and keep the remainders. Reading the remainders from the last one to the first gives the hexadecimal digits:

DivisionQuotientRemainder (digit)
21 ÷ 1615
1 ÷ 1601

Result: 21 = 15 in hexadecimal.

About the number 21

  • 21 is an odd number.
  • 21 is not a prime number.
  • Written in binary it needs 5 bits, so it fits in one byte.

Reverse conversion

Frequently asked questions

What is 21 in hexadecimal?

21 in decimal is 15 in hexadecimal.