Binary Code

011111 = 31

Binary011111
Decimal31
Hexadecimal1F
Bits6
As Equation16 + 8 + 4 + 2 + 1