Number Reference Lookup

What is 2 in Binary, Hex, and Octal?

The decimal number 2 converts to exactly 00000010 in base-2 binary, 02 in base-16 hexadecimal, and 2 in base-8 octal.

Conversion Table for 2

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

Explore Other Popular Converters