T
ToolPrime

31 in Binary = 11111

Binary Representation

11111

Decimal 31 = 11111 (binary)

31 in All Number Bases

Decimal
31
Binary
11111
Octal
37
Hexadecimal
1F

How to Convert 31 to Binary

  1. Divide 31 by 2, record the remainder
  2. Continue dividing the quotient by 2
  3. Read the remainders from bottom to top
  4. Result: 11111

Try the Number Base Converter

Conversions

Binary (2)
0b11111
Octal (8)
0o37
Decimal (10)
31
Hexadecimal (16)
0x1F
Binary Bits
0
0
0
1
1
1
1
1
Common number base conversions
DecimalBinaryOctalHex
0000
1111
81000108
10101012A
16100002010
321000004020
64100000010040
12711111111777F
1281000000020080
25511111111377FF

Related Conversions