31 in Binary
31=
111115-bit
The decimal number 31 in binary is 11111.
All number bases
Decimal31Base 10
Binary11111Base 2
Hexadecimal1FBase 16
Octal37Base 8
How to convert decimal to binary
To convert 31 to binary, repeatedly divide by 2 and record the remainders from bottom to top. 31 = 11111₂ (5-bit binary number). In hexadecimal: 1F. In octal: 37.
Convert any decimal number
Loading tool...