WordGPT

31 in binary

31 in binary is 11111. In hexadecimal it is 1F and in octal 37.

31 in binary

Pick any whole number from 1 to 10,000.

How to work it out

  1. 1

    Divide 31 by 2 again and again, writing down the remainder each time, until you reach 0.

  2. 2

    Read the remainders from the bottom up: 11111.

    3110=11111231_{10} = 11111_{2}
  3. 3

    Check by adding powers of 2: 16 + 8 + 4 + 2 + 1 = 31.

LaTeX source of the formulas on this page
\[ 31_{10} = 11111_{2} \]

Dividing 31 by 2

NumberDivisionRemainder
3131 ÷ 2 = 151
1515 ÷ 2 = 71
77 ÷ 2 = 31
33 ÷ 2 = 11
11 ÷ 2 = 01

Questions

What is 31 in binary?

11111.

What is 31 in hexadecimal?

1F.

What is 31 in octal?

37.

How many bits does 31 need?

5 bits.

Nearby numbers

More about 31

    31 in binary: 11111 (also hex and octal) | WordGPT