Number Reference Lookup

What is 42 in Binary, Hex, and Octal?

The decimal number 42 converts to exactly 00101010 in base-2 binary, 2A in base-16 hexadecimal, and 52 in base-8 octal.

Conversion Table for 42

Decimal (Base 10) 42
Binary (Base 2)
Hexadecimal (Base 16) 0x2A
Octal (Base 8) 52
ASCII Character *

Explore Other Popular Converters