Number Reference Lookup

What is 21 in Binary, Hex, and Octal?

The decimal number 21 converts to exactly 00010101 in base-2 binary, 15 in base-16 hexadecimal, and 25 in base-8 octal.

Conversion Table for 21

Decimal (Base 10) 21
Binary (Base 2)
Hexadecimal (Base 16) 0x15
Octal (Base 8) 25
ASCII Character Control / Non-printable

Explore Other Popular Converters